SR-IOV: PCI devices aren't reconfigured when deallocated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Brent Eagles |
Bug Description
Note that this only affects SR-IOV configuration support and the physical function use case!
When an SR-IOV physical function is allocated to a VM, the PF and it's associated resources (e.g. virtual functions) "disappear" from the hypervisor host. When the VM is destroyed, the physical function may become available again but the scripts created by the current SR-IOV support are not run again. The result is that the virtual functions will no longer be available.
The implementation for configuring the virtual functions should be extended to execute when the physical functions are released back to the system.
NOTE: the SR-IOV hosts should have the NICs for the physical functions in the network configuration templates with HOTPLUG=yes. AFAICT, os-net-config doesn't support this at the moment.
I've assigned an importance of "medium" because doesn't affect tripleo itself or the majority of the users, but it is a pretty big deal for for NFV customers using SR-IOV.