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

[2241658] Wrong error message when attempting to upload an image to a PVC that already has disk.img

XMLWordPrintable

    • Storage Core Sprint 243, Storage Core Sprint 244, Storage Core Sprint 245
    • Medium
    • No

      Description of problem:
      Wrong error message when attempting to upload an image to a PVC that already has disk.img

      Version-Release number of selected component (if applicable):
      4.14, 4.15

      How reproducible:
      Always, starting from CNV-v4.14.0.rhel9-1959 (maybe earlier, we only know it worked in the build 1905)

      Steps to Reproduce:
      1. Upload an image with virtctl - completed successfully / (or import a DV/PVC)

      $ virtctl image-upload dv cnv-3729 --image-path=./cirros-0.4.0-x86_64-disk.qcow2 --size=1Gi --storage-class=ocs-storagecluster-ceph-rbd-virtualization --access-mode=ReadWriteMany --insecure --block-volume

      2. Run 'virtctl image-upload' command attempting to upload an image to the same PVC

      3. See the result:
      Unable to get PVC Prime default/cnv-3729

      Actual results:
      'Unable to get PVC Prime default/cnv-3729'

      Expected results:
      'PVC cnv-3729 already successfully imported/cloned/updated'

      Additional info:
      This change happened in the recent builds:
      CNV-v4.14.0.rhel9-1905 - Passed (Sep 10)
      CNV-v4.14.0.rhel9-1959 - Failed (Sep 16)

            rh-ee-alromero Alvaro Romero
            jpeimer@redhat.com Jenia Peimer
            Jenia Peimer Jenia Peimer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: