-
Bug
-
Resolution: Done-Errata
-
Minor
-
CNV v4.14.1
-
0.42
-
False
-
-
False
-
NEW
-
---
-
---
-
-
Storage Core Sprint 248, Storage Core Sprint 249
-
Yes
Description of problem:
When creating OCS DV, and delete its bound PVC,
the PVC get's recreated but the DV doesn't re-import.
The DV status is "SUCCESS", and the PVC is "PENDING"
Version-Release number of selected component (if applicable):
4.14.1.rhel9-62 - and the next builds
4.15.0.rhel9-1615 - and the next builds{}
How reproducible:
Always
Steps to Reproduce:
1. Create cirros dv:
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
labels:
created-by-dynamic-class-creator: 'Yes'
name: import-http-dv
namespace: cdi-import-test-import-htt
spec:
contentType: kubevirt
source:
http:
url: http://cnv-qe-server.rhos-psi.cnv-qe.rhood.us/files/cnv-tests/cirros-images/cirros-0.4.0-x86_64-disk.qcow2
storage:
resources:
requests:
storage: 500Mi
storageClassName: ocs-storagecluster-ceph-rbd-virtualization
2. Wait for DV success and PVC to be BOUND, then delete the pvc.
3. the result:
NAME PHASE PROGRESS RESTARTS AGE
datavolume.cdi.kubevirt.io/import-http-dv Succeeded N/A 3m42s
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
persistentvolumeclaim/import-http-dv Pending ocs-storagecluster-ceph-rbd-virtualization 80s
Actual results:
The new PVC is Pending and not BOUND.
And the DV in SUCCESS despite that.
Expected results:
Re-import into a new PVC which reach to BOUND status.
Additional info:
Another provisioners works as expected(SC like nfs,hostpath).
Git Pull Request: https://github.com/kubevirt/containerized-data-importer/pull/3073 closed
- clones
-
CNV-35085 [2248845] [4.15] Deleting OCS PVC doesnt result in new bound PVC
- Closed
- links to
-
RHEA-2023:116760 OpenShift Virtualization 4.15.0 Images
- mentioned on