Asking for different vGPU types is racey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Sylvain Bauza | ||
Ussuri |
Fix Committed
|
Undecided
|
Unassigned | ||
Victoria |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When testing on Victoria virtual GPUs, I wanted to have different types :
[devices]
enabled_vgpu_types = nvidia-
[vgpu_nvidia-320]
device_addresses = 0000:04:
[vgpu_nvidia-321]
device_addresses = 0000:04:02.3
Unfortunately, I saw that only the first type was used.
When restarting the nova-compute service, we got the log :
WARNING nova.virt.
It's due to the fact that we call _get_supported_
[2] https:/
A simple fix would just be to make sure we have dynamic options within _get_supported_
Fix proposed to branch: master /review. opendev. org/758470
Review: https:/