Created attachment 1741823 [details] exampe pvc yaml Description of problem: If the DV phase is WaitForFirstConsumer, PVC is keeping respawn after deleting it. On UI, the warning like "Deleting this PVC will also delete url-rootdisk-7rw40 Data Volume" is not showing if the DV phase is WaitForFirstConsumer, that means it cannot delete the PVC on UI. Version-Release number of selected component (if applicable): master How reproducible: 100% Steps to Reproduce: 1. Go to storage -> PVC 2. Create a PVC which have a DV in phase WaitForFirstConsumer 3. Delete the PVC Actual results: PVC is keeping respwaning Expected results: warning like "Deleting this PVC will also delete url-rootdisk-7rw40 Data Volume", delete the PVC will delete the DV as well. Additional info:
Still see the issue on latest 4.7 branch.
Plus, it got the same behavior if the dv phase is stucking in pending, can we fix it as well?
Tried changing the detection to use ownerReference, please try again once https://github.com/openshift/console/pull/7695 is merged
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633