Bug 1673683
Summary: | CDI Importer logic prevents the deletion of PVCs | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Natalie Gavrielov <ngavrilo> |
Component: | Storage | Assignee: | John Griffith <jgriffith> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Natalie Gavrielov <ngavrilo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.4 | CC: | alitke, cnv-qe-bugs, fsimonce, igoihman, jgriffith, ncredi, qixuan.wang, vparekh, ycui |
Target Milestone: | --- | ||
Target Release: | 2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 1.5 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-29 07:24:09 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: |
Description
Natalie Gavrielov
2019-02-07 18:56:54 UTC
We should fix this by having the CDI controller delete any importer/cloner/uploader pods when a PVC is deleted. As a workaround, the pod can be manually deleted. *** Bug 1669116 has been marked as a duplicate of this bug. *** Should we document this for 1.4? If so can you link here the relevant documentation BZ? Created doc bug here: https://bugzilla.redhat.com/show_bug.cgi?id=1678412 A change was added in 1.5 that detects the PVC delete and kills the pod retry. It's possible that we're hitting another corner case (or introduced a new one) but it was verified with DataVolumes and Import PVCs here (https://github.com/kubevirt/containerized-data-importer/commit/30c0e1b8140103502710985ffe308ee54b1155fc). Still need the docs update for prior versions, but just noting that change merged with a functional test. Just noticed a fix was targeted for 2.0; I think 2.0 target is to rework the retry strategy entirely. Tested with CDI v2.0.0-5, the bug has been fixed. [root@dell-r640-005 ~]# oc delete pvc pvc-invalid-url persistentvolumeclaim "pvc-invalid-url" deleted [root@dell-r640-005 ~]# oc get pvc No resources found. Didn't verify on 1.4 |