tripleo-heat-templates/deployment/kernel
David Vallee Delisle ae866ab47c Adding Hugepages role parameter
Hugepages management was always a manual step done by operators via the
TripleO parameter ``KernelArgs``. This is error prone and causing confusion.

The new ``Hugepages`` parameter allow operators to define hugepages as
dictionnary, making it easier to read and follow.

To prevent unvolontary changes, there's multiple validations before
applying a change:
- We convert the current running configurations to an actual dictionnary
  that we validate the new format against
- If no change is necessary, even though the format might not be the same,
  there's no kernel_args update.
- By default, we don't remove hugepages in places except when operators
  specifically set the ``ReconfigureHugepages`` to true.

This change is also opening the door to more automations and automatic
tuning.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=2043588
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/828776
Change-Id: I1e05a5ea17c858a86acc170cfb91288884664b05
2022-02-18 10:46:43 -05:00
..
kernel-baremetal-ansible.yaml Defining fs.aio-max-nr for hosts with libvirt service 2022-01-27 05:37:32 -05:00
kernel-boot-params-baremetal-ansible.yaml Adding Hugepages role parameter 2022-02-18 10:46:43 -05:00