<div>During deployment they are powering on and deploying the images. I see lot of connection error messages about ironic-python-agent but ignore them as mentioned here (https://www.redhat.com/archives/rdo-list/2015-October/msg00052.html)</div>
<div></div>
<div>In instackenv.json file I do not need to add the undercloud node, or do I?</div>
<div></div>
<div>And which log files should I watch during deployment?</div>
<div></div>
<div>Thanks</div>
<div>Esra</div>
<div></div>
<div></div>
<div>----- Orijinal Mesaj -----<br />Kimden: Marius Cornea <mcornea@redhat.com><br />Kime: Esra Celik <celik.esra@tubitak.gov.tr><br />Kk: Ignacio Bravo <ibravo@ltgfederal.com>, rdo-list@redhat.com<br />Gönderilenler: Tue, 13 Oct 2015 17:25:00 +0300 (EEST)<br />Konu: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was found"</div>
<div></div>
<div><br />----- Original Message -----<br />> From: "Esra Celik" <celik.esra@tubitak.gov.tr><br />> To: "Ignacio Bravo" <ibravo@ltgfederal.com><br />> Cc: rdo-list@redhat.com<br />> Sent: Tuesday, October 13, 2015 3:47:57 PM<br />> Subject: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was found"<br />> <br />> <br />> <br />> Actually I re-installed the OS for Undercloud before deploying. However I did<br />> not re-install the OS in Compute and Controller nodes.. I will reinstall<br />> basic OS for them too, and retry..</div>
<div></div>
<div>You don't need to reinstall the OS on the controller and compute, they will get the image served by the undercloud. I'd recommend that during deployment you watch the servers console and make sure they get powered on, pxe boot, and actually get the image deployed.</div>
<div></div>
<div>Thanks</div>
<div></div>
<div>> Thanks<br />> <br />> <br />> <br />> Esra ÇELİK<br />> TÜBİTAK BİLGEM<br />> www.bilgem.tubitak.gov.tr<br />> celik.esra@tubitak.gov.tr<br />> <br />> <br />> Kimden: "Ignacio Bravo" <ibravo@ltgfederal.com><br />> Kime: "Esra Celik" <celik.esra@tubitak.gov.tr><br />> Kk: rdo-list@redhat.com<br />> Gönderilenler: 13 Ekim Salı 2015 16:36:06<br />> Konu: Re: [Rdo-list] OverCloud deploy fails with error "No valid host was<br />> found"<br />> <br />> Esra,<br />> <br />> I encountered the same problem after deleting the stack and re-deploying.<br />> <br />> It turns out that 'heat stack-delete overcloud’ does remove the nodes from<br />> ‘nova list’ and one would assume that the baremetal servers are now ready to<br />> be used for the next stack, but when redeploying, I get the same message of<br />> not enough hosts available.<br />> <br />> You can look into the nova logs and it mentions something about ‘node xxx is<br />> already associated with UUID yyyy’ and ‘I tried 3 times and I’m giving up’.<br />> The issue is that the UUID yyyy belonged to a prior unsuccessful deployment.<br />> <br />> I’m now redeploying the basic OS to start from scratch again.<br />> <br />> IB<br />> <br />> __<br />> Ignacio Bravo<br />> LTG Federal, Inc<br />> www.ltgfederal.com<br />> Office: (703) 951-7760<br />> <br />> <br />> <br />> On Oct 13, 2015, at 9:25 AM, Esra Celik < celik.esra@tubitak.gov.tr > wrote:<br />> <br />> <br />> Hi all,<br />> <br />> OverCloud deploy fails with error "No valid host was found"<br />> <br />> [stack@undercloud ~]$ openstack overcloud deploy --templates<br />> Deploying templates in the directory<br />> /usr/share/openstack-tripleo-heat-templates<br />> Stack failed with status: Resource CREATE failed: resources.Compute:<br />> ResourceInError: resources[0].resources.NovaCompute: Went to status ERROR<br />> due to "Message: No valid host was found. There are not enough hosts<br />> available., Code: 500"<br />> Heat Stack create failed.<br />> <br />> Here are some logs:<br />> <br />> Every 2.0s: heat resource-list -n 5 overcloud | grep -v COMPLETE Tue Oct 13<br />> 16:18:17 2015<br />> <br />> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br />> | resource_name | physical_resource_id | resource_type | resource_status |<br />> | updated_time | stack_name |<br />> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br />> | Compute | e33b6b1e-8740-4ded-ad7f-720617a03393 | OS::Heat::ResourceGroup |<br />> | CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |<br />> | Controller | 116c57ff-debb-4c12-92e1-e4163b67dc17 | OS::Heat::ResourceGroup<br />> | | CREATE_FAILED | 2015-10-13T10:20:36 | overcloud |<br />> | 0 | 342a9023-de8f-4b5b-b3ec-498d99b56dc4 | OS::TripleO::Controller |<br />> | CREATE_IN_PROGRESS | 2015-10-13T10:20:52 |<br />> | overcloud-Controller-45bbw24xxhxs |<br />> | 0 | e420a7bd-86f8-4cc1-b6a0-5ba8d1412453 | OS::TripleO::Compute |<br />> | CREATE_FAILED | 2015-10-13T10:20:54 | overcloud-Compute-vqk632ysg64r |<br />> | Controller | 2e9ac712-0566-49b5-958f-c3e151bb24d7 | OS::Nova::Server |<br />> | CREATE_IN_PROGRESS | 2015-10-13T10:20:54 |<br />> | overcloud-Controller-45bbw24xxhxs-0-3vyhjiak2rsk |<br />> | NovaCompute | 96efee56-81cb-46af-beef-84f4a3af761a | OS::Nova::Server |<br />> | CREATE_FAILED | 2015-10-13T10:20:56 |<br />> | overcloud-Compute-vqk632ysg64r-0-32nalzkofmef |<br />> +-------------------------------------------+-----------------------------------------------+---------------------------------------------------+--------------------+---------------------+---------------------------------------------------------------------------------+<br />> <br />> <br />> [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 |<br />> | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute<br />> | (self) |<br />> | | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70<br />> | | (stack) |<br />> | | http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393<br />> | | (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:<br />> | resources[0].resources.NovaCompute: Went to status ERROR due to "Message:<br />> | No valid host was found. There are not enough hosts available., Code: 500"<br />> | |<br />> | resource_type | OS::Heat::ResourceGroup |<br />> | updated_time | 2015-10-13T10:20:36 |<br />> +------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+<br />> <br />> <br />> <br />> This is my instackenv.json for 1 compute and 1 control node to be deployed.<br />> <br />> {<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<br />> <br />> <br />> Esra ÇELİK<br />> TÜBİTAK BİLGEM<br />> www.bilgem.tubitak.gov.tr<br />> celik.esra@tubitak.gov.tr<br />> <br />> _______________________________________________<br />> Rdo-list mailing list<br />> Rdo-list@redhat.com<br />> https://www.redhat.com/mailman/listinfo/rdo-list<br />> <br />> To unsubscribe: rdo-list-unsubscribe@redhat.com<br />> <br />> <br />> <br />> _______________________________________________<br />> Rdo-list mailing list<br />> Rdo-list@redhat.com<br />> https://www.redhat.com/mailman/listinfo/rdo-list<br />> <br />> To unsubscribe: rdo-list-unsubscribe@redhat.com</div>
<div></div>