-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.18.z
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When we apply MC which contains os extension after OCL is enabled, the changes are unable to detect. So for MC with wrong extension the node should be degraded but are not.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Enable OCL
2. Apply below MC
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: change-workers-extension-usbguard
spec:
config:
ignition:
version: 3.2.0
extensions:
- usbguard
- zsh
3. The nodes should degraded
Actual results:
All nodes are updated without degrade or node does not contain the applied extension for correct MC applied.
Expected results:
Node should be degraded with error message: 'Node ip-10-0-31-7.us-east-2.compute.internal is reporting: "invalid extensions found: [zsh]"' reason: 1 nodes are reporting degraded status on sync
Additional info: