<div dir="ltr"><div><div><div><div>Hi Esra,<br><br></div>I was testing overcloud deploy last week and found I had issues with my downloaded base image files. <br><span class="">I had this error:<br>ironic.conductor.manager [-] Error in
deploy of node dbe22019-290e-4f1f-8314-f48eb06e0f4c: Unexpected error
while running command.<br>Command: qemu-img convert -O raw
/var/lib/ironic/master_images/tmpxfNdZk/bcfeaad9-c2b4-4086-9d3c-a77c35308da1.part
/var/lib/ironic/master_images/tmpxfNdZk/bcfeaad9-c2b4-4086-9d3c-a77c35308da1.converted<br>Exit code: 1<br>Stdout: u''<br>Stderr: u'qemu-img: error while reading sector 885120: Input/output error\n'
</span><br><br></div>Redownloading the file fixed the issue for me.<br><br></div>Best Regards,<br></div>Matthew Mosesohn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 13, 2015 at 4:25 PM, Esra Celik <span dir="ltr"><<a href="mailto:celik.esra@tubitak.gov.tr" target="_blank">celik.esra@tubitak.gov.tr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute" target="_blank">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70/resources/Compute</a> (self) |<br>| | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70" target="_blank">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud/620ada83-fb7d-4769-b1e8-431cfbb37d70</a> (stack) |<br>| | <a href="http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393" target="_blank">http://192.0.2.1:8004/v1/3c5942d315bc445c8f1f7b32bd445de5/stacks/overcloud-Compute-vqk632ysg64r/e33b6b1e-8740-4ded-ad7f-720617a03393</a> (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><a href="http://www.bilgem.tubitak.gov.tr" target="_blank">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><a href="mailto:celik.esra@tubitak.gov.tr" target="_blank">celik.esra@tubitak.gov.tr</a><br></span></div>
<div></div><br>_______________________________________________<br>
Rdo-list mailing list<br>
<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/rdo-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a><br></blockquote></div><br></div>