<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Still seeing the instance creation as failed., Some logs I can see in the nova-compute is<div><br></div><div><div><br></div><div><div>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...</div><div>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 1</div><div>2014-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 MB</div><div>2014-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 MB</div><div>2014-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 GB</div><div>2014-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 unlimited</div><div>2014-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 VCPUs</div><div>2014-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 unlimited</div><div>2014-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 successful</div><div>2014-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 image</div><div>2014-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</div><div>(in guestfish, don't forget to use the 'run' command)</div><div>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 spawn</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Traceback (most recent call last):</div><div>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 _spawn</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] block_device_info)</div><div>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 spawn</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] write_to_disk=True)</div><div>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_xml</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] disk_info, rescue, block_device_info)</div><div>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_config</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] flavor)</div><div>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_config</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] _("Unexpected vif_type=%s") % vif_type)</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] NovaException: Unexpected vif_type=binding_failed</div><div>2014-07-30 11:08:30.380 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] </div><div>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 instance</div><div>2014-07-30 11:08:30.425 15993 ERROR nova.virt.libvirt.driver [-] [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] During wait destroy, instance disappeared.</div><div>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-b6a6c40b5018</div><div>2014-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 complete</div><div>2014-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_failed</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] Traceback (most recent call last):</div><div>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_instance</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] set_access_ip=set_access_ip)</div><div>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_function</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] return function(self, context, *args, **kwargs)</div><div>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 _spawn</div><div>2014-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)</div><div>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__</div><div>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)</div><div>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 _spawn</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] block_device_info)</div><div>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 spawn</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] write_to_disk=True)</div><div>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_xml</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] disk_info, rescue, block_device_info)</div><div>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_config</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] flavor)</div><div>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_config</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] _("Unexpected vif_type=%s") % vif_type)</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] NovaException: Unexpected vif_type=binding_failed</div><div>2014-07-30 11:08:30.917 15993 TRACE nova.compute.manager [instance: 6c11f338-65a1-48d7-b57e-b6a6c40b5018] </div><div>^C</div><div><br></div><div><br><br><div><hr id="stopSpelling">From: mridhul@live.com<br>To: robert.vanleeuwen@spilgames.com; openstack@lists.openstack.org<br>Subject: RE: [Openstack] Failed to launch instance "ded": Please try again later [Error: No valid host was found. ]<br>Date: Mon, 28 Jul 2014 14:47:24 +0530<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Thanks Rob. Where Can i increase the port quota ? Can you please help me with it ?<br><br><div>> From: Robert.vanLeeuwen@spilgames.com<br>> To: mridhul@live.com; openstack@lists.openstack.org<br>> Subject: RE: [Openstack] Failed to launch instance "ded": Please try again later [Error: No valid host was found. ]<br>> Date: Mon, 28 Jul 2014 08:29:59 +0000<br>> <br>> > I've deployed an openstack setup on my LAB (3-Node Architecture) and Im observing getting the following error while launching an instance.<br>> > Error: Failed to launch instance "ded": Please try again later [Error: No valid host was found. ].<br>> ><br>> > 2014-07-28 13:24:59.389 2797 TRACE nova.compute.manager [instance: 4b459e38-ab20-42e5-ae79-1e98a0730c85] PortLimitExceeded: Maximum number of ports exceeded<br>> <br>> That looks to be the issue.<br>> Increase the port quota global / of the tenant and you should be fine again.<br>> <br>> Cheers,<br>> Robert van Leeuwen<br></div> </div></div></div></div></div> </div></body>
</html>