-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.19
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
None
-
None
-
None
-
Rejected
-
CLOUD Sprint 271, CLOUD Sprint 272, CLOUD Sprint 273, CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277, CLOUD Sprint 278
-
8
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
After cluster installation, enable TechPreviewNoUpgrade, then manually create a capi machineset with wrong lable, lots of capi machines will be created.
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-05-06-051838
How reproducible:
Met one time
Steps to Reproduce:
1. enable TechPreviewNoUpgrade 2. manually create a capi machineset with wrong lable 3.
Actual results:
Lots of capi machines were created $ oc get machine -n openshift-cluster-api -o name | grep zhsunaws-qdzzt-worker1 | wc -l 395 $ cat capi-machineset.yaml apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineSet metadata: name: zhsunaws-qdzzt-worker1 namespace: openshift-cluster-api labels: cluster.x-k8s.io/cluster-name: zhsunaws-qdzzt spec: clusterName: zhsunaws-qdzzt replicas: 1 selector: matchLabels: #capilabel1: capilabel1 cluster.x-k8s.io/cluster-name: zhsunaws-qdzzt cluster.x-k8s.io/set-name: zhsunaws-qdzzt-worker-us-east-2cc template: metadata: #annotations: # anno1: anno1 labels: #capilabel1: capilabel1 cluster.x-k8s.io/cluster-name: zhsunaws-qdzzt cluster.x-k8s.io/set-name: zhsunaws-qdzzt-worker-us-east-2cc node-role.kubernetes.io/worker: "" spec: bootstrap: dataSecretName: worker-user-data clusterName: zhsunaws-qdzzt infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: AWSMachineTemplate name: zhsunaws-qdzzt-worker1
Expected results:
Shouldn't allow to create machine with wrong lable
Additional info:
must-gather: https://drive.google.com/file/d/1HrgWLFfuRpeexnEh-FoHtyxW8wJRWXlN/view?usp=sharing