Description of problem: The volume mode on "Upload Data to Persistent Volume Claim" is default to Filesystem, there is one situation that upload is failed when use SC 'ocs-storagecluster-ceph-rbd’, accessMode "ReadWriteMany" and volumeMode "Filesystem". So it's better to change the volume mode to "Block". 1. Upload image with SC ‘ocs-storagecluster-ceph-rbd’, accessMode "ReadWriteMany" and volumeMode "Filesystem" is failed. $ ./virtctl image-upload dv rhel71 --size=10Gi --image-path=./cirros.img --access-mode=ReadWriteMany --insecure --storage-class=ocs-storagecluster-ceph-rbd DataVolume default/rhel71 created Waiting for PVC rhel71 upload pod to be ready... timed out waiting for the condition 2. Upload image with SC ‘ocs-storagecluster-ceph-rbd’, accessMode "ReadWriteMany" and volumeMode "Block" is okay. $ ./virtctl image-upload dv rhel715 --size=10Gi --image-path=./cirros.img --access-mode=ReadWriteMany --insecure --storage-class=ocs-storagecluster-ceph-rbd --block-volume --block-volume is deprecated, use --volume-mode instead DataVolume default/rhel715 created Waiting for PVC rhel715 upload pod to be ready... Pod now ready Uploading data to https://cdi-uploadproxy-openshift-cnv.apps.sys01.cnv-qe.rhcloud.com 12.13 MiB / 12.13 MiB [===================================================================================================] 100.00% 20s Uploading data completed successfully, waiting for processing to complete, you can hit ctrl-c without interrupting the progress Processing completed successfully Uploading ./cirros.img completed successfully 2. Upload image with SC ‘ocs-storagecluster-ceph-rbd’, accessMode "ReadWriteOnce" and volumeMode "Filesystem" is okay. $ ./virtctl image-upload dv rhel713 --size=10Gi --image-path=./cirros.img --access-mode=ReadWriteOnce --insecure --storage-class=ocs-storagecluster-ceph-rbd DataVolume default/rhel713 created Waiting for PVC rhel713 upload pod to be ready... Pod now ready Uploading data to https://cdi-uploadproxy-openshift-cnv.apps.sys01.cnv-qe.rhcloud.com 12.13 MiB / 12.13 MiB [====================================================================================================] 100.00% 9s Uploading data completed successfully, waiting for processing to complete, you can hit ctrl-c without interrupting the progress Processing completed successfully Uploading ./cirros.img completed successfully 3. Upload image with SC ‘ocs-storagecluster-ceph-rbd’, accessMode "ReadWriteOnce" and volumeMode "Block" is okay. $ ./virtctl image-upload dv rhel714 --size=10Gi --image-path=./cirros.img --access-mode=ReadWriteOnce --insecure --storage-class=ocs-storagecluster-ceph-rbd --volume-mode=Block DataVolume default/rhel714 created Waiting for PVC rhel714 upload pod to be ready... Pod now ready Uploading data to https://cdi-uploadproxy-openshift-cnv.apps.sys01.cnv-qe.rhcloud.com 12.13 MiB / 12.13 MiB [====================================================================================================] 100.00% 8s Uploading data completed successfully, waiting for processing to complete, you can hit ctrl-c without interrupting the progress Processing completed successfully Uploading ./cirros.img completed successfully Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Change to Block might not be proper as NFS storage only support Filesystm. Maybe it need to expose the volumeMode on the page as well.
looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1911382 @Matan hi, is this a duplicate of 1911382 ?
sorry Matan, I misunderstood the bug, you don't need to answer for comment#2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633