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

[AWS]controlplanemachineset keeps refreshing when deleting it on techpreview cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • Yes
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

         controlplanemachineset keeps refreshing when deleting it on techpreview cluster, seems it's related to the migration feature, because I checked on a non-techpreview cluster, no such issue.

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

          4.20.0-0.nightly-2025-07-15-083124

      How reproducible:

          always

      Steps to Reproduce:

          1.Install an AWS techpreview cluster
          2.Delete the controlplanemachineset, the controlplanemachineset keeps refreshing
      
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE    AGE
      cluster   3         3         3       3                       Active   7h2m
      liuhuali@Lius-MacBook-Pro huali-test % oc delete controlplanemachineset cluster
      controlplanemachineset.machine.openshift.io "cluster" deleted
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset           
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3                                                   Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3                                                   Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3                                                   Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      No resources found in openshift-machine-api namespace.
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      No resources found in openshift-machine-api namespace.
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3                                                   Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   1s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   0s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   1s
      liuhuali@Lius-MacBook-Pro huali-test % oc edit controlplanemachineset
      error: controlplanemachinesets.machine.openshift.io "cluster" could not be found on the server
      The edits you made on deleted resources have been saved to "/var/folders/yc/y9zy01jn3f51r9knbpsm_55r0000gn/T/oc-edit-3808106644.yaml"
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset 
      No resources found in openshift-machine-api namespace.
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3                                                   Inactive   0s
      
      
          3.On an AWS non-techpreview cluster, this case works well.
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE    AGE
      cluster   3         3         3       3                       Active   4h13m
      liuhuali@Lius-MacBook-Pro huali-test % oc delete controlplanemachineset cluster
      controlplanemachineset.machine.openshift.io "cluster" deleted
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset           
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   12s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   16s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   21s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   36s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   42s
      liuhuali@Lius-MacBook-Pro huali-test % oc get controlplanemachineset
      NAME      DESIRED   CURRENT   READY   UPDATED   UNAVAILABLE   STATE      AGE
      cluster   3         3         3       3                       Inactive   45s    

      Actual results:

          the controlplanemachineset keeps refreshing when deleting it

      Expected results:

      the controlplanemachineset should not keep refreshing when deleting it

      Additional info:

          must-gather: https://drive.google.com/file/d/1TD7RxP9dGLdhgkSZtWvgyKseCJP04_6q/view?usp=sharing

              rh-ee-nbrubake Nolan Brubaker
              huliu@redhat.com Huali Liu
              None
              None
              Huali Liu Huali Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: