rancher / dashboard

The Rancher UI

Home Page:https://rancher.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If you assign a vGPU profile via node driver to a VM it doesn't show up in Harvester UI

noahgildersleeve opened this issue · comments

Setup

  • Rancher version:v2.8-head
  • Rancher UI Extensions:
  • Browser type & version: Chrome
    Version 124.0.6367.78
    Harvester Version: v1.3.0

Describe the bug

When you allocate a vGPU to a RKE2 cluster in Rancher with Harvester as the downstream provider the vGPU doesn't show up as assigned in the Harvester UI.
To Reproduce

  1. Set up vGPU profiles in Harvester
  2. Import Harvester into Rancher
  3. Create a new 1 node RKE2 cluster with Harvester as downstream provider
  4. Make the RKE2 cluster have one vGPU assigned to it
  5. Wait for cluster to come up
  6. Navigate to Harvester UI
  7. Edit config for the VM and check if the vGPU shows up
    Result

Expected Result

The vGPU should show up in the UI

Screenshots

Greenshot 2024-04-29 17 10 04

Greenshot 2024-04-29 15 34 38

Additional context

Found while testing #10833
The vGPU seems to be working on the VM, but it's not showing up in the UI. I think this might be related to how the vGPU is named. When it is added via the node driver it's just named vgpu in the YAML, but when it's added via the Harvester UI. It's hamed by the node and the pcideviceclaim.

Greenshot 2024-04-29 15 47 35
Greenshot 2024-04-29 15 46 44