VirtualMachineInstance Pending when using DataVolume cloned from block PersistentVolumeClaim

Solution Unverified - Updated -

Issue

  • When adding a dataVolumeTemplate definition into a VM CustomResource, the DataVolume clone process doesn't start because the source-pod cannot mount the block PVC due to the readOnly: true flag being set.
  • Changing readOnly flag to false in the source-POD is not allowed.

Environment

  • Red Hat OpenShift Container Platform (OCP) 4.x
  • OpenShift Virtualization 4.10
  • Storage CSI Driver: Dell Unity

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