<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Esra,<div class=""><br class=""></div><div class="">I encountered the same problem after deleting the stack and re-deploying.</div><div class=""><br class=""></div><div class="">It turns out that 'heat stack-delete overcloud’ does remove the nodes from ‘nova list’ and one would assume that the baremetal servers are now ready to be used for the next stack, but when redeploying, I get the same message of not enough hosts available.</div><div class=""><br class=""></div><div class="">You can look into the nova logs and it mentions something about ‘node xxx is already associated with UUID yyyy’ and ‘I tried 3 times and I’m giving up’. The issue is that the UUID yyyy belonged to a prior unsuccessful deployment.</div><div class=""><br class=""></div><div class="">I’m now redeploying the basic OS to start from scratch again.</div><div class=""><br class=""></div><div class="">IB</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">__</div><div class="">Ignacio Bravo<br class="">LTG Federal, Inc</div><div class=""><a href="http://www.ltgfederal.com" class="">www.ltgfederal.com</a></div><div class="">Office: (703) 951-7760<br class=""></div></div></div><div><blockquote type="cite" class=""><div class="">On Oct 13, 2015, at 9:25 AM, Esra Celik <<a href="mailto:celik.esra@tubitak.gov.tr" class="">celik.esra@tubitak.gov.tr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""></div>
<div class="">Hi all,</div>
<div class=""></div>
<div class="">OverCloud deploy fails with error "No valid host was found"</div>
<div class=""></div>
<div class="">[stack@undercloud ~]$ openstack overcloud deploy --templates<br class="">Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates<br class="">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 class="">Heat Stack create failed.<br class=""><br class=""></div>
<div class="">Here are some logs:</div>
<div class=""></div>
<div class="">Every 2.0s: heat resource-list -n 5 overcloud | grep -v COMPLETE                                Tue Oct 13 16:18:17 2015<br class=""><br class="">+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br class="">| resource_name                             | physical_resource_id                          | resource_type                        | resource_status    | updated_time        | stack_name                            |<br class="">+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br class="">| Compute                                   | e33b6b1e-8740-4ded-ad7f-720617a03393          | OS::Heat::ResourceGroup                        | CREATE_FAILED      | 2015-10-13T10:20:36 | overcloud                             |<br class="">| Controller                                | 116c57ff-debb-4c12-92e1-e4163b67dc17          | OS::Heat::ResourceGroup                       | CREATE_FAILED      | 2015-10-13T10:20:36 | overcloud                             |<br class="">| 0                                         | 342a9023-de8f-4b5b-b3ec-498d99b56dc4          | OS::TripleO::Controller                       | CREATE_IN_PROGRESS | 2015-10-13T10:20:52 | overcloud-Controller-45bbw24xxhxs                            |<br class="">| 0                                         | e420a7bd-86f8-4cc1-b6a0-5ba8d1412453          | OS::TripleO::Compute                        | CREATE_FAILED      | 2015-10-13T10:20:54 | overcloud-Compute-vqk632ysg64r                             |<br class="">| Controller                                | 2e9ac712-0566-49b5-958f-c3e151bb24d7          | OS::Nova::Server                        | CREATE_IN_PROGRESS | 2015-10-13T10:20:54 | overcloud-Controller-45bbw24xxhxs-0-3vyhjiak2rsk                             |<br class="">| NovaCompute                               | 96efee56-81cb-46af-beef-84f4a3af761a          | OS::Nova::Server                        | CREATE_FAILED      | 2015-10-13T10:20:56 | overcloud-Compute-vqk632ysg64r-0-32nalzkofmef                             |<br class="">+-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br class=""><br class=""></div>
<div class=""></div>
<div class="">[stack@undercloud ~]$ heat resource-show overcloud Compute<br class="">+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class="">| Property               | Value                                                                                                                                                                                    |<br class="">+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class="">| attributes             | {                                                                                                                                                                                        |<br class="">|                           |   "attributes": null,                                                                                                                                                                    |<br class="">|                           |   "refs": null                                                                                                                                                                           |<br class="">|                           | }                                                                                                                                                                                        |<br class="">| creation_time          | 2015-10-13T10:20:36                                                                                                                                                                      |<br class="">| description            |                                                                                                                                                                                          |<br class="">| links                  | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute" class="">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute</a> (self)                                                 |<br class="">|                         | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70" class="">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70</a> (stack)                                                                  |<br class="">|                         | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393" class="">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393</a> (nested)                                            |<br class="">| logical_resource_id    | Compute                                                                                                                                                                                  |<br class="">| physical_resource_id   | e33b6b1e-8740-4ded-ad7f-720617a03393                                                                                                                                                     |<br class="">| required_by            | ComputeAllNodesDeployment                                                                                                                                                                |<br class="">|                        | ComputeNodesPostDeployment                                                                                                                                                               |<br class="">|                        | ComputeCephDeployment                                                                                                                                                                    |<br class="">|                        | ComputeAllNodesValidationDeployment                                                                                                                                                      |<br class="">|                        | AllNodesExtraConfig                                                                                                                                                                      |<br class="">|                        | allNodesConfig                                                                                                                                                                           |<br class="">| resource_name          | Compute                                                                                                                                                                                  |<br class="">| resource_status        | CREATE_FAILED                                                                                                                                                                            |<br class="">| 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 class="">| resource_type          | OS::Heat::ResourceGroup                                                                                                                                                                  |<br class="">| updated_time           | 2015-10-13T10:20:36                                                                                                                                                                      |<br class="">+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br class=""><br class=""><br class=""></div>
<div class=""></div>
<div class="">This is my instackenv.json for 1 compute and 1 control node to be deployed.</div>
<div class=""></div>
<div class="">{<br class="">    "nodes": [<br class="">        {<br class="">            "pm_type":"pxe_ipmitool",<br class="">            "mac":[<br class="">                "08:9E:01:58:CC:A1"<br class="">            ],<br class="">            "cpu":"4",<br class="">            "memory":"8192",<br class="">            "disk":"10",<br class="">            "arch":"x86_64",<br class="">            "pm_user":"root",<br class="">            "pm_password":"calvin",<br class="">            "pm_addr":"192.168.0.18"<br class="">        },<br class="">        {<br class="">            "pm_type":"pxe_ipmitool",<br class="">            "mac":[<br class="">                "08:9E:01:58:D0:3D"<br class="">            ],<br class="">            "cpu":"4",<br class="">            "memory":"8192",<br class="">            "disk":"100",<br class="">            "arch":"x86_64",<br class="">            "pm_user":"root",<br class="">            "pm_password":"calvin",<br class="">            "pm_addr":"192.168.0.19"<br class="">        }<br class="">    ]<br class="">}<br class=""><br class=""><br class="">Any ideas? Thanks in advance</div>
<div class=""></div>
<div class=""></div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #cc0000; font-size: 9px;" class=""><strong class="">Esra ÇELİK</strong></div>
<div style="font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;" class="">TÜBİTAK BİLGEM</div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;" class=""><span class="Object" id="OBJ_PREFIX_DWT517_com_zimbra_url"><a href="http://www.bilgem.tubitak.gov.tr/" class="">www.bilgem.tubitak.gov.tr</a></span></div>
<div style="margin-top: 4px; font-family: Tahoma,Geneva,sans-serif; color: #404040; font-size: 9px;" class=""><span class="Object"><a href="mailto:celik.esra@tubitak.gov.tr" class="">celik.esra@tubitak.gov.tr</a><br class=""></span></div>
<div class=""></div>_______________________________________________<br class="">Rdo-list mailing list<br class=""><a href="mailto:Rdo-list@redhat.com" class="">Rdo-list@redhat.com</a><br class="">https://www.redhat.com/mailman/listinfo/rdo-list<br class=""><br class="">To unsubscribe: rdo-list-unsubscribe@redhat.com</div></blockquote></div><br class=""></div></body></html>