Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-31848

Clusterrolebindings remain in cluster if must-gather creation fails in the middle

XMLWordPrintable

    • No
    • Workloads Sprint 254
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when a `must-gather` failed for any reason and the user manually deleted the leftover namespace, a cluster role binding created by the must-gather command would remain in the cluster. With this release, when the temporary must-gather namespace is deleted, the associated cluster role binding is automatically deleted with it. (link:https://issues.redhat.com/browse/OCPBUGS-31848[*OCPBUGS-31848*])
      __________
      On previous OpenShift versions, when a must-gather failed for any reason and the user manually deleted the leftover namespace, a cluster role binding created by the must-gather command would remain in the cluster. This fix ensures that when the temporary must-gather namespace is deleted, the associated cluster role binding is automatically deleted with it.
      Show
      * Previously, when a `must-gather` failed for any reason and the user manually deleted the leftover namespace, a cluster role binding created by the must-gather command would remain in the cluster. With this release, when the temporary must-gather namespace is deleted, the associated cluster role binding is automatically deleted with it. (link: https://issues.redhat.com/browse/OCPBUGS-31848 [* OCPBUGS-31848 *]) __________ On previous OpenShift versions, when a must-gather failed for any reason and the user manually deleted the leftover namespace, a cluster role binding created by the must-gather command would remain in the cluster. This fix ensures that when the temporary must-gather namespace is deleted, the associated cluster role binding is automatically deleted with it.
    • Bug Fix
    • Done

      Description of problem:

      When a must-gather creation fails in the middle, the clusterrolebindings created for must-gather creation remains in the cluster.

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

          

      How reproducible:

          Always

      Steps to Reproduce:

          1. Run a must-gather command: `oc adm must-gather`
          2. Interrupt the must-gather creation     
          3.Search for the cluster-rolebinding: `oc get clusterrolebinding | grep -i must`  
          4. Try deleting the must-gather namespace
          5.  Search for the cluster-rolebinding again:`oc get clusterrolebinding | grep -i must`   

      Actual results:

      clusterrolebindings created for must-gather creation remains in the cluster 

      Expected results:

      clusterrolebindings created for must-gather creation shouldn't remain in the cluster 

      Additional info:

          

              fmissi Flavian Missi
              rhn-support-gio Ginilekshmi A O
              ying zhou ying zhou
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: