[Openstack] NovaException: Unexpected vif_type=binding_failed

Sadia Bashir 11msccssbashir at seecs.edu.pk
Wed Dec 31 11:13:18 UTC 2014


Hello everyone,

I am getting following error in nova-compute.log while creating a virtual
machine with sriov nic type on Juno All-In-One Installation (Ubuntu14.04):

2014-12-31 02:40:49.416 20653 INFO nova.virt.libvirt.driver [-] [instance:
53519867-d316-4ace-b1d6-abebe4986f01] Creating image
2014-12-31 02:40:49.662 20653 INFO nova.virt.disk.vfs.api [-] Unable to
import guestfsfalling back to VFSLocalFS
2014-12-31 02:40:50.162 20653 ERROR nova.compute.manager [-] [instance:
53519867-d316-4ace-b1d6-abebe4986f01] Instance failed to spawn
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01] Traceback (most recent call last):
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2249, in
_build_resources
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]     yield resources
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2119, in
_build_and_run_instance
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]
block_device_info=block_device_info)
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2619,
in spawn
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]     write_to_disk=True)
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4150,
in _get_guest_xml
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]     context)
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3936,
in _get_guest_config
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]     flavor, CONF.libvirt.virt_type)
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]   File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 352, in
get_config
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01]     _("Unexpected vif_type=%s") %
vif_type)
2014-12-31 02:40:50.162 20653 TRACE nova.compute.manager [instance:
53519867-d316-4ace-b1d6-abebe4986f01] NovaException: Unexpected
vif_type=binding_failed

After configuring I have made changes to /etc/init/neutron-server.conf and
neutron-plugin-sriov-agent.conf scripts to avoid errors.

Please let me know the exact reason which is causing this error and how can
it be fixed. Any help/suggestion would be highly appreciated.

Thanks and Regards,
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141231/49d16927/attachment.html>


More information about the Openstack mailing list