Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-49344

CPMS status [display ]in multi-nightly builds when it is deleted is not displaying as expected

XMLWordPrintable

    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          Cpms resource when deleted becomes available but status shown seems invalid
      

      Version-Release number of selected component (if applicable):

          4.18.0-0.nightly-multi-2025-01-23-175510

      How reproducible:

          on multi nighlty 

      Steps to Reproduce:

       get the cpms resource 
      
       oc get controlplanemachineset -n openshift-machine-api --kubeconfig kk1 
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE    AGEcluster   3         3         3       3                       Active   88m
      
      
      Delete cpms resource
      
      oc delete  controlplanemachineset  cluster --kubeconfig kk1 -n openshift-machine-api
      controlplanemachineset.machine.openshift.io "cluster" deleted
           

      Actual results:

          miyadav@miyadav-thinkpadx1carbongen8:~$ oc get controlplanemachineset --kubeconfig kk1 -n openshift-machine-api
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGEcluster   3                                                   Inactive   0s
      
      status:
        conditions:
        - lastTransitionTime: "2025-01-27T10:55:43Z"
          message: ""
          observedGeneration: 1
          reason: AsExpected
          status: "False"
          type: Error
      

      Expected results:

          CURRENT READY UPDATED columns also should be populated 

      Additional info:

          must-gather - https://drive.google.com/file/d/1ITvglO0RcNuI3rByXsKTXJC6KaLnNjL0/view?usp=sharing
      
      
      logs  - 
      E0127 09:49:43.766360       1 controller.go:316] "Reconciler error" err="error reconciling control plane machine set: unable to re-create updated control plane machine set: object is being deleted: controlplanemachinesets.machine.openshift.io \"cluster\" already exists" controller="controlplanemachinesetgenerator" reconcileID="38de4850-6f22-427d-82b0-cac5ab6fe596"I0127 09:49:43.766418       1 controller.go:127] "Reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="8c539a3b-2a1d-47e5-a461-bfdf47ccfbd8" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.766472       1 controller.go:142] "Finished reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="8c539a3b-2a1d-47e5-a461-bfdf47ccfbd8" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.786986       1 controller.go:127] "Reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="4df404b0-909a-470c-9fe5-66ca1a3c8a26" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.787066       1 controller.go:142] "Finished reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="4df404b0-909a-470c-9fe5-66ca1a3c8a26" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.800328       1 controller.go:127] "Reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="182d06a2-3658-419f-9e97-1fa2081a1e20" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.802381       1 controller.go:294] "Control plane machine set not found" controller="controlplanemachinesetgenerator" reconcileID="182d06a2-3658-419f-9e97-1fa2081a1e20" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.838716       1 controller.go:223] "Finished reconciling control plane machine set" controller="controlplanemachineset" reconcileID="92074b18-f783-493d-8c37-af2e14f7cc48" namespace="openshift-machine-api" name="cluster"E0127 09:49:43.838773       1 controller.go:316] "Reconciler error" err="error updating control plane machine set status: failed to sync status for control plane machine set object: Operation cannot be fulfilled on controlplanemachinesets.machine.openshift.io \"cluster\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/machine.openshift.io/controlplanemachinesets/openshift-machine-api/cluster, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 8db1742c-7dba-4c93-82d7-dad2706d77ad, UID in object meta: " controller="controlplanemachineset" reconcileID="92074b18-f783-493d-8c37-af2e14f7cc48"I0127 09:49:43.838811       1 controller.go:170] "Reconciling control plane machine set" controller="controlplanemachineset" reconcileID="4ff69da5-7170-4bb8-ade1-bc5437120375" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.838829       1 controller.go:178] "No control plane machine set found, setting operator status available" controller="controlplanemachineset" reconcileID="4ff69da5-7170-4bb8-ade1-bc5437120375" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.838845       1 controller.go:184] "Finished reconciling control plane machine set" controller="controlplanemachineset" reconcileID="4ff69da5-7170-4bb8-ade1-bc5437120375" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.859121       1 controller.go:170] "Reconciling control plane machine set" controller="controlplanemachineset" reconcileID="002a6a33-1e14-4d36-8ff1-310e24c524fb" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.859208       1 controller.go:178] "No control plane machine set found, setting operator status available" controller="controlplanemachineset" reconcileID="002a6a33-1e14-4d36-8ff1-310e24c524fb" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.859261       1 controller.go:184] "Finished reconciling control plane machine set" controller="controlplanemachineset" reconcileID="002a6a33-1e14-4d36-8ff1-310e24c524fb" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.912319       1 controller.go:300] "Created updated control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="182d06a2-3658-419f-9e97-1fa2081a1e20" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.912489       1 controller.go:156] "Finished reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="182d06a2-3658-419f-9e97-1fa2081a1e20" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.912540       1 controller.go:127] "Reconciling control plane machine set" controller="controlplanemachinesetgenerator" reconcileID="b7d0f3de-53bd-4490-a4fd-a653e50d8697" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.912449       1 controller.go:170] "Reconciling control plane machine set" controller="controlplanemachineset" reconcileID="9f7e3144-6320-4d49-9fd8-cd3f061910d6" namespace="openshift-machine-api" name="cluster"I0127 09:49:43.914492       1 controller.go:210] "Control plane machine set is outdated" controller="controlplanemachinesetgenerator" reconcileID="b7d0f3de-53bd-4490-a4fd-a653e50d8697" namespace="openshift-machine-api" name="cluster" diff=["Template.OpenShiftMachineV1Beta1Machine.Spec.AuthoritativeAPI: MachineAPI != "]
      
      

      cluster remains stable though all co are happy.

              rh-ee-tbarberb Theo Barber-Bany
              rh-ee-miyadav Milind Yadav
              Zhaohua Sun Zhaohua Sun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: