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

UI goes blank when changing the storage class field when adding a disk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • CNV v4.16.0
    • CNV v4.16.0
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.16.0.rhel9-2004
    • ---
    • ---
    • High
    • No

      Description of problem:

      When adding a disk to a virtual machine, and changing the storage class field, the user interface goes blank. This seems to happen when the newly selected storage class does not have the access mode and volume mode that were set for the previous storage profile.

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

      OCP 4.15.2
      OpenShift virtualization 4.15.0
      Chrome Version 123.0.6312.87 (Official Build) (arm64) on Mac

      How reproducible:

      Always

      Steps to Reproduce:

      I'm using OpenShift Data Foundation, which has a storage class "ocs-storagecluster-ceph-rbd", which offers volume mode = block and another storageclass "ocs-storagecluster-cephfs", which offers volume mode = file.
      
      1. Go to a VM -> configuration -> storage -> add disk
      2. Select "Blank (creates PVC)"
      3. Verify "ocs-storagecluster-ceph-rbd" is selected with access mode RWX and Volume mode Block 
      4. Change the storageclass to "ocs-storagecluster-cephfs"
      5. The whole windows goes blank
      6. Refresh the page
      7. Click Add disk
      8. Verify "ocs-storagecluster-ceph-rbd" is selected with access mode RWX and Volume mode Block 
      9. unselect "Apply optimized StorageProfile settings"
      10. select RWO
      11. select Filesystem
      12. Change the storageclass to "ocs-storagecluster-cephfs"
      13. This works

      Expected results:

      When changing the storage class field, the UI should also change the access mode and volume mode for the new storage class. Especially, when the new storage class does not support the previous settings.

       

            aturgema Aviv Turgeman
            ddemoiti Dieter De Moitie
            Leon Kladnitsky Leon Kladnitsky
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: