-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
None
-
-
None
Description of problem:
When remove the default storage class annotation, leaving the cluster without a default storage class defined, we encounter different behavior: 1. with a PVC storage class, the PVC are kept 2. with a Snapshot storage class the VolumeSnapshot are deleted.
Version-Release number of selected component (if applicable):
4.21
How reproducible:
100%
Steps to Reproduce:
1. in a cluster with PVC storage class change the annotation of the default storage class to "false" 2. observe the PVC are being kept 3. define a snapshot storage class (ocs-storagecluster-ceph-rbd-virtualization) as default by changing the annotation to "true" 4. observe the VolumeSnapshot are created 5. Remove the default storage class annotation and observe the VolumeSnapshot are Deleted
Actual results:
PVC is kept while VolumeSnapshot is deleted
Expected results:
PVC and VolumeSnapshot should act in the same way. either both are deleted or both are kept
Additional info:
- links to