Bug 1910829
Summary: | Cannot delete a PVC if the dv's phase is WaitForFirstConsumer | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Guohua Ouyang <gouyang> | ||||
Component: | Console Kubevirt Plugin | Assignee: | Gilad Lekner <glekner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Guohua Ouyang <gouyang> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.7 | CC: | aos-bugs, glekner, gouyang, yzamir | ||||
Target Milestone: | --- | Flags: | gouyang:
needinfo-
|
||||
Target Release: | 4.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:48:29 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
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 |
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: