-
Bug
-
Resolution: Unresolved
-
Major
-
4.19
During the update from 4.18.21 to 4.19.6, the machine-config operator fails with the following error message if one or more MachineSets contain more than the expected arch label in the capacity.cluster-autoscaler.kubernetes.io/labels annotation, e.g.:
apiVersion: machine.openshift.io/v1beta1 kind: MachineSet metadata: annotations: ... capacity.cluster-autoscaler.kubernetes.io/labels: kubernetes.io/arch=amd64,topology.ebs.csi.aws.com/zone=eu-central-1a
The error message:
Unable to apply 4.19.6: bootimage update failed: 6 Degraded MAPI MachineSets | 0 Degraded CAPI MachineSets | 0 CAPI MachineDeployments | Error(s): [error syncing MAPI MachineSet worker-app-b-0-arm: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=arm64,topology.kubernetes.io/zone=eu-central-1b,topology.ebs.csi.aws.com/zone=eu-central-1b , error syncing MAPI MachineSet worker-app-c-0-arm: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=arm64,topology.ebs.csi.aws.com/zone=eu-central-1c,topology.kubernetes.io/zone=eu-central-1c , error syncing MAPI MachineSet worker-batch-a-0: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=amd64,topology.ebs.csi.aws.com/zone=eu-central-1a , error syncing MAPI MachineSet worker-app-a-0: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=amd64,topology.ebs.csi.aws.com/zone=eu-central-1a , error syncing MAPI MachineSet worker-app-a-0-arm: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=arm64,topology.ebs.csi.aws.com/zone=eu-central-1a , error syncing MAPI MachineSet worker-app-b-0: failed to fetch arch during machineset sync: invalid architecture value found in annotation: kubernetes.io/arch=amd64,topology.ebs.csi.aws.com/zone=eu-central-1b ]
Looking at the code, it looks like we don't consider more than one label as value of the capacity.cluster-autoscaler.kubernetes.io/labels annotation: https://github.com/openshift/machine-config-operator/blob/e6cd1217fcccd61e840ac8e88276d873f83c1907/pkg/controller/machine-set-boot-image/ms_helpers.go#L252
- blocks
-
OCPBUGS-60224 Invalid architecture value found in annotation during 4.19 update
-
- Closed
-
- is blocked by
-
MCO-1834 Impact Invalid architecture value found in annotation during 4.19 update
-
- Closed
-
- is cloned by
-
OCPBUGS-60224 Invalid architecture value found in annotation during 4.19 update
-
- Closed
-
- links to