Creating VM from template fails to start with "ErrClaimNotValid"

Solution Verified - Updated -

Issue

  • Golden images are not getting auto downloaded and the DVs in the openshift-virtualization-os-images have the below status:
03876028]# oc get dv centos-stream8-45036e2a965a -o yaml |yq '.status'
conditions:
  - lastHeartbeatTime: '2024-07-08T12:37:14Z'
    lastTransitionTime: '2024-07-08T12:37:14Z'
    message: DataVolume.storage spec is missing accessMode and no storageClass to choose profile
    reason: ErrClaimNotValid
    status: Unknown
    type: Bound
  • VMs created from the default template is failing to start with "ErrClaimNotValid".
  • "source available" is missing for all the default templates in OpenShift Virtualization.

Environment

  • OpenShift Virtualization 4.x.

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