Clusters Management UI does not display all vGPUs of the same profile
IsaSih 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 create a harvester cluster with vGPUs, only one of the vGPUs shows up in the list if you have more than one vGPU of the same profile enabled.
When you add another vGPU, the list doesn’t show any other available options.
To Reproduce
- Set up vGPU profiles (multiple) in Harvester
- Import Harvester into Rancher
- Go to Virtualization management -> Harvester UI for cluster -> vGPU Devices and enable 2 vGPUs of the same profile
- From Cluster Management, Create a new 1-node RKE2 cluster with Harvester as the downstream provider. Under Advanced options, add the first vGPU on the list of available vGpus. Then, try to add the second one.
- Observe the message displayed in the dropdown list
Result
Expected Result
All vGPUs of the same profile must be displayed in the dropdown list and be added to the cluster when provisioning a harvester cluster via Clusters Management
Additional Info
You can manually associate 2 vGPUs of the same profile directly to the VM from the dashboard UI, in Harvester UI -> Virtual Machines -> Edit config -> vGPU devices, but not from Cluster Management when provisioning the cluster
Validated in Rancher v2.8-862f57beb6ff7caeab6b4e3c00c89912050cf317-head
and Harvester v1.3.0.