-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
-
False
-
CLOSED
-
---
-
---
-
-
-
Storage Core Sprint 233, Storage Core Sprint 234
-
Medium
Description of problem:
When trying to upload a dv/pvc via virtctl, and the pvc already exist but the dv was garbage collected, the wrong error message printed to screen.
Version-Release number of selected component (if applicable):
4.13
How reproducible:
100%
Steps to Reproduce:
1. Create a DV and wait for it to success:
virtctl image-upload dv dv-name --size=18Gi --image-path=./Fedora... --block-volume --access-mode=ReadWriteOnce --storage-class=ocs-storagecluster-ceph-rbd --insecure
2. try to upload again:
Actual results:
error message:
No DataVolume is associated with the existing PVC default/dv-name
Expected results:
error message:
PVC dv-name already successfully imported/cloned/updated