Skip to content

feat: sap_hana_preconfigure allow disabling modification of command line boot args #1093

@GutiPerez

Description

@GutiPerez

Ansible Role

sap_hana_preconfigure

OS Family

All

Feature/Enhancement request

I believe after 1.7.0 release changes, specifically, the boot command line arguments checks added on #1083, there should a way to disable the modification of the arguments. I was expecting sap_hana_preconfigure_modify_grub_cmdline_linux variable to do so, but it is not.

Actually, I think it is counterproductive that all arguments are always set if not present. For instance, processor.max_cstate and intel_idle.max_cstat should not be set at all if we use sap-hana tuned profile (which the role does by default with sap_hana_preconfigure_use_tuned parameter). In our case, we have HPE hardware, and a mandatory HPE package for RHEL handles tsx and transparent_hugepages arguments.

Finally, a minor bug/unexpected situation. For the following task, included in v1.7.0, given that we need to run the playbook with become: true for the role to work, now I can not run the playbook from a user that can not become root, as this task is delegated to localhost. This could be easily fixed with a become: false on that specific task

Community participation

Unfortunately I am not in a position to help with the feature

Optional - Attempted solutions or manual steps

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions