Ansible Role
sap_hana_preconfigure
OS Family
RHEL
Ansible Controller - Python version
Python 3.13.5
Ansible-core version
ansible [core 2.18.6]
Bug Description
When running the role sap_hana_preconfigure with parameter sap_hana_preconfigure_modify_grub_cmdline_linux set to true, the entries processor.max_cstate=1 intel_idle.max_cstate=1 are added to kernelopts in /boot/grub2/grub.cfg and also but after a reboot, these two options are not active (=are not contained in /proc/cmdline).
This behavior is described in https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.3_release_notes/new-features#new-features-boot-loader.
Fix: Run grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline on RHEL systems of version 9.3 and later.
Bug reproduction
- Run the role
sap_hana_preconfigure with parameter sap_hana_preconfigure_modify_grub_cmdline_linux set to true.
- Reboot the managed node if not already done by the role.
- Log in to the managed node and run:
# cat /proc/cmdline
- Observe that the entries
processor.max_cstate=1 intel_idle.max_cstate=1 are not part of the output.
Community participation
Happy to implement this bug fix
Ansible Role
sap_hana_preconfigure
OS Family
RHEL
Ansible Controller - Python version
Python 3.13.5
Ansible-core version
ansible [core 2.18.6]
Bug Description
When running the role
sap_hana_preconfigurewith parametersap_hana_preconfigure_modify_grub_cmdline_linuxset totrue, the entriesprocessor.max_cstate=1 intel_idle.max_cstate=1are added tokerneloptsin/boot/grub2/grub.cfgand also but after a reboot, these two options are not active (=are not contained in/proc/cmdline).This behavior is described in https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/9.3_release_notes/new-features#new-features-boot-loader.
Fix: Run
grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdlineon RHEL systems of version 9.3 and later.Bug reproduction
sap_hana_preconfigurewith parametersap_hana_preconfigure_modify_grub_cmdline_linuxset totrue.# cat /proc/cmdlineprocessor.max_cstate=1 intel_idle.max_cstate=1are not part of the output.Community participation
Happy to implement this bug fix