nvidia driver limits to one single GPU per guest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Low
|
Sylvain Bauza |
Bug Description
If you want to provide a flavor with "resources:VGPU=2" (or more) and have compute nodes using nvidia cards (ie. having PCI devices that have a 16-bit vendor ID of "10de"), then QEMU throws an exception that is due to the nvidia driver not supporting more than 1 IOMMU group per guest.
libvirtError: internal error: qemu unexpectedly closed the monitor: 2018-03-
2018-03-
Verify all devices in group 1 are bound to vfio-<bus> or pci-stub and not already in use
Accordingly to that limitation, Nova should limit the maximum unit of possible resources per allocation depending on the PCI device vendor ID.
Isn't that a thing could be solved with the max_unit property for Placement inventory? /developer. openstack. org/api- ref/placement/ #update- resource- provider- inventories
https:/