[openstack-dev] PCI pass-through SRIOV
Moshe Levi
moshele at mellanox.com
Tue May 26 14:24:18 UTC 2015
This is a different error
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] libvirtError: internal error: process exited while connecting to monitor: 2015-05-26T04:34:07.980897Z qemu-kvm: -device vfio-pci,host=81:02.3,id=hostdev0,bus=pci.0,addr=0x4: vfio: failed to open /dev/vfio/vfio: Operation not permitted
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] 2015-05-26T04:34:07.980951Z qemu-kvm: -device vfio-pci,host=81:02.3,id=hostdev0,bus=pci.0,addr=0x4: vfio: failed to setup container for group 49
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] 2015-05-26T04:34:07.980970Z qemu-kvm: -device vfio-pci,host=81:02.3,id=hostdev0,bus=pci.0,addr=0x4: vfio: failed to get group 49
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] 2015-05-26T04:34:07.980995Z qemu-kvm: -device vfio-pci,host=81:02.3,id=hostdev0,bus=pci.0,addr=0x4: Device initialization failed.
2015-05-26 13:34:08.081 TRACE nova.compute.manager [instance: 101776a0-cd2e-47b9-bdc4-1097782201c6] 2015-05-26T04:34:07.981019Z qemu-kvm: -device vfio-pci,host=81:02.3,id=hostdev0,bus=pci.0,addr=0x4: Device 'vfio-pci' could not be initialized
You are using intel card therefore I think you should contact them and ask if this card is supported.
From: Kamsali, RaghavendraChari (Artesyn) [mailto:RaghavendraChari.Kamsali at artesyn.com]
Sent: Tuesday, May 26, 2015 4:49 PM
To: Kamsali, RaghavendraChari (Artesyn); Moshe Levi; OpenStack Development Mailing List (not for usage questions); openstack at lists.openstack.org
Subject: RE: [openstack-dev] PCI pass-through SRIOV
Please find the attachment for the logs when changed in ml2_conf_sriov.ini
From: Kamsali, RaghavendraChari (Artesyn) [mailto:RaghavendraChari.Kamsali at artesyn.com]
Sent: Tuesday, May 26, 2015 1:36 PM
To: Moshe Levi; OpenStack Development Mailing List (not for usage questions); openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: Re: [Openstack] [openstack-dev] PCI pass-through SRIOV
Hi,
Yes I changed it on what you mentioned in ml2_conf_sriov.ini ,but same issue occurs.
Thanks and Regards,
Raghavendrachari kamsali,
Embedded Computing and Power,
Hyderabad, AndhraPradesh , India
From: Moshe Levi [mailto:moshele at mellanox.com]
Sent: Tuesday, May 26, 2015 12:58 PM
To: Kamsali, RaghavendraChari [ENGINEERING/IN]; OpenStack Development Mailing List (not for usage questions); openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: RE: [openstack-dev] PCI pass-through SRIOV
Hi Kamsali,
This is the error:
Refusing to bind due to unsupported vnic_type: direct
Please add the following to you ml2_conf.ini
supported_pci_vendor_devs = 8086:154c
Thanks,
Moshe Levi
From: Kamsali, RaghavendraChari (Artesyn) [mailto:RaghavendraChari.Kamsali at artesyn.com]
Sent: Monday, May 25, 2015 2:31 PM
To: Moshe Levi; OpenStack Development Mailing List (not for usage questions); openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: RE: [openstack-dev] PCI pass-through SRIOV
FYI,
Neutron-server logs,
Ml2 config file on compute and controller
Nova.conf file
From: Moshe Levi [mailto:moshele at mellanox.com]
Sent: Saturday, May 23, 2015 7:53 PM
To: OpenStack Development Mailing List (not for usage questions); openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: Re: [Openstack] [openstack-dev] PCI pass-through SRIOV
Hi Kamsali,
According to the logs you got binding failed error, which mean neutron failed to bind the port.
Can you send the neutron server log and the your neutron ml2 conf file?
Thank,
Moshe Levi
From: Kamsali, RaghavendraChari (Artesyn)<mailto:RaghavendraChari.Kamsali at artesyn.com>
Sent: Saturday, May 23, 2015 6:38 AM
To: OpenStack Development Mailing List (not for usage questions)<mailto:openstack-dev at lists.openstack.org>, openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Hi,
Am deploying controller-compute openstack setup , in controller I configured openvswitch bridges and in computed node I configured PCI nic supported SRIOV capability and while am spawning VM am getting following error as in attached file:
I followed the link for setting up the sriov https://wiki.openstack.org/wiki/SR-IOV-Passthrough-For-Networking and http://www.qlogic.com/solutions/Documents/UsersGuide_OpenStack_SR-IOV.pdf
Could any one help me regarding this issue
Thanks and Regards,
Raghavendrachari kamsali,
Embedded Computing and Power,
Hyderabad, AndhraPradesh , India
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150526/b7c0df35/attachment.html>
More information about the OpenStack-dev
mailing list