Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-17767

Node object is being deleted when ClusterInstance is deleted from management hub

XMLWordPrintable

    • False
    • None
    • False
    • Important
    • None

      Description of problem:

      When the clusterinstance CR is deleted, the corresponding cluster is also deleted by the hub (node object gets deleted and there fore the cluster is non-viable)    

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

          OCP 4.17.12, ACM 2.12.2 MCE 2.7.3

      How reproducible:

       100%   

      Steps to Reproduce:

          1. Deploy a cluster using SiteConfig Operator and a ClusterInstance CR
          2. Delete the clusterinstance CR
          3. The managed node does not have a node object anymore
          

      Actual results:

          [corona@bastion.acmsno1-3.vcpfe.hqplan.lab seedgen]# oc get nodes
      No resources found
      [corona@bastion.acmsno1-3.vcpfe.hqplan.lab seedgen]# oc get co
      NAME                                       VERSION   AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
      authentication                             4.17.12   False       True          False      32m     ReadyIngressNodesAvailable: Authentication requires functional ingress which requires at least one schedulable and ready node. Got 0 worker nodes, 0 master nodes, 0 custom target nodes (none are schedulable or ready for ingress pods).
      config-operator                            4.17.12   True        False         False      26h     
      dns                                        4.17.12   True        False         False      25h     
      etcd                                       4.17.12   True        False         False      26h     
      ingress                                    4.17.12   True        False         False      26h     
      kube-apiserver                             4.17.12   True        False         False      26h     
      kube-controller-manager                    4.17.12   True        False         False      26h     
      kube-scheduler                             4.17.12   True        False         False      26h     
      kube-storage-version-migrator              4.17.12   True        False         False      26h     
      machine-approver                           4.17.12   True        False         False      26h     
      machine-config                             4.17.12   True        False         False      26h     
      marketplace                                4.17.12   True        False         False      26h     
      monitoring                                 4.17.12   True        False         False      26h     
      network                                    4.17.12   True        True          False      26h     Deployment "/openshift-multus/multus-admission-controller" is not available (awaiting 1 nodes)...
      node-tuning                                4.17.12   True        False         False      26h     
      openshift-apiserver                        4.17.12   True        False         False      25h     
      openshift-controller-manager               4.17.12   True        False         False      162m    
      operator-lifecycle-manager                 4.17.12   True        False         False      26h     
      operator-lifecycle-manager-catalog         4.17.12   True        False         False      26h     
      operator-lifecycle-manager-packageserver   4.17.12   True        False         False      26h     
      service-ca                                 4.17.12   True        False         False      26h  

      Expected results:

          

      Additional info:

          

              ncarboni@redhat.com Nick Carboni
              rhn-gps-ncocker Nabeel Cocker
              Vladislav Kolodny Vladislav Kolodny
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: