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

ACM does not clean up resources from managedcluster when managedcluster is deleted via gitops

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • ACM 2.9.3
    • Observability
    • None
    • False
    • None
    • False
    • No

      Description of problem:

      As part of the Image based upgrades, when creating the seed image, the seed cluster that is deployed and managed by ACM/ZTP/Gitops needs to be disassociated from the hub.  This is accomplished by removing the siteConfig CR of the managedcluster from the kustomization yaml.  

      It is observed that the open-cluster-observability-addon namespace and associated deployment, stateful set and pods continues to exist.  

       

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

       

      ACM 2.9.3

      How reproducible:

      Steps to Reproduce:

      1. Delete siteconfig from kustomization.yaml
      2. once the mangedcluster CR and the managedcluster namespace are deleted access the managedcluster 
      3. oc get ns open-cluster-observability-addon

      Actual results:

      open-cluster-management-observability-addon and associated objects continue to exist

       

      Expected results:

      ACM clean up all the artifacts is puts on the managedcluster

       

      Additional info:

              Unassigned Unassigned
              rhn-gps-ncocker Nabeel Cocker
              Xiang Yin Xiang Yin
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: