Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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: compute01.learningneutron.com (node compute01.learningneutron.com): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2235, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", 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 compute01.learningneutron.com
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

Any ideas ?

click to hide/show revision 2
No.2 Revision

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

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: [`Error: No valid host was found. 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: compute01.learningneutron.com (node compute01.learningneutron.com): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2235, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", 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 compute01.learningneutron.com
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

Any ideas ?

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

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: compute01.learningneutron.com (node compute01.learningneutron.com): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2235, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", 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 compute01.learningneutron.com
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.

  • controller - http://pastebin.com/7bFxaBxm
  • compute01 - http://pastebin.com/ivwmMwj1

Any ideas ?