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

Failed to start VM after adding multiple vGPUs in web console

XMLWordPrintable

    • No

      Description of problem:

      Failed to start VM after adding multiple vGPUs in web console

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

      CNV4.16 iib build:734430

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create VM from VM template successfully, check the VM is running. 
         Login to web console: Virtualization -> VirtualMachines -> Create -> From templates -> Red Hat Enterprise Linux 9 VM: VirtualMachine name: rhel9-uefi, Disk source: URL(Creates PVC), Image URL: http://dell-per740-36.lab.eng.pek2.redhat.com/libvirt-CI-resources/RHEL-9.4-x86_64-latest-ovmf.qcow2, Disk size: 12 GiB, click "Quick create VirtualMachine". 
      
      2. Add the vGPU by steps: Configuration -> Hardware devices -> GPU devices: Add 4 GPU devices: Device name: nvidia.com/GRID_T4-4Q
      
      3. Restart the VM, the VM is keep on starting status, hit the error:
      "server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=20,
            Message=''unsupported configuration: Only one vgpu device can have ''ramfb'' enabled'')"'
      
      Check the VM yaml file:
      #oc get vm rhel9-uefi -o yaml > rhel9-uefi.yaml
                gpus:
                - deviceName: nvidia.com/GRID_T4-4Q
                  name: gpus-aquamarine-chinchilla-19
                - deviceName: nvidia.com/GRID_T4-4Q
                  name: gpus-jade-hamster-74
                - deviceName: nvidia.com/GRID_T4-4Q
                  name: gpus-yellow-guanaco-60
                - deviceName: nvidia.com/GRID_T4-4Q
                  name: gpus-white-stork-27
      
      When use multiple vGPUs, the yaml file should like this:
                gpus:
                 - deviceName: nvidia.com/GRID_T4-4Q
                   name: gpus-aquamarine-chinchilla-19
                 - deviceName: nvidia.com/GRID_T4-4Q
                   name: gpus-jade-hamster-74
                   virtualGPUOptions:
                     display:
                       ramFB:
                         enabled: false

      Actual results:

      In step3: Faild to start the VM after adding 4 vGPU devices

      Expected results:

      In Step3: Start VM successfully.

      Additional info:

      - VM yaml file: rhel9-uefi.yaml

            sgott@redhat.com Stuart Gott
            chhu@redhat.com Chenli Hu
            Vasiliy Sibirskiy Vasiliy Sibirskiy
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: