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

--destroy-cloud-resources does not work for HCP KubeVirt platform

XMLWordPrintable

    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When destroying an HCP KubeVirt cluster using the cli and the --destroy-cloud-resources, pvcs are not cleaned up within the guest cluster due to the cli not properly honoring the --destroy-cloud-resources option for KubeVirt.

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

      4.16    

      How reproducible:

          100%

      Steps to Reproduce:

          1. destroy an hcp kubevirt cluster using cli and --destroy-cloud-resources
          2.
          3.
          

      Actual results:

      the hosted cluster does not have the hypershift.openshift.io/cleanup-cloud-resources: "true" annotation added which ensures the hosted cluster config controller cleans up pvcs   

      Expected results:

      the hypershift.openshift.io/cleanup-cloud-resources: "true" should get added to the hosted cluster during tear down when the --destroy-cloud-resources cli option is used  

      Additional info:

          

            rhn-engineering-dvossel David Vossel
            rhn-engineering-dvossel David Vossel
            Liangquan Li Liangquan Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: