Uploading images to PVC is failing while using Huawei CSI driver
Issue
- While using Huawei CSI driver, uploading images/iso is failing. The CSI reports below error while provisioning the volume:
2024-04-27T07:50:39.910271940Z I0427 07:50:39.910262 1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"openshift-mtv", Name:"testiso3-scratch", UID:"96850a3a-411a-4f72-9b41-3da5fbba15a8", APIVersion:"v1", ResourceVersion:"244322605", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "iscsi-storage-class": rpc error: code = Internal desc = Create Volume: the capacity 1136234735 is not an integer multiple of 512.
Environment
- OpenShift Virtualization 4.13.
- OpenShift Virtualization 4.14.
- OpenShift Virtualization 4.15.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.