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

[2046298] mdevs not configured with drivers installed, if mdev config added to HCO CR before drivers are installed

XMLWordPrintable

    • False
    • False
    • CLOSED
    • Release Notes
    • Hide
      If you configure the HyperConverged custom resource (CR) to enable mediated devices before drivers are installed, the new device configuration does not take effect. This issue can be triggered by updates. For example, if virt-handler is updated before daemonset, which installs NVIDIA drivers, then nodes cannot provide virtual machine GPUs. (BZ#2046298)

      As a workaround:

              1. Remove mediatedDevicesConfiguration and permittedHostDevices from the HyperConverged CR.

              2. Update both mediatedDevicesConfiguration and permittedHostDevices stanzas with the configuration you want to use.
      Show
      If you configure the HyperConverged custom resource (CR) to enable mediated devices before drivers are installed, the new device configuration does not take effect. This issue can be triggered by updates. For example, if virt-handler is updated before daemonset, which installs NVIDIA drivers, then nodes cannot provide virtual machine GPUs. (BZ#2046298) As a workaround:         1. Remove mediatedDevicesConfiguration and permittedHostDevices from the HyperConverged CR.         2. Update both mediatedDevicesConfiguration and permittedHostDevices stanzas with the configuration you want to use.
    • Known Issue
    • Done
    • CNV Virtualization Sprint 224, CNV Virtualization Sprint 225, CNV Virtualization Sprint 226, CNV Virtualization Sprint 227, CNV Virtualization Sprint 228
    • High
    • None

      Description of problem:
      mdevs not configured with drivers installed, if mdev config added to HCO CR before drivers are installed

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

      How reproducible:
      1) When mdev config added to HCO CR before drivers are installed.
      2) mdevs do not get configured later, even with drivers installed.

      Steps to Reproduce:
      0) Do not configure the GPU nodes with the NVIDIA Drivers.
      1. Update HCO CR with the below config.
      mediatedDevicesConfiguration:
      mediatedDevicesTypes:

      • nvidia-231
      • nvidia-232
        permittedHostDevices:
        mediatedDevices:
      • mdevNameSelector: "GRID T4-2Q"
        resourceName: "nvidia.com/GRID_T4_2Q"
      • mdevNameSelector: "GRID T4-4Q"
        resourceName: "nvidia.com/GRID_T4_4Q"
        2. Remove the above HCO CR entry.
        3. Configure the GPU nodes with the NVIDIA Drivers.
        4. Update HCO CR with the below config.
        mediatedDevicesConfiguration:
        mediatedDevicesTypes:
      • nvidia-231
      • nvidia-232
        permittedHostDevices:
        mediatedDevices:
      • mdevNameSelector: "GRID T4-2Q"
        resourceName: "nvidia.com/GRID_T4_2Q"
      • mdevNameSelector: "GRID T4-4Q"
        resourceName: "nvidia.com/GRID_T4_4Q"

      Actual results:
      mdevs not configured with drivers installed, if mdev config added to HCO CR before drivers are installed

      Expected results:
      Always, configure the mdevs whenever the drivers are installed

      Additional info:

              jelejosne Jed Lejosne
              kbidarka@redhat.com Kedar Bidarkar
              Akriti gupta Akriti gupta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: