After a kubelet upgrade, when restarting the isolcpu_plugin,
the Puppet code needs to check that the isolcpu_plugin has
been explicitly masked and not disabled. A disabled setting
would indicate that the isolcpu_plugin should not run on that
particular node, unlike a masked isolcpu_plugin. This change
ensures that we differentiate between isolcpu_plugin being masked
vs disabled, which in the former we would want to start.
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/899494 /opendev. org/starlingx/ stx-puppet/ commit/ c361bb90981f517 a0338c3d5810196 749261834e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c361bb90981f517 a0338c3d5810196 749261834e
Author: Gleb Aronsky <email address hidden>
Date: Fri Oct 27 09:06:05 2023 -0700
Fix unmask service conditional for isolcpu_plugin
After a kubelet upgrade, when restarting the isolcpu_plugin,
the Puppet code needs to check that the isolcpu_plugin has
been explicitly masked and not disabled. A disabled setting
would indicate that the isolcpu_plugin should not run on that
particular node, unlike a masked isolcpu_plugin. This change
ensures that we differentiate between isolcpu_plugin being masked
vs disabled, which in the former we would want to start.
This commit corrects an erroneous update to line 952 /review. opendev. org/c/starlingx /stx-puppet/ +/894545/ 9..10
in commit https:/
Test Plan:
Pass: This code was tested was tested as part of Bug #2036985
but was not merged in it's entirety.
Closes-Bug: 2041686 804ec77a14a6515 ffe1da0d26a
Change-Id: I5192ac515be3e3
Signed-off-by: Gleb Aronsky <email address hidden>