-
Bug
-
Resolution: Done
-
Blocker
-
compliance-operator-1.8.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
After applying the autoremediation the rule rhcos4-sysctl-net-core-bpf-jit-harden goes into ERROR state on 4.20 cluster with the CO 1.8.0 installed:
$ oc get cr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden NotApplied rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden NotApplied $ oc get ccr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden FAIL medium rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden FAIL medium $ for i in `oc get cr -o=jsonpath={.items[*].metadata.name}`; do oc patch complianceremediations/$i --patch '{"spec": {"apply": true}}' --type=merge ; done ... complianceremediation.compliance.openshift.io/rhcos4-e8-master-sysctl-net-core-bpf-jit-harden patched complianceremediation.compliance.openshift.io/rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden patched ... $ oc get cr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden Applied rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden Applied $ oc get ccr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden ERROR medium rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden ERROR medium
Actual result:
$ oc get ccr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden ERROR medium rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden ERROR medium
Expected result:
$ oc get ccr |grep sysctl-net-core-bpf-jit-harden rhcos4-e8-master-sysctl-net-core-bpf-jit-harden PASS medium rhcos4-e8-worker-sysctl-net-core-bpf-jit-harden PASS medium