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

CGU Deletion Fails when CGU Encounters an invalid Policy or Cluster

XMLWordPrintable

    • Important
    • Yes
    • CNF RAN Sprint 239
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When an enabled CGU specifies an invalid policy name or cluster name, the CGU cannot be deleted. 'oc delete cgu' fails to return. 

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

      TLAM 4.13, 4.14

      How reproducible:

      Always.

      Steps to Reproduce:

      1. Create a CGU specifying an invalid policy name. Set enable = true
      2. Note the CGU status NotAllManagedPoliciesExist   Missing managed policies: [<policy name>]
      3. Attempt to delete CGU: 'oc delete cgu <cguname>'
      4. oc delete command does not return. CGU must be edited to remove finalizers.

      Actual results:

      CGU fails to delete.

      Expected results:

      CGU deletes successfully.

      Additional info:

       

            jche@redhat.com Jun Chen
            josclark@redhat.com Joshua Clark
            Yang Liu Yang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: