Virtual function is being attached to port regardless of the exclude_devices configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Medium
|
Unassigned |
Bug Description
When configuring SR-IOV and excluding certain VFs in the exclude_devices entry of sriov_agent.ini, I encounter an issue where the excluded devices are still being attached to created ports. When I create a VM from scratch with a port attached to an excluded device, the VM creation eventually fails with the error "nova.exception
I use the following config for exclude a device, in the sriov_agent.ini:
[sriov_nic]
exclude_devices = enp65s0f0np0:
I can still create a port on that device, and I can see the pci_slot entry on the port as pci_slot=
Can you give some more info on the commands you're running (openstack port create, etc) and the versions? Looking at the code I don't see any fixed in this area, but maybe there's a code path that is failing to check the excluded devices. Thanks.