Error: No valid host was found (vif_type=binding_failed)

asked 2015-10-18 09:52:26 -0500

felix001 gravatar image

updated 2015-10-18 14:34:06 -0500

When I try to create an instance in Horizon. I get the following,

Error: Failed to perform requested operation on instance "xyz", the instance has an error status: Please try again later [`Error: No valid host was found`. There are not enough hosts available.].

When checking the logs I see,

==> /var/log/nova/nova-conductor.log <==

2015-10-18 15:06:11.928 14916 ERROR nova.scheduler.utils [req-492a0f94-24ec-4240-a1de-514666923c87 0c87847230f14bd8a916c24944f501c7 486426188f414e3698a4550fe55453fb - - -] [instance: 917ad91f-b1b1-44f0-b35a-697e4561288d] Error from last host: (node [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/", line 2235, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/", line 2381, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 917ad91f-b1b1-44f0-b35a-697e4561288d was re-scheduled: Unexpected vif_type=binding_failed\n']

==> /var/log/neutron/neutron-server.log <==

2015-10-18 08:00:19.030 15367 WARNING neutron.plugins.ml2.drivers.l2pop.mech_driver [req-ed23dc26-91c6-4721-abd9-57100b974a62 ] Unable to retrieve the agent ip, check the agent configuration.
2015-10-18 08:00:57.467 15367 ERROR neutron.plugins.ml2.managers [req-38f05c67-f5c5-4e1c-8889-67fbb12dd90a ] Failed to bind port 4f90c838-e16e-40ec-9051-e15efa0d94a0 on host
2015-10-18 14:56:07.974 15367 WARNING neutron.plugins.ml2.plugin [req-1662863c-0669-482e-aab7-036f21e7c11e ] In _notify_port_updated(), no bound segment for port 47ec0b7f-861f-418d-9fe5-f940f23cb2cb on network a02427e1-6f73-4893-afeb-32339ed8a4f4

Update - Below is the ml2 ini and neutron agent list from the bothe controller and compute node.

Any ideas ?

edit retag flag offensive close merge delete


Post as UPDATES to question neutron agent-list on Controller or Network node.
1.ml2_conf.ini on Controller/Network and Compute nodes
2.ovs_neutron_plugin.ini on Compute and Controller/Network nodes

dbaxps gravatar imagedbaxps ( 2015-10-18 10:01:57 -0500 )edit

updated. thanks for your help. Just tonote Im using linux bridges rather then ovs.

felix001 gravatar imagefelix001 ( 2015-10-18 14:34:35 -0500 )edit

Take a look how l2_population and arp_responder are tuned here
in files mentioned above on Controller && Compute nodes
Disregard options responsible for tuning DVR ( distributed routing )

dbaxps gravatar imagedbaxps ( 2015-10-18 16:02:57 -0500 )edit

What is the reason behind thinking this may help ?

felix001 gravatar imagefelix001 ( 2015-10-21 16:07:56 -0500 )edit