[Openstack] NovaException: Unexpected vif_type=binding_failed

Pedro Navarro Pérez pednape at gmail.com
Wed Dec 31 16:11:26 UTC 2014


Hi Sadia,

the binding occurs when calling the binding function in the sriov
mechanism. I'd check the following:

1. The network type you are using when creating the port is VLAN
2. Are you using neutron-sriov-agent?

In my case, I found this error when using not VLAN type.

Regards

On Wed, Dec 31, 2014 at 12:13 PM, Sadia Bashir <11msccssbashir at seecs.edu.pk>
wrote:

> 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,
> --
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
Pedro Navarro Pérez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141231/6fce71a3/attachment.html>


More information about the Openstack mailing list