Description of problem: The need arises when kernel arguments of the node has to be updated/modified. Update includes the 'host-config-and-reboot.yaml'. It is observed that 'HostParametersDeployment' is set only in case of create. more ~/generated-tripleo-heat-templates/extraconfig/pre_network/host_config_and_reboot.yaml HostParametersDeployment: type: OS::TripleO::Reboot::SoftwareDeployment condition: is_host_config_required properties: name: HostParametersDeployment server: {get_param: server} config: {get_resource: HostParametersConfig} actions: if: - deployment_actions_empty - [] - ['CREATE'] # Only do this on CREATE input_values: _KERNEL_ARGS_: {get_param: [RoleParameters, KernelArgs]} _TUNED_PROFILE_NAME_: {get_param: [RoleParameters, TunedProfileName]} _TUNED_CORES_: {get_param: [RoleParameters, IsolCpusList]} Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Update of kernel form heat template is not achieved. Expected results: Update of kernel arguments supported from Director heat templates and nodes are not rebooted automatically rather user has an option to manually reboot the node to avoid sudden restart of all the affected nodes. Additional info:
The patch [1] is merged in stable/train. a) With this patch the kernel args could be modified but would need manual reboot. For example, if the current deployment has KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=32 intel_iommu=on iommu=pt isolcpus=1-11,13-23" Its possible to change hugepages=64 or add/remove args. Possible changes KernelArgs: "default_hugepagesz=1GB hugepagesz=1G hugepages=64 intel_iommu=on iommu=pt isolcpus=1-24" KernelArgs: "isolcpus=1-11,13-23" b) Complete removal of KernelArgs is not supported. c) KernelArgs could be newly added as well to an existing overcloud node, however the reboot would be triggered in this case. [1] https://review.opendev.org/c/openstack/tripleo-ansible/+/775216
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:3483