-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.19
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
None
-
None
-
Rejected
-
None
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
Create a new mapi machineset with authoritativeAPI:ClusterAPI, no machine is running in openshift-cluster-api namespace, nor in openshift-machine-api namespace
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-04-24-005837
How reproducible:
Always
Steps to Reproduce:
1. Create a new mapi machineset with authoritativeAPI:ClusterAPI 2. Check if machine is running 3.
Actual results:
No machine is running in openshift-cluster-api namespace, nor in openshift-machine-api namespace. capi machineset pause is True. $ oc get machineset.m | grep cc ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc 1 0 6m41s $ oc get machine.m | grep cc ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q 6m49s $ oc get machineset -n openshift-cluster-api | grep cc ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc ci-ln-7510d6b-76ef8-pq8zk 7m2s $ oc get machine -n openshift-cluster-api | grep cc $ status: authoritativeAPI: ClusterAPI conditions: - lastTransitionTime: "2025-04-24T15:39:43Z" message: The AuthoritativeAPI is set to ClusterAPI reason: AuthoritativeAPINotMachineAPI status: "True" type: Paused - lastTransitionTime: "2025-04-24T15:39:43Z" message: Successfully synchronized CAPI MachineSet to MAPI reason: ResourceSynchronized severity: "" status: "True" type: Synchronized observedGeneration: 2 replicas: 0 synchronizedGeneration: 1 $ oc get machineset -n openshift-cluster-api ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc -o yaml status: v1beta2: conditions: - lastTransitionTime: "2025-04-28T02:43:14Z" message: MachineSet has the cluster.x-k8s.io/paused annotation observedGeneration: 1 reason: Paused status: "True" type: Paused E0424 15:45:10.681276 1 machine_sync_controller.go:265] "machine" err="Cluster API machine not found" controller="MachineSyncController" controllerGroup="machine.openshift.io" controllerKind="Machine" Machine="openshift-machine-api/ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q" namespace="openshift-machine-api" name="ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q" reconcileID="ae2a4247-79cb-4414-9265-56fb8a37f377" ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q="(MISSING)" E0424 15:45:10.688750 1 controller.go:316] "Reconciler error" err="Cluster API machine not found" controller="MachineSyncController" controllerGroup="machine.openshift.io" controllerKind="Machine" Machine="openshift-machine-api/ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q" namespace="openshift-machine-api" name="ci-ln-7510d6b-76ef8-pq8zk-worker-us-west-2cc-dql5q" reconcileID="ae2a4247-79cb-4414-9265-56fb8a37f377"
Expected results:
capi machine is running, capi machineset paused status is False.
Additional info:
machine-api-migration log:
https://drive.google.com/file/d/1RsTTDvyG8ko17GbMy4MnHb8lv_AATNE5/view?usp=sharing
- is related to
-
OCPBUGS-54970 MAPI to CAPI: Changing MachineSet's .spec.template.spec to ClusterAPI and scaling up should work
-
- Closed
-
- relates to
-
OCPBUGS-56604 CAPI MachineSet should be created unpaused when it is authoritative
-
- Verified
-
- links to
-
RHEA-2024:11038 OpenShift Container Platform 4.19.z bug fix update