Juno SR-IOV port with netlink response error when spawning a VM

asked 2015-02-02 19:34:15 -0600

Haisang Wu gravatar image

Hello All,

I am using OpenStack Juno to bring up SR-IOV ports for a VM. Following https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking (https://wiki.openstack.org/wiki/SR-IO...) , I am able to create an SRIOV port with Neutron and start to boot a VM with Nova.

Nova schedules the VM with that SRIOV port onto a compute node (after checking that node is okay with all SR-IOV requirements), and starts building the instance. Then I meet the error at the building phase in that compute node:

"Build of instance a15d07b3-3a29-4d47-a658-64b59bb570d9 was re-scheduled: internal error: missing IFLA_VF_INFO in netlink response", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2014, in do_build_and_run_instance

It looks like the error is reported when parsing the VF config on the compute node. I have only 4 VFs created on that compute node. On that compute node, I tried to use the directive <hostdev mode="subsystem" type="pci" managed="yes"> for a VF (e.g. VF0) and manually attach VF0 to a VM, and it succeeded.

Using the directive <interface type="hostdev" managed="yes"> for VF0, and manually attaching VF0 to the VM failed with the exact same netlink error (missing IFLA_VF_INFO_LIST in netlink response).

Has anyone met the same issue? The <interface> directive was supported after libvirt 0.9.10, and my host libvirt is 1.2.2.

I was using Mirantis 6.0 as the OpenStack Juno distribution, and my testbed consists of 1 controller and 4 compute nodes.

On each compute node, Host kernel version: Ubuntu 12.04.4, Linux 3.13.0-40-generic Ethernet NIC (PF): Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

Ixgbe version: filename: /lib/modules/3.13.0-40-generic/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko version: 3.15.1-k

ixgbevf version: filename: /lib/modules/3.13.0-40-generic/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko version: 2.11.3-k


edit retag flag offensive close merge delete


Hello. I'm running into the same issue. Have you figured out a way around it?

Florin gravatar imageFlorin ( 2015-02-05 15:14:44 -0600 )edit