PCI passthrough issue seen with Kilo
On a Kilo openstack installation using devstack (fedora 21)
PCI passthrough to VM fails:
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1037, in createWithFlags ^[[01;31m2015-05-19 15:53:52.475 TRACE nova.compute.manager ^[[01;35m[instance: b140bff4-ab14-48b4-83da-fe946257795e] ^[[00m if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) ^[[01;31m2015-05-19 15:53:52.475 TRACE nova.compute.manager ^[[01;35m[instance: b140bff4-ab14-48b4-83da-fe946257795e] ^[[00mlibvirtError: internal error: early end of file from monitor: possible problem: ^[[01;31m2015-05-19 15:53:52.475 TRACE nova.compute.manager ^[[01;35m[instance: b140bff4-ab14-48b4-83da-fe946257795e] ^[[00m2015-05-19T19:53:52.246745Z qemu-system-x86_64: -device vfio-pci,host=0a:10.3,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to open /dev/vfio/vfio: Operation not permitted
Any pointers on how to address this issue?
I am working in that also: https://ask.openstack.org/en/question... my sprunge : http://sprunge.us/QULS
What NIC do you use? Are you using the agent or you create a port and then boot an instance using nova boot CLI? Are you using macvtap or direct vif-type?
Are you using Fedora 21 ? I am doing regular pci passthrough (not sr-iov)
No I am using centos 7.1 and I try SR-IOV. But I my understanding this is the same thing to bind a PCI device, isn't it?
It should be. But for fedora i know that the default changed from pci-assign to vfio mode in fedora 21.