libvirtError when use SR-IOV: message too long

asked 2016-02-24 02:18:00 -0600

He Qing gravatar image

I have a three node enviroment: 1 controller&network, 2 compute nodes, Kilo release, nic is Intel 82599ES.

Host: ubuntu14.04 with kernel version 3.16.0-37-generic
VM: ubuntu14.04 with kernel version 3.19.0-25-generic
ixgbe version: 4.3.13
ixgbevf version: 3.1.2

# virsh version
Compiled against library: libvirt 1.2.12
Using library: libvirt 1.2.12
Using API: QEMU 1.2.12
Running hypervisor: QEMU 2.2.0

when I set sriov_numvfs to 7 or 15, it works all right. But when I set sriov_numvfs to 63, launch instance failed and found errors in libvirtd.log:

2016-02-23 03:36:06.614+0000: 2544: error : virNetDevLinkDump:1735 : error dumping eth4 (3) interface: Message too long
2016-02-23 03:36:06.628+0000: 2544: error : virFileReadAll:1347 : Failed to open file '/var/run/libvirt/hostdevmgr/eth4_vf62': No such file or directory
2016-02-23 03:36:06.628+0000: 2544: error : virFileReadAll:1347 : Failed to open file '/var/run/libvirt/qemu/eth4_vf62': No such file or directory

Thanks a lot if you have ideas :))

edit retag flag offensive close merge delete

Comments

Can u check if the file /var/run/libvirt/qemu/eth4_vf62 exists?

teju gravatar imageteju ( 2016-02-24 22:57:21 -0600 )edit

It does not exist. I think the last two lines are not related because they were printed when nova find out that launch instance failed and try to destroy everything. I saw '/var/run/libvirt/hostdevmgr/eth4_vf14' when I set sriov_numvfs to 15 and successfully lunched a instance

He Qing gravatar imageHe Qing ( 2016-02-25 01:45:52 -0600 )edit