-
Bug
-
Resolution: Cannot Reproduce
-
Undefined
-
None
-
4.19, 4.20
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
None
-
None
-
None
-
None
-
CLOUD Sprint 271, CLOUD Sprint 272, CLOUD Sprint 273, CLOUD Sprint 274, CLOUD Sprint 275, CLOUD Sprint 276, CLOUD Sprint 277, CLOUD Sprint 278, CLOUD Sprint 279, CLOUD Sprint 280
-
10
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
Double mapi machines were created when creating mapi machineset with AuthoritativeAPI: ClusterAPI and already have same name capi machineset
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-04-23-103823
How reproducible:
Always
Steps to Reproduce:
1.Manually create a new capi machineset
2.Manually create a new mapi machineset, same name with capi machineset, AuthoritativeAPI: ClusterAPI
3.Check the mapi machines
Actual results:
2 mapi machines were created, one mapi machine show CAPIMachineNotFound $ oc get machineset -n openshift-cluster-api NAME CLUSTER REPLICAS READY AVAILABLE AGE VERSION zhsunaws-6nw59-worker-us-east-2cc zhsunaws-6nw59 1 1 1 6m49s $ oc get machine -n openshift-cluster-api NAME CLUSTER NODENAME PROVIDERID PHASE AGE VERSION zhsunaws-6nw59-worker-us-east-2cc-7ft6k zhsunaws-6nw59 ip-10-0-68-195.us-east-2.compute.internal aws:///us-east-2c/i-06a4ce80f346fe281 Running 6m59s $ oc get machineset.m -n openshift-machine-api NAME DESIRED CURRENT READY AVAILABLE AGE zhsunaws-6nw59-worker-us-east-2cc 1 0 74s $ oc get machine.m -n openshift-machine-api NAME PHASE TYPE REGION ZONE AGE zhsunaws-6nw59-worker-us-east-2cc-7ft6k 68s zhsunaws-6nw59-worker-us-east-2cc-95l8w 83s $ oc get machineset.m zhsunaws-6nw59-worker-us-east-2cc -o yaml status: authoritativeAPI: ClusterAPI conditions: - lastTransitionTime: "2025-04-22T08:32:42Z" message: The AuthoritativeAPI is set to ClusterAPI reason: AuthoritativeAPINotMachineAPI status: "True" type: Paused - lastTransitionTime: "2025-04-22T08:35:00Z" message: Successfully synchronized CAPI MachineSet to MAPI reason: ResourceSynchronized severity: "" status: "True" type: Synchronized observedGeneration: 88 replicas: 0 synchronizedGeneration: 2 $ oc get machine.m zhsunaws-6nw59-worker-us-east-2cc-95l8w -o yaml status: authoritativeAPI: ClusterAPI conditions: - lastTransitionTime: "2025-04-22T08:32:42Z" status: "True" type: Drainable - lastTransitionTime: "2025-04-22T08:32:42Z" message: The AuthoritativeAPI is set to ClusterAPI reason: AuthoritativeAPINotMachineAPI status: "True" type: Paused - lastTransitionTime: "2025-04-22T08:32:42Z" message: Cluster API machine not found reason: CAPIMachineNotFound severity: Error status: "False" type: Synchronized - lastTransitionTime: "2025-04-22T08:32:42Z" status: "True" type: Terminable lastUpdated: "2025-04-22T08:32:42Z" phase: "" synchronizedGeneration:
Expected results:
Only 1 mapi machine will be created.
Additional info: