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

Klusterlet is not cleaned up on the hub when ManagedCluster is removed first

XMLWordPrintable

    • False
    • None
    • False
    • Low
    • No

      Description of problem:

      Removing a Hosted Cluster causes the klusterlet resource and namespace to be orphaned.

      This blocks importing a new cluster with the same name as the previous klusterlet

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

      Latest ACM 2.7

      How reproducible:

      Every time

      Steps to Reproduce:

      1. Import a Hosted Cluster
      2. Destroy the cluster
      3. Detach the ManagedCluster
      4. oc get klusterlet, shows the resource still exists days later
      5. Namespace remains, if deleted, it is recreated
      6. Causes an error that you can not import a cluster with the same name

      Actual results:

      klusterlet remains indefinitely.

      Import fails.

      Expected results:

      klusterlet is remove, importing a new cluster with the same name is successful

      Additional info:

              leyan@redhat.com Le Yang
              jpacker@redhat.com Joshua Packer
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: