Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-26659

[2176422] getting wrong error message when trying to upload dv when pvc already exist

XMLWordPrintable

    • Storage Core Sprint 233, Storage Core Sprint 234
    • Moderate
    • None

      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

              rh-ee-alromero Alvaro Romero
              dafrank@redhat.com Dalia Frank
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: