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

[IBMCloud] COS Reclamation prevents ResourceGroup cleanup


    • Important
    • Proposed
    • False
    • Hide

      OCPBUGS-7511 [ibmcloud] fail to destroy the rhcos image

      OCPBUGS-7511 [ibmcloud] fail to destroy the rhcos image

      Description of problem:
      During the cluster destroy process for IBM Cloud IPI, failures can occur when COS Instances are deleted, but Reclamations are created for the COS deletions, and prevent cleanup of the ResourceGroup

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

      How reproducible:
      Sporadic, it depends on IBM Cloud COS

      Steps to Reproduce:
      1. Create an IPI cluster on IBM Cloud
      2. Delete the IPI cluster on IBM Cloud
      3. COS Reclamation may be created, and can cause the destroy cluster to fail

      Actual results:

      time="2022-12-12T16:50:06Z" level=debug msg="Listing resource groups"
      time="2022-12-12T16:50:06Z" level=debug msg="Deleting resource group \"eu-gb-reclaim-1-zc6xg\""
      time="2022-12-12T16:50:07Z" level=debug msg="Failed to delete resource group eu-gb-reclaim-1-zc6xg: Resource groups with active or pending reclamation instances can't be deleted. Use the CLI commands \"ibmcloud resource service-instances --type all\" and \"ibmcloud resource reclamations\" to check for remaining instances, then delete the instances and try again."

      Expected results:
      Successful destroy cluster (including deletion of ResourceGroup)

      Additional info:
      IBM Cloud is testing a potential fix currently.

      It was also identified, the destroy stages are not in a proper order.

      Changes are being made in an attempt to resolve this along with a fix for this bug as well.

            jeffbnowicki Jeff Nowicki
            cjschaef@us.ibm.com Christopher Schaefer (Inactive)
            May Xu May Xu
            Red Hat Employee
            0 Vote for this issue
            8 Start watching this issue