Revision history [back]

click to hide/show revision 1
initial version

Unable to Launch Instance - Fresh Install 3 Node Openstack - NovaException: Unexpected vif_type=binding_failed

Hi Everybody,

I followed the Openstack Installation for Kilo and am attempting to launch my first instance using the Cirros Image. I am getting an Error: No valid host was found. There are not enough hosts available. And in my nova-compute.log on my compute node I am getting the NovaException: Unexpected vif_type=binding_failed.

From reading the other questions of this type of nature it appears it is neutron related. I have checked my ml2 plugin connectivity and deleted and re-added the bridge connections and still no luck. I have pasted the error log below.

Any help is appreciated.

2015-06-27 08:14:32.484 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Total memory: 3939 MB, used: 512.00 MB 2015-06-27 08:14:32.484 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] memory limit: 5908.50 MB, free: 5396.50 MB 2015-06-27 08:14:32.491 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Total disk: 97 GB, used: 0.00 GB 2015-06-27 08:14:32.495 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] disk limit not specified, defaulting to unlimited 2015-06-27 08:14:32.552 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Claim successful 2015-06-27 08:14:32.750 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1') 2015-06-27 08:14:33.092 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1') 2015-06-27 08:14:33.968 3289 INFO nova.virt.libvirt.driver [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Creating image 2015-06-27 08:14:34.301 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1') 2015-06-27 08:14:34.636 3289 INFO nova.virt.disk.vfs.api [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] Unable to import guestfs, falling back to VFSLocalFS 2015-06-27 08:14:35.595 3289 ERROR nova.compute.manager [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Instance failed to spawn 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Traceback (most recent call last): 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2442, in _build_resources 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] yield resources 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2314, in _build_and_run_instance 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] block_device_info=block_device_info) 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2351, in spawn 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] write_to_disk=True) 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4172, in _get_guest_xml 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] context) 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4043, in _get_guest_config 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] flavor, virt_type) 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 374, in get_config 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] _("Unexpected vif_type=%s") % vif_type) 2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] NovaException: Unexpected vif_type=binding_failed

click to hide/show revision 2
No.2 Revision

Unable to Launch Instance - Fresh Install 3 Node Openstack - NovaException: Unexpected vif_type=binding_failed

Hi Everybody,

I followed the Openstack Installation for Kilo and am attempting to launch my first instance using the Cirros Image. I am getting an Error: No valid host was found. There are not enough hosts available. And in my nova-compute.log on my compute node I am getting the NovaException: Unexpected vif_type=binding_failed.

From reading the other questions of this type of nature it appears it is neutron related. I have checked my ml2 plugin connectivity and deleted and re-added the bridge connections and still no luck. I have pasted the error log below.

Any help is appreciated.

2015-06-27 08:14:32.484 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Total memory: 3939 MB, used: 512.00 MB
2015-06-27 08:14:32.484 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] memory limit: 5908.50 MB, free: 5396.50 MB
2015-06-27 08:14:32.491 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Total disk: 97 GB, used: 0.00 GB
2015-06-27 08:14:32.495 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] disk limit not specified, defaulting to unlimited
2015-06-27 08:14:32.552 3289 INFO nova.compute.claims [-] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Claim successful
2015-06-27 08:14:32.750 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-06-27 08:14:33.092 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-06-27 08:14:33.968 3289 INFO nova.virt.libvirt.driver [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Creating image
2015-06-27 08:14:34.301 3289 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1', 'compute1')
2015-06-27 08:14:34.636 3289 INFO nova.virt.disk.vfs.api [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] Unable to import guestfs, falling back to VFSLocalFS
2015-06-27 08:14:35.595 3289 ERROR nova.compute.manager [req-ab2b932e-0b9c-427e-93fc-0343eec2d4e2 - - - - -] [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Instance failed to spawn
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] Traceback (most recent call last):
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2442, in _build_resources
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     yield resources
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2314, in _build_and_run_instance
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     block_device_info=block_device_info)
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2351, in spawn
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     write_to_disk=True)
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4172, in _get_guest_xml
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     context)
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 4043, in _get_guest_config
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     flavor, virt_type)
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 374, in get_config
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6]     _("Unexpected vif_type=%s") % vif_type)
2015-06-27 08:14:35.595 3289 TRACE nova.compute.manager [instance: 474c6eee-dee3-416b-95ec-9fa86deeebf6] NovaException: Unexpected vif_type=binding_failed

vif_type=binding_failed