dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

[backport v2.8.next1] If you assign a vGPU profile via node driver to a VM it doesn't show up in Harvester UI

Open torchiaf opened this issue 9 months ago • 0 comments

This is a backport issue for https://github.com/rancher/dashboard/issues/10905.

Original body:

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 https://github.com/rancher/dashboard/pull/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

torchiaf avatar Apr 30 '24 16:04 torchiaf