Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-74930

PVC and VolumeSnapshot behavior when removing default storage class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Storage Ecosystem
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • 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:

       

              ngavrilo@redhat.com Natalie Gavrielov
              rhn-support-rkishner Roni Kishner
              Natalie Gavrielov Natalie Gavrielov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: