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

multiclusterhubs is stuck in uninstalling

XMLWordPrintable

    • False
    • None
    • False
    • Installer Sprint 2024-43
    • Low
    • No

      OCP 4.14.2
      advanced-cluster-management.v2.9.0

      IPv4 connected.

      Deploying ACM.

      Created MultiClusterHub using the following command:

      1. cat <<EOF | oc create -f -
        > apiVersion: operator.open-cluster-management.io/v1
        > kind: MultiClusterHub
        > metadata:
        > name: multiclusterhub
        > namespace: "rhacm"
        >
        > spec:
        > imagePullSecret: "pull-secret"
        > EOF
        multiclusterhub.operator.open-cluster-management.io/multiclusterhub created

      Realized that I miss an annotation, i.e. the yaml should have been:

      apiVersion: operator.open-cluster-management.io/v1
      kind: MultiClusterHub
      metadata:
        name: multiclusterhub
        namespace: "rhacm"
        annotations:
          installer.open-cluster-management.io/mce-subscription-spec: '{"channel": "stable-2.4","installPlanApproval": "Automatic","name":
              "multicluster-engine","source": "mce-catalog-source","sourceNamespace": "openshift-marketplace"}'
      
      spec:
        imagePullSecret: "pull-secret"
      

      So attempted to delete the multiclusterhub.

      Result: the multiclusterhub is stuck in deletion.

       oc get multiclusterhubs.operator.open-cluster-management.io 
      NAME              STATUS         AGE
      multiclusterhub   Uninstalling   21m
      
      

        1. must-gather.tgz
          15.39 MB
          Alexander Chuzhoy

              rh-ee-ngraham Nathaniel Graham
              achuzhoy@redhat.com Alexander Chuzhoy
              Thuy Nguyen Thuy Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: