-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-8.10
-
None
-
rhel-system-roles-sap-3.7.0-2.el8_10
-
No
-
Moderate
-
rhel-sst-sap
-
3
-
Dev ack
-
False
-
False
-
-
No
-
None
-
Release Note Not Required
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
What were you trying to do that didn't work?
Customer indicated that after a migration RHEL 7.9 -> 8.10 they received the following error
We are using to validate ansible-playbook sap-hana-check.yml after RHEL 8.10 migration and is failing with the following error:
TASK [sap_hana_preconfigure : Assert - Create a list of minimum required package versions to be installed] ***************************************************************************************
fatal: [localhost]: FAILED! => {"msg": "{{ lookup('vars', '_sap_hana_preconfigure_min_packages' + ansible_distribution_version | string | replace(\".\", \"\") + '' + ansible_architecture) }}: No variable found with this name: __sap_hana_preconfigure_min_packages_8_10_x86_64"}
From what I can tell, the string 'sap_hana_preconfigure_min_packages_8_10' does not appear until the 3.8.5-1 version of the package for RHEL 9
~~~
$ rg sap_hana_preconfigure_min_package |grep sap_hana_preconfigure_min_packages_8_10
rhel-system-roles-sap-3.8.5-1.el9.noarch/usr/share/ansible/collections/ansible_collections/redhat/sap_install/roles/sap_hana_preconfigure/vars/RedHat_8.yml:__sap_hana_preconfigure_min_packages_8_10_x86_64:
rhel-system-roles-sap-3.8.5-1.el9.noarch/usr/share/ansible/collections/ansible_collections/redhat/sap_install/roles/sap_hana_preconfigure/vars/RedHat_8.yml:__sap_hana_preconfigure_min_packages_8_10_ppc64le:
rhel-system-roles-sap-3.8.5-1.el9.noarch/usr/share/ansible/roles/sap_hana_preconfigure/vars/RedHat_8.yml:__sap_hana_preconfigure_min_packages_8_10_x86_64:
rhel-system-roles-sap-3.8.5-1.el9.noarch/usr/share/ansible/roles/sap_hana_preconfigure/vars/RedHat_8.yml:__sap_hana_preconfigure_min_packages_8_10_ppc64le:
~~~
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
rhel-system-roles-sap-3.7.0-1.el8_10.noarch
How reproducible is this bug?:
Steps to reproduce
Expected results
Actual results
- links to
-
RHBA-2025:147871 rhel-system-roles-sap update