Ask Your Question

Haisang Wu's profile - activity

2016-09-01 11:20:13 -0500 received badge  Nice Question (source)
2015-03-30 02:59:01 -0500 received badge  Famous Question (source)
2015-03-11 04:15:45 -0500 received badge  Notable Question (source)
2015-02-06 18:50:05 -0500 received badge  Enthusiast
2015-02-05 15:15:20 -0500 received badge  Popular Question (source)
2015-02-03 06:15:01 -0500 received badge  Student (source)
2015-02-02 23:28:02 -0500 asked a question Juno SR-IOV port with netlink response error when spawning a VM

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

Thanks...