-
Bug
-
Resolution: Done-Errata
-
Major
-
4.15
-
No
-
Proposed
-
False
-
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:
- clones
-
OCPBUGS-28763 --destroy-cloud-resources does not work for HCP KubeVirt platform
- Closed
- depends on
-
OCPBUGS-28763 --destroy-cloud-resources does not work for HCP KubeVirt platform
- Closed
- links to
-
RHBA-2024:1559 OpenShift Container Platform 4.15.z bug fix update