-
Bug
-
Resolution: Done-Errata
-
Critical
-
CNV v4.15.8
-
None
-
Incidents & Support
-
3
-
False
-
-
False
-
CNV v4.99.0.rhel9-2188, CNV v4.18.0.rhel9-744
-
-
CNV Storage 265, CNV Storage 266
-
Critical
-
Customer Reported
-
None
Description of problem:
VM snapshot fails when there are several VolumeSnapshotClasses that match the CDI driver even if we define the desired VolumeSnapshotClass in the StorageProfile .spec.snapshotClass
Version-Release number of selected component (if applicable):
kubevirt-hyperconverged-operator.v4.15.8
How reproducible:
Always
Steps to Reproduce:
1. Create an additional VolumeSnapshotClass for your CSI driver. None of them are annotated with "snapshot.storage.kubernetes.io/is-default-class" NAME DRIVER DELETIONPOLICY AGE ocs-storagecluster-rbdplugin-retain-snapclass openshift-storage.rbd.csi.ceph.com Retain 73m ocs-storagecluster-rbdplugin-snapclass openshift-storage.rbd.csi.ceph.com Delete 50d 2. Configure the StorageProfile to use one of the VolumeSnapshotClasses: apiVersion: cdi.kubevirt.io/v1beta1 kind: StorageProfile metadata: name: ocs-storagecluster-ceph-rbd-virtualization spec: snapshotClass: ocs-storagecluster-rbdplugin-snapclass 3. Create a VM snapshot
Actual results:
VM snapshot fails In the VM status we can see: status: volumeSnapshotStatuses: - enabled: false name: rootdisk reason: 2 matching VolumeSnapshotClasses for ocs-storagecluster-ceph-rbd-virtualization
Expected results:
VolumeSnapshotClass selected in the StorageProfile is honored.
Additional info:
- is cloned by
-
CNV-55044 [4.16] StorageProfile snapshotClass is not honored when creating a VM snapshot
-
- Closed
-
-
CNV-55043 [4.17] StorageProfile snapshotClass is not honored when creating a VM snapshot
-
- Closed
-
- is related to
-
CNV-61266 [CLOSED LOOP for] StorageProfile snapshotClass is not honored when creating a VM snapshot
-
- Refinement
-
- links to
-
RHEA-2024:139653 OpenShift Virtualization 4.18.0 Images
- mentioned on
(3 mentioned on)