<div></div>
<div>Hi all,</div>
<div></div>
<div>OverCloud deploy fails with error "No valid host was found"</div>
<div></div>
<div>[stack@undercloud ~]$ openstack overcloud deploy --templates<br />Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates<br />Stack failed with status: Resource CREATE failed: resources.Compute: ResourceInError: resources[0].resources.NovaCompute: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500"<br />Heat Stack create failed.<br /><br /></div>
<div>Here are some logs:</div>
<div></div>
<div>Every 2.0s: heat resource-list -n 5 overcloud | grep -v COMPLETE                                Tue Oct 13 16:18:17 2015<br /><br />+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br />| resource_name                             | physical_resource_id                          | resource_type                        | resource_status    | updated_time        | stack_name                            |<br />+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br />| Compute                                   | e33b6b1e-8740-4ded-ad7f-720617a03393          | OS::Heat::ResourceGroup                        | CREATE_FAILED      | 2015-10-13T10:20:36 | overcloud                             |<br />| Controller                                | 116c57ff-debb-4c12-92e1-e4163b67dc17          | OS::Heat::ResourceGroup                       | CREATE_FAILED      | 2015-10-13T10:20:36 | overcloud                             |<br />| 0                                         | 342a9023-de8f-4b5b-b3ec-498d99b56dc4          | OS::TripleO::Controller                       | CREATE_IN_PROGRESS | 2015-10-13T10:20:52 | overcloud-Controller-45bbw24xxhxs                            |<br />| 0                                         | e420a7bd-86f8-4cc1-b6a0-5ba8d1412453          | OS::TripleO::Compute                        | CREATE_FAILED      | 2015-10-13T10:20:54 | overcloud-Compute-vqk632ysg64r                             |<br />| Controller                                | 2e9ac712-0566-49b5-958f-c3e151bb24d7          | OS::Nova::Server                        | CREATE_IN_PROGRESS | 2015-10-13T10:20:54 | overcloud-Controller-45bbw24xxhxs-0-3vyhjiak2rsk                             |<br />| NovaCompute                               | 96efee56-81cb-46af-beef-84f4a3af761a          | OS::Nova::Server                        | CREATE_FAILED      | 2015-10-13T10:20:56 | overcloud-Compute-vqk632ysg64r-0-32nalzkofmef                             |<br />+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br /><br /></div>
<div></div>
<div>[stack@undercloud ~]$ heat resource-show overcloud Compute<br />+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br />| Property               | Value                                                                                                                                                                                    |<br />+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br />| attributes             | {                                                                                                                                                                                        |<br />|                           |   "attributes": null,                                                                                                                                                                    |<br />|                           |   "refs": null                                                                                                                                                                           |<br />|                           | }                                                                                                                                                                                        |<br />| creation_time          | 2015-10-13T10:20:36                                                                                                                                                                      |<br />| description            |                                                                                                                                                                                          |<br />| links                  | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute (self)                                                 |<br />|                         | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70 (stack)                                                                  |<br />|                         | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393 (nested)                                            |<br />| logical_resource_id    | Compute                                                                                                                                                                                  |<br />| physical_resource_id   | e33b6b1e-8740-4ded-ad7f-720617a03393                                                                                                                                                     |<br />| required_by            | ComputeAllNodesDeployment                                                                                                                                                                |<br />|                        | ComputeNodesPostDeployment                                                                                                                                                               |<br />|                        | ComputeCephDeployment                                                                                                                                                                    |<br />|                        | ComputeAllNodesValidationDeployment                                                                                                                                                      |<br />|                        | AllNodesExtraConfig                                                                                                                                                                      |<br />|                        | allNodesConfig                                                                                                                                                                           |<br />| resource_name          | Compute                                                                                                                                                                                  |<br />| resource_status        | CREATE_FAILED                                                                                                                                                                            |<br />| resource_status_reason | resources.Compute: ResourceInError: resources[0].resources.NovaCompute: Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500" |<br />| resource_type          | OS::Heat::ResourceGroup                                                                                                                                                                  |<br />| updated_time           | 2015-10-13T10:20:36                                                                                                                                                                      |<br />+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br /><br /><br /></div>
<div></div>
<div>This is my instackenv.json for 1 compute and 1 control node to be deployed.</div>
<div></div>
<div>{<br />    "nodes": [<br />        {<br />            "pm_type":"pxe_ipmitool",<br />            "mac":[<br />                "08:9E:01:58:CC:A1"<br />            ],<br />            "cpu":"4",<br />            "memory":"8192",<br />            "disk":"10",<br />            "arch":"x86_64",<br />            "pm_user":"root",<br />            "pm_password":"calvin",<br />            "pm_addr":"192.168.0.18"<br />        },<br />        {<br />            "pm_type":"pxe_ipmitool",<br />            "mac":[<br />                "08:9E:01:58:D0:3D"<br />            ],<br />            "cpu":"4",<br />            "memory":"8192",<br />            "disk":"100",<br />            "arch":"x86_64",<br />            "pm_user":"root",<br />            "pm_password":"calvin",<br />            "pm_addr":"192.168.0.19"<br />        }<br />    ]<br />}<br /><br /><br />Any ideas? Thanks in advance</div>
<div></div>
<div></div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #cc0000; font-size: 9px;"><strong>Esra ÇELİK</strong></div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;">TÜBİTAK BİLGEM</div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;"><span class="Object" id="OBJ_PREFIX_DWT517_com_zimbra_url"><a href="http://www.bilgem.tubitak.gov.tr">www.bilgem.tubitak.gov.tr</a></span></div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;"><span class="Object"><a href="mailto:celik.esra@tubitak.gov.tr">celik.esra@tubitak.gov.tr</a><br /></span></div>
<div></div>