Description of problem: Additional kernel arg included in ztp deploy image is not added to spoke cluster performance profile. Version-Release number of selected component (if applicable): 4.8.13 How reproducible: 100% Steps to Reproduce: 1. deploy 4.8 cluster using ztp workflow from cnf-features-deploy release-4.8 branch. 2. check kernel args Actual results: rcupdate.rcu_normal_after_boot=0 is not included in kernel args or performance profile on sno cluster Expected results: rcupdate.rcu_normal_after_boot=0 is added successfully Additional info: This issue does not happen when installing 4.9 from master branch of cnf-features-deploy.
Note that Marius found the ztp policy generator image has the additional kernel arg included but the generated policy does not have it. [kni@ran-vcl01-installer cnf_tests]$ podman run -it registry.ran-vcl01.ptp.lab.eng.bos.redhat.com:5000/ztp/ztp-site-generator:4.8 cat /usr/src/hook/ztp/source-crs/PerformanceProfile.yaml apiVersion: performance.openshift.io/v1 kind: PerformanceProfile metadata: name: $name spec: additionalKernelArgs: - "idle=poll" - "rcupdate.rcu_normal_after_boot=0" cpu: isolated: $isolated reserved: $reserved ... [kni@ran-vcl01-installer cnf_tests]$ oc get policies -n master-1 master-1-policies.master-1-perfprofile-policy -o yaml | grep -i " additionalKern" -A 3 additionalKernelArgs: - idle=poll cpu: isolated: 2-39,42-79
Can we check the parent policy as we ?
How do we do that? Following is from the hub cluster if that's what you mean? [kni@ran-vcl01-installer cnf_tests]$ oc get policies -n master-1 master-1-policies.master-1-perfprofile-policy -o yaml | grep -i " additionalKern" -A 3 additionalKernelArgs: - idle=poll cpu: isolated: 2-39,42-79
Assuming not a blocker for 4.9. Please look for blocker? BZs and make a blocker determination.
This is verified on ocp 4.8.13 with latest ztp container image (4.8.0-7).
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 (OpenShift Container Platform 4.8.26 bug fix update), 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/RHBA-2022:0021