Nohz_full configuration hieradata needs to be updated
The grub commandline parameters contains nohz_full grub which needs
to be updated with something different than a cpu list for kernel
isolation when the user decides to disable it by assigning the
disable-nohz-full label. In this manner, the disabled string can be
used to signal the kernel to restore this configuration to default.
Closes-Bug: 1981762
Test plan:
PASS: Disable nohz_full configuration in a standard worker by enabling disable-nohz-full label.
PASS: Verify that /etc/default/grub doesn't contains nohz_full
parameter.
PASS: Verify that /sys/devices/system/cpu/nohz_full was restored to
default.
PASS: Enable nohz_full configuration in a standard worker by removing disable-nohz-full label.
PASS: Verify that /sys/devices/system/cpu/nohz_full has the cpulist.
PASS: Remove label and verify alarms and system overall health.
PASS: Add label and verify alarms and system overall health.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/849899 /opendev. org/starlingx/ config/ commit/ 705077ed56e7786 85fcada8598c3c5 d4592a38a3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 705077ed56e7786 85fcada8598c3c5 d4592a38a3
Author: Iago Estrela <email address hidden>
Date: Thu Jul 14 18:25:20 2022 -0300
Nohz_full configuration hieradata needs to be updated
The grub commandline parameters contains nohz_full grub which needs nohz-full label. In this manner, the disabled string can be
to be updated with something different than a cpu list for kernel
isolation when the user decides to disable it by assigning the
disable-
used to signal the kernel to restore this configuration to default.
Closes-Bug: 1981762
Test plan:
disable- nohz-full label. system/ cpu/nohz_ full was restored to
disable- nohz-full label. system/ cpu/nohz_ full has the cpulist.
PASS: Disable nohz_full configuration in a standard worker by enabling
PASS: Verify that /etc/default/grub doesn't contains nohz_full
parameter.
PASS: Verify that /sys/devices/
default.
PASS: Enable nohz_full configuration in a standard worker by removing
PASS: Verify that /sys/devices/
PASS: Remove label and verify alarms and system overall health.
PASS: Add label and verify alarms and system overall health.
Signed-off-by: Iago Estrela <email address hidden> 88b8e2fe7aeb390 0babe638ca0
Change-Id: I00b68faae26120