Need an option to manage vgpu devices types
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
There are 3 options to present a gpu to a guest:
- PCI passthrough
- SR-IOV
- vGPUs
The later is actually not usable with nova-compute charm, as the [devices] section of nova.conf is not handled (see [1] [2]).
A first step, which should be pretty strait forward, would be to allow a single value for "enabled_
In terms of documentation, if the GPU driver is correctly installed on the hypervisor (qemu-kvm here), vgpu types can be discovered either with "mdevctl types" command or by listing "/sys/bus/
[1] https:/
[2] https:/
description: | updated |
Changed in charm-nova-compute: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Also apparmor policy of nova-compute needs to be updated in order for the process to be able to create vgpu via the sysfs. Below a working example added to "/etc/apparmor. d/usr.bin. nova-compute" :
--- snip --- pci*/*/ */mdev_ supported_ types/* /create w,
/sys/devices/
--- snip ---