<div dir="ltr">Deleted the ironic nodes and ran openstack baremetal configure boot:<div><br></div><div><p class=""><span class="">stack@undercloud ~]$ ironic node-list</span></p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p><p class=""><span class="">| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |</span></p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p><p class=""><span class="">| 496caaf1-aef6-43ab-b863-f0330ea94217 | control-0 | None | None | available | False |</span></p><p class=""><span class="">| 27d032c9-1b18-4147-a299-1ac7b733bdcd | compute-0 | None | None | available | False |</span></p><p class=""><span class=""></span></p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p></div><div><br></div><div>but I'm getting a timeout after 120 seconds:<div><br></div><div>
<p class=""><span class="">[stack@undercloud ~]$ openstack baremetal configure boot</span></p>
<p class=""><span class="">Node 496caaf1-aef6-43ab-b863-f0330ea94217 power state is in transition. <b>Waiting up to 120 seconds for it to complete.</b><br>
</span></p><p class=""><span class="">Timed out waiting for node 496caaf1-aef6-43ab-b863-f0330ea94217 power state.</span></p><p class=""><span class=""><br></span></p><p class="">and after running ironic node-list again, the nodes go to Maintenance set to True:</p><p class=""><br></p><p class=""><span class="">[stack@undercloud ~]$ ironic node-list</span></p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p><p class=""><span class="">| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |</span></p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p><p class=""><span class="">| 496caaf1-aef6-43ab-b863-f0330ea94217 | control-0 | None | None | available | True |</span></p><p class=""><span class="">| 27d032c9-1b18-4147-a299-1ac7b733bdcd | compute-0 | None | None | available | True |</span></p><p class="">
</p><p class=""><span class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Thx!</span></p></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div><div><div style="font-family:arial;font-size:small"><div><div>Mit freundlichen Grüßen,<br>Arash Kaffamanesh</div><div><br><a href="https://www.facebook.com/cloudssky" style="color:rgb(17,85,204)" target="_blank">Like</a> | <a href="https://twitter.com/CLOUDSSKYONE" style="color:rgb(17,85,204)" target="_blank">Follow</a><br></div></div><font size="1"></font><div><p style="color:rgb(34,34,34)">
</p><p style="color:rgb(34,34,34)">
<img src="https://docs.google.com/uc?export=download&id=0BzCecJV964-1d0ItbEdSN192YTQ&revid=0BzCecJV964-1SEhPa1Z6dEU5STN3MWhKcjJtVitTWG9tYjJJPQ" width="96" height="41"></p><p><b>Arash Kaffamanesh (GF)</b><span style="font-family:arial,sans-serif"><b><span style="font-size:13px"><br><br>Clouds Sky GmbH<br></span></b></span><b style="font-family:arial,sans-serif"><span style="font-size:13px">Im Mediapark 4C</span></b></p><p><b style="font-family:arial,sans-serif"><span style="font-size:13px">50670 Köln</span></b></p><div>Tel.: +49 221 204 726 76<br>Mobile: +49 177 880 77 34<br><a href="http://www.cloudssky.com/" style="color:rgb(17,85,204)" target="_blank">www.cloudssky.com</a></div><p style="color:rgb(34,34,34)"><span style="color:rgb(11,83,148)"><b></b></span><font> </font></p><font size="1"></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Mar 25, 2016 at 9:42 PM, Dan Sneddon <span dir="ltr"><<a href="mailto:dsneddon@redhat.com" target="_blank">dsneddon@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/25/2016 01:15 PM, Arash Kaffamanesh wrote:<br>
> Dan, thx!<br>
><br>
> After running:<br>
><br>
> [stack@undercloud ~]$ openstack baremetal configure boot<br>
><br>
> nothing is get shown (and I'm somehow sure and guess that this step<br>
> does not complete successfully, but my current knowledge ans a<br>
> ooo-newbie doesn't allow to investigate this further for now :-)).<br>
><br>
> And the introspection finishes too fast for my taste :-)<br>
><br>
> [stack@undercloud ~]$ openstack baremetal introspection bulk start<br>
><br>
> Setting nodes for introspection to manageable...<br>
><br>
> Waiting for introspection to finish...<br>
><br>
> Setting manageable nodes to available...<br>
><br>
> Introspection completed.<br>
><br>
><br>
> And yes, I've a baremetal machine with 32 GB RAM and 160 GB SSD disk.<br>
><br>
> And if I run ironic node-show I get the last error which states: node<br>
> state None does not match expected state.<br>
><br>
><br>
> [stack@undercloud ~]$ ironic node-show a62116c4-1daf-45e9-aa2d-ef8a4effdc20<br>
><br>
> +------------------------+--------------------------------------------------------------------------+<br>
><br>
> | Property | Value<br>
> |<br>
><br>
> +------------------------+--------------------------------------------------------------------------+<br>
><br>
> | target_power_state | None<br>
> |<br>
><br>
> | extra | {}<br>
> |<br>
><br>
> | last_error | During sync_power_state, max retries<br>
> exceeded for node a62116c4-1daf- |<br>
><br>
> | | 45e9-aa2d-ef8a4effdc20, node state None does<br>
> not match expected state |<br>
><br>
> | | 'None'. Updating DB state to 'None'<br>
> Switching node to maintenance mode. |<br>
><br>
><br>
> I also deleted the undercloud node and re-ran a fresh install of the<br>
> undercloud and I'm going to do a fresh baremetal install of the<br>
> virthost now and document all steps one by for the quickstart.<br>
><br>
> One question: does the upstream documentation for TripleO work for<br>
> anyone (without quickstart?). For the virt-install I got the instack<br>
> running, but that was a nightmare :-)<br>
><br>
> Thx,<br>
> -Arash<br>
><br>
><br>
><br>
> Mit freundlichen Grüßen,<br>
> Arash Kaffamanesh<br>
><br>
</div></div>> Like <<a href="https://www.facebook.com/cloudssky" rel="noreferrer" target="_blank">https://www.facebook.com/cloudssky</a>> | Follow<br>
> <<a href="https://twitter.com/CLOUDSSKYONE" rel="noreferrer" target="_blank">https://twitter.com/CLOUDSSKYONE</a>><br>
><br>
> *Arash Kaffamanesh (GF)**<br>
><br>
> Clouds Sky GmbH<br>
> **Im Mediapark 4C*<br>
><br>
> *50670 Köln*<br>
<span class="">><br>
> Tel.: <a href="tel:%2B49%20221%20204%20726%2076" value="+4922120472676">+49 221 204 726 76</a><br>
> Mobile: <a href="tel:%2B49%20177%20880%2077%2034" value="+491778807734">+49 177 880 77 34</a><br>
</span>> <a href="http://www.cloudssky.com" rel="noreferrer" target="_blank">www.cloudssky.com</a> <<a href="http://www.cloudssky.com/" rel="noreferrer" target="_blank">http://www.cloudssky.com/</a>><br>
><br>
> **<br>
<span class="">><br>
><br>
> On Fri, Mar 25, 2016 at 8:20 PM, Dan Sneddon <<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a>>> wrote:<br>
><br>
> On 03/25/2016 11:52 AM, Arash Kaffamanesh wrote:<br>
> > Hi,<br>
> ><br>
> > I'm trying to deploy OpenStack via TripleO quickstart in AIO / virt<br>
> > mode and I'm getting by the last step deploying the overcloud the<br>
> > following "Heat Stack create failed" message (There are not enough<br>
> > hosts available, due to Configuration has 4 errors, fix them before<br>
> > proceeding ????).<br>
> > *<br>
> > *<br>
> ><br>
> > After running openstack overcloud deploy I'm getting<br>
> *Configuration has<br>
> > 4 errors, fix them before proceeding*: (and I guess the problem lies<br>
> > somehow here with the "incorrectly configured driver_info"):<br>
> ><br>
> > [stack@undercloud ~]$ openstack overcloud deploy --templates<br>
> ><br>
> > Node uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an incorrectly<br>
> > configured driver_info/deploy_ramdisk. Expected<br>
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".<br>
> ><br>
> > Node uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an incorrectly<br>
> > configured driver_info/deploy_kernel. Expected<br>
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".<br>
> ><br>
> > Node uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an incorrectly<br>
> > configured driver_info/deploy_ramdisk. Expected<br>
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".<br>
> ><br>
> > Node uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an incorrectly<br>
> > configured driver_info/deploy_kernel. Expected<br>
> > "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".<br>
> ><br>
> > *Configuration has 4 errors, fix them before proceeding.* Ignoring<br>
> > these errors is likely to lead to a failed deploy.<br>
> ><br>
> > Deploying templates in the directory<br>
> > /usr/share/openstack-tripleo-heat-templates<br>
> ><br>
> > 2016-03-25 17:45:13 [overcloud]: CREATE_IN_PROGRESS Stack CREATE started<br>
> ><br>
> > 2016-03-25 17:45:13 [MysqlRootPassword]: CREATE_IN_PROGRESS state changed<br>
> ><br>
> > 2016-03-25 17:45:14 [Networks]: CREATE_IN_PROGRESS state changed<br>
> ><br>
> > .......<br>
> ><br>
> > 2016-03-25 17:47:15 [overcloud]: CREATE_FAILED Resource CREATE failed:<br>
> > resources.Compute: ResourceInError: resources[0].resources.NovaCompute:<br>
> > Went to status ERROR due to "Message: No valid host was found. *There<br>
> > are not enough hosts available*., Code: 500"<br>
> ><br>
> > *Stack overcloud CREATE_FAILED*<br>
> ><br>
> > *Heat Stack create failed.*<br>
> ><br>
> > [stack@undercloud ~]$ heat stack-list<br>
> ><br>
> > +--------------------------------------+------------+---------------+---------------------+--------------+<br>
> ><br>
> > | id | stack_name | stack_status |<br>
> > creation_time | updated_time |<br>
> ><br>
> > +--------------------------------------+------------+---------------+---------------------+--------------+<br>
> ><br>
> > | 27fd6b76-7413-4e9b-9b5e-c7afb941ee0e | overcloud |<br>
> *CREATE_FAILED* |<br>
> > 2016-03-25T17:45:12 | None |<br>
> ><br>
> > +--------------------------------------+------------+---------------+---------------------+--------------+<br>
> ><br>
> ><br>
> > By the way I tried to get the stable liberty and the latest mitaka<br>
> > working with TripleO, no either worked.<br>
> > And tried also Lars's tutorial here:<br>
> ><br>
> > <a href="http://blog.oddbit.com/2016/02/19/deploy-an-ha-openstack-development-envir/" rel="noreferrer" target="_blank">http://blog.oddbit.com/2016/02/19/deploy-an-ha-openstack-development-envir/</a><br>
> ><br>
> > had not so much luck, but could learn a lot and would prefer to learn<br>
> > more by running the ansible playbooks by hand as described by Lars.<br>
> ><br>
> > Any help / advice is much appreciated.<br>
> ><br>
> > Thx,<br>
> > -Arash<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Rdo-list mailing list<br>
</div></div>> > <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a> <mailto:<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a>><br>
<span class="">> > <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>
</span>> <mailto:<a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a>><br>
<span class="">> ><br>
><br>
> This sounds like the nodes either weren't introspected properly, have<br>
> incorrect boot settings, or do not meet the criteria for your flavors.<br>
><br>
> In particular, did you possibly forget to run "openstack baremetal<br>
> configure boot"? This has to be run after you import the nodes from<br>
> instack_env.json, and it will assign the kernel and ramdisk to the<br>
> nodes.<br>
><br>
> The instructions for this process begin here:<br>
> <a href="http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#introspect-nodes" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#introspect-nodes</a><br>
><br>
> You want to make sure that when you run "openstack baremetal<br>
> introspection bulk start" that the introspection completes<br>
> successfully. You can then use "ironic node-list" and "ironic node-show<br>
> <UUID>" to see the basic info about the host. The default baremetal<br>
> flavor requires 4G of RAM and 40G of hard drive space. Do your nodes<br>
> meet that minimum criteria? That's another cause of the "not enough<br>
> hosts available", although I think the configure boot setting is a more<br>
> likely culprit.<br>
><br>
> If you are trying to assign nodes to roles (Controller, Compute, etc.),<br>
> then you will want to review this section:<br>
><br>
> <a href="http://docs.openstack.org/developer/tripleo-docs/advanced_deployment/profile_matching.html" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/tripleo-docs/advanced_deployment/profile_matching.html</a><br>
><br>
> --<br>
> Dan Sneddon | Principal OpenStack Engineer<br>
</span>> <a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a> <mailto:<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a>> |<br>
> <a href="http://redhat.com/openstack" rel="noreferrer" target="_blank">redhat.com/openstack</a> <<a href="http://redhat.com/openstack" rel="noreferrer" target="_blank">http://redhat.com/openstack</a>><br>
<span class="">> 650.254.4025 | dsneddon:irc @dxs:twitter<br>
><br>
> _______________________________________________<br>
> Rdo-list mailing list<br>
</span>> <a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a> <mailto:<a href="mailto:Rdo-list@redhat.com">Rdo-list@redhat.com</a>><br>
<span class="">> <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>
</span>> <mailto:<a href="mailto:rdo-list-unsubscribe@redhat.com">rdo-list-unsubscribe@redhat.com</a>><br>
><br>
><br>
<br>
That introspection doesn't look right. Are you sure that you imported<br>
the nodes?<br>
<br>
"openstack baremetal import --json instackenv.json"<br>
<br>
You should then see the nodes actually being introspected. Does<br>
anything show up now in an "ironic node-list"? Try deleting whatever<br>
shows up in that list with "ironic node-delete <UUID>", then run the<br>
import command above, followed by "openstack baremetal configure boot",<br>
followed by "openstack baremetal introspection bulk start".<br>
<br>
Start here, and make sure you follow all the steps:<br>
<br>
<a href="http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#register-nodes" rel="noreferrer" target="_blank">http://docs.openstack.org/developer/tripleo-docs/basic_deployment/basic_deployment_cli.html#register-nodes</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Dan Sneddon | Principal OpenStack Engineer<br>
<a href="mailto:dsneddon@redhat.com">dsneddon@redhat.com</a> | <a href="http://redhat.com/openstack" rel="noreferrer" target="_blank">redhat.com/openstack</a><br>
650.254.4025 | dsneddon:irc @dxs:twitter<br>
</div></div></blockquote></div><br></div>