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

Managed cluster name doesn't propogate during Hosted Cluster creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • Console
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • None

      Description of problem:

        Managed cluster name doesn't propagate during Hosted Cluster creation  

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

          4.19

      How reproducible:

          Always

      Steps to Reproduce:

      1. When the ACM operator is installed and if multicluster hub CR is created with the custom local cluster name as below
      spec:
        availabilityConfig: High
        localClusterName: ocpxxxhub

      2. If the local-cluster name is customised this name is not propagated to managed cluster annotation and hence the hosted cluster does not show status on the UI with the error "registration agent stopped updating its lease"

       oc get managedcluster virtual-xxx -oyaml | yq .metadata.annotations
      {
        "import.open-cluster-management.io/hosting-cluster-name": "local-cluster",    <<<< Change this to ocpxxxhub
        "import.open-cluster-management.io/klusterlet-deploy-mode": "Hosted",
        "open-cluster-management/created-via": "hypershift"
      } 

      3. This above annotation has to be manually changed otherwise the klusterlet-xxx namespace does not gets created and hence the above error is reported.

              rh-ee-kcormier Kevin Cormier
              rhn-support-hchaturv Himank Chaturvedi
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: