dashboard
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
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
- Set up vGPU profiles in Harvester
- Import Harvester into Rancher
- Create a new 1 node RKE2 cluster with Harvester as downstream provider
- Make the RKE2 cluster have one vGPU assigned to it
- Wait for cluster to come up
- Navigate to Harvester UI
- Edit config for the VM and check if the vGPU shows up Result
Expected Result
The vGPU should show up in the UI
Screenshots
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.