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

List only the supported volumeMode for the selected storage class

XMLWordPrintable

    • Quality / Stability / Reliability
    • 13
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.19.0.rhel9-121
    • Moderate
    • None

      Description of problem:

      When creating VM from console, select the option to customize VM creation. Select the disks and edit the disk to select the storage class. The 'AccessMode' and 'VolumeMode' are listed for the selected storage class and those are static values and do not change according to the selected storage class.
      
      We have an issue where selecting the volumemode which is not supported by storage class, then DV creation happens forever (https://issues.redhat.com/browse/CNV-55147).
      
      So to avoid customers ending up in this scenario, the validation should be added in the product. At the same time, it would be very helpful if the volumemode is refreshed according to the selected storage class.
      If this is not possible, then at least an 'info/caution note' to be added to the users to select the volumemode as supported by storage class.

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

      CNV v4.18

      How reproducible:

      Always

      Steps to Reproduce:

      1.Create VM from template, and select customize VM
      2. Edit the disk, select rootdisk, select the storage class which doesn't support volumeMode 'Block' for example: trident-nfs
      3. Now the volume mode stays with default value as 'Block'
      4. Create VM
      

      Actual results:

      VM creation doesn't complete.

      Expected results:

      1. The volumeMode should get updated to 'Filesystem' only value when the storage profile supports only 'Filesystem'
      2. If the above is not possible, add a important/caution note to users to select the volumeMode as supported by storage class

      Additional info:

       

        1. image-2025-04-02-12-37-47-993.png
          75 kB
          Radoslaw Szwajkowski
        2. Screencast from 2025-02-05 14-17-19.mp4
          313 kB
          Radoslaw Szwajkowski
        3. Screenshot From 2025-01-20 14-51-54.png
          151 kB
          Satheesaran Sundaramoorthi
        4. Screenshot From 2025-03-18 12-26-50.png
          56 kB
          Radoslaw Szwajkowski
        5. Screenshot From 2025-03-18 12-27-11.png
          48 kB
          Radoslaw Szwajkowski
        6. Screenshot From 2025-03-26 19-50-47.png
          69 kB
          Radoslaw Szwajkowski
        7. Screenshot From 2025-03-31 17-31-47.png
          84 kB
          Radoslaw Szwajkowski
        8. storage_profile_tooltips.png
          71 kB
          Radoslaw Szwajkowski
        9. storage_profile_tooltipsV2.png
          191 kB
          Radoslaw Szwajkowski

              rszwajko@redhat.com Radoslaw Szwajkowski
              sasundar@redhat.com Satheesaran Sundaramoorthi
              Leon Kladnitsky Leon Kladnitsky
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: