OpenShift Virtualization: Failed to create VM on OpenShift Virtualization UI if no default StorageClass exists in OCP cluster

Zusammenfassung: The VM cannot be created via OpenShift Virtualization if no default StorageClass exists in OCP cluster. Because non-default StorageClass cannot be selected for rootdisk or for the user added disks. ...

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

Failed to create new VM via OpenShift Virtualization UI if no default StorageClass exists in OCP cluster.

Ursache

It is an issue of OpenShift Virtualization feature.
For the VM rootdisk and user added disks, they can only select the default StorageClass in the OCP cluster.
Non-default StorageClass cannot be selected.

Lösung

There are two options to workaround this issue:
Example of a default StorageClass:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: my-sc-1
  annotations:
    storageclass.kubernetes.io/is-default-class: 'true'
provisioner: csi-vxflexos.dellemc.com
parameters:
  csi.storage.k8s.io/fstype: ext4
  storagepool: SP-SW_NVME-1
  systemID: efc2f2902330a60f
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: WaitForFirstConsumer

Betroffene Produkte

APEX Cloud Platform for Red Hat OpenShift
Artikeleigenschaften
Artikelnummer: 000217665
Artikeltyp: Solution
Zuletzt geändert: 20 Feb. 2026
Version:  3
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.