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

When managedclusterset is deleted, cluster.open-cluster-management.io/clusterset label remains on managed cluster

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • None

      Description of problem:

      When a managedcluster is added to a managedclusterset, this label is added:

      cluster.open-cluster-management.io/clusterset:x

      When a managedcluster is removed from a managedclusterset, this label is removed from the managedcluster. However when a managedclusterset is deleted, the clusterset label remains on the managedcluster. I don't think this is right behavior. Why would we remove the label when the managedcluster is removed from the managedclusterset, but not when the managedclusterset itself is deleted?

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

      How reproducible:

      Steps to Reproduce:

      1. Create a managedclusterset and add a managedcluster to set
      2. Delete the managedclusterset

      Actual results:

      clusterset label remains on managedcluster

      Expected results:

      clusterset label should be removed from managedcluster

      Additional info:

      Any placement or other resource targeting a managedcluster by clusterset label will incorrectly target the managedcluster if managedclusterset is deleted.

              leyan@redhat.com Le Yang
              rh-ee-mshort Matthew Short
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: