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

[2118967] What storageClass should the VM use if the default storageClass is different from the dataSource

XMLWordPrintable

    • High
    • None

      Description of problem:
      Open discussion:
      What storageClass should the VM use if the default storageClass is different from the dataSource?

      Currently in 4.11, the VM is using the default storageClass, but it can cause a performance issue. For example, the storageClass of dataSource is HPP and the default storageClass is OCS, create a VM, the VM disk clone is very slow because the target SC and source SC are different.

      So raise the question here, what the storageClass should the VM use?
      Suggest solution:
      1. if the template has bootsource, the VM SC should align the bootSource, to avoid performance issue.
      2. if the template has no bootsource, the VM use the default SC.
      3. document this behavior

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

      How reproducible:
      100%

      Steps to Reproduce:
      1. verify the dataSource SC is HPP
      2. modify the default storageClass to OCS
      3. create a vm and monitor its status

      Actual results:
      VM disk importing is very slow, usually takes about 10 minutes

      Expected results:
      VM disk importing is quickly

      Additional info:

              mschatzm@redhat.com Matan Schatzman
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: