[Openstack] Failed to launch instance "ded": Please try again later [Error: No valid host was found. ]

Mridhul Pax mridhul at live.com
Wed Jul 30 05:41:04 UTC 2014


Still seeing the instance creation as failed., Some logs I can see in the nova-compute is

2014-07-30 11:08:29.369 15993 AUDIT nova.compute.manager [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Starting instance...2014-07-30 11:08:29.454 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Attempting claim: memory 512 MB, disk 1 GB, VCPUs 12014-07-30 11:08:29.455 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Total memory: 16043 MB, used: 1024.00 MB2014-07-30 11:08:29.456 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] memory limit: 24064.50 MB, free: 23040.50 MB2014-07-30 11:08:29.457 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Total disk: 15 GB, used: 1.00 GB2014-07-30 11:08:29.457 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] disk limit not specified, defaulting to unlimited2014-07-30 11:08:29.458 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Total CPUs: 8 VCPUs, used: 1.00 VCPUs2014-07-30 11:08:29.458 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] CPUs limit not specified, defaulting to unlimited2014-07-30 11:08:29.459 15993 AUDIT nova.compute.claims [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Claim successful2014-07-30 11:08:30.063 15993 INFO nova.virt.libvirt.driver [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Creating image2014-07-30 11:08:30.222 15993 WARNING nova.virt.disk.vfs.guestfs [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] Failed to close augeas aug_close: call launch before using this function(in guestfish, don't forget to use the 'run' command)2014-07-30 11:08:30.380 15993 ERROR nova.compute.manager [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Instance failed to spawn2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Traceback (most recent call last):2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1714, in _spawn2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     block_device_info)2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2263, in spawn2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     write_to_disk=True)2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3449, in to_xml2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     disk_info, rescue, block_device_info)2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3265, in get_guest_config2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     flavor)2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     _("Unexpected vif_type=%s") % vif_type)2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] NovaException: Unexpected vif_type=binding_failed2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] 2014-07-30 11:08:30.417 15993 AUDIT nova.compute.manager [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Terminating instance2014-07-30 11:08:30.425 15993 ERROR nova.virt.libvirt.driver [-] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] During wait destroy, instance disappeared.2014-07-30 11:08:30.545 15993 INFO nova.virt.libvirt.driver [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Deleting instance files /var/lib/nova/instances/6c11f338-65a1-48d7-b57e-b6a6c40b50182014-07-30 11:08:30.546 15993 INFO nova.virt.libvirt.driver [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Deletion of /var/lib/nova/instances/6c11f338-65a1-48d7-b57e-b6a6c40b5018 complete2014-07-30 11:08:30.917 15993 ERROR nova.compute.manager [req-717d497b-7f8f-4bd9-aed4-ebf98082a593 95c6a71a0cad4609802f5d1913e0bed9 3b520a5c1f744066a423f00e814ffbc0] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Error: Unexpected vif_type=binding_failed2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Traceback (most recent call last):2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1305, in _build_instance2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     set_access_ip=set_access_ip)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     return function(self, context, *args, **kwargs)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1717, in _spawn2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     LOG.exception(_('Instance failed to spawn'), instance=instance)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     six.reraise(self.type_, self.value, self.tb)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1714, in _spawn2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     block_device_info)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2263, in spawn2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     write_to_disk=True)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3449, in to_xml2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     disk_info, rescue, block_device_info)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3265, in get_guest_config2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     flavor)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 384, in get_config2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018]     _("Unexpected vif_type=%s") % vif_type)2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] NovaException: Unexpected vif_type=binding_failed2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] ^C


From: mridhul at live.com
To: robert.vanleeuwen at spilgames.com; openstack at lists.openstack.org
Subject: RE: [Openstack] Failed to launch instance "ded": Please try again later [Error: No valid host was found. ]
Date: Mon, 28 Jul 2014 14:47:24 +0530




Thanks Rob. Where Can i increase the port quota ? Can you please help me with it ?

> From: Robert.vanLeeuwen at spilgames.com
> To: mridhul at live.com; openstack at lists.openstack.org
> Subject: RE: [Openstack] Failed to launch instance "ded": Please try again later [Error: No valid host was found. ]
> Date: Mon, 28 Jul 2014 08:29:59 +0000
> 
> > I've deployed an openstack setup on my LAB (3-Node Architecture) and Im observing getting the following error while launching an instance.
> > Error: Failed to launch instance "ded": Please try again later [Error: No valid host was found. ].
> >
> > 2014-07-28 13:24:59.389 2797 TRACE nova.compute.manager [instance: 4b459e38-ab20-42e5-ae79-1e98a0730c85] PortLimitExceeded: Maximum number of ports exceeded
> 
> That looks to be the issue.
> Increase the port quota global / of the tenant and you should be fine again.
> 
> Cheers,
> Robert van Leeuwen
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140730/76a86bd1/attachment.html>


More information about the Openstack mailing list