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

Disk devices for root disks indicate default storage class instead of virtualization storage class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • CNV v4.17.0
    • None
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.15.6.rhel9-108
    • No

      Description of problem:

      Default storage class is set to ocs-storagecluster-ceph-rbd.  The ocs-storagecluster-rbd-virtualization storage class has the annotation of:
      
      storageclass.kubevirt.io/is-default-virt-class: 'true'
      
      The ocs-storagecluster-rbd-virtualization should be selected/displayed as the default storage class when selecting Edit of the rootdisk.
      
      Not sure if this defect is in the OCP Console or the OpenShift Virtualization Operator.
      
      

       

       

       

      Version-Release number of selected component (if applicable):

      4.15.1

      How reproducible:

      When creating a new VM and selecting the "Customize Virtual Machine", Disks, and then Edit for the rootdisk, the Storage Class defaults to ocs-storagecluster-ceph-rbd instead of the ocs-storageclsuter-rbd-virtualization storage class. This creates confusion to the end users because if you don't change it and click Cancel, it will use the ocs-storagecluster-rbd-virtualization storage class. If you don't change it and click Save, the ocs-storagecluster-rbd storage class is used.

      Steps to Reproduce:

      1.  Click Customize VirtualMachine
      2.  Select Disks from the top menu bar
      3.  Click the ellipses to the far right of the rootdisk, click Edit
      4.  Scroll down to StorageClass, ocs-storagecluster-ceph-rbd will be displayed/selected.
      5.  If you click Save, ocs-storagecluster-ceph-rbd storage class will be used.  If you click Cancel and not make any changes, the ocs-storagecluster-ceph-rbd-virtualization will be used.

      Actual results:

      See above - step 5.

      Expected results:

      The ocs-storagecluster-ceph-rbd-virtualization storage class should be displayed/selected as the default.  If the users changes it, the specified storage class should be used.  Otherwise, the ocs-storagecluster-ceph-rbd-virtualization should be used.

      Additional info:

       

        1. virt-default-sc.mp4
          1018 kB
          Aviv Turgeman
        2. storageclass-default.png
          31 kB
          Brenda Mclaren
        3. StorageClass (default).png
          35 kB
          Brenda Mclaren
        4. Edit disk.png
          61 kB
          Brenda Mclaren
        5. editDisk.png
          68 kB
          Brenda Mclaren
        6. bmclaren-screenrecord.mov
          31.02 MB
          Brenda Mclaren

              aturgema Aviv Turgeman
              rh-ee-bmclaren Brenda Mclaren
              Leon Kladnitsky Leon Kladnitsky
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: