Failed to upload disk images or bootable volumes in OpenShift Virtualization

Solution Verified - Updated -

Issue

  • The disk image or volumes upload failed with logs like:
DataVolume.storage spec is missing accessMode and volumeMode, cannot get access mode from StorageProfile <storage_profile>

"error":"no accessMode defined DV nor on StorageProfile for <storage_profile> StorageClass","errorVerbose":"no accessMode defined DV nor on StorageProfile for <storage_profile> StorageClass ...

Environment

  • OpenShift Virtualization

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content