<div dir="ltr">Finally I got the TripleO installation running.<div>After the virtual environment setup via:</div><div>bash quickstart.sh $virthost</div><div><br></div><div>If I run "<b>openstack undercloud install" </b>directly, the undercloud installation completes, but the following steps leads to an incomplete setup (I could reproduce this several times on our own hardware and on Rackspace Ironic powered :-) OnMetal servers):</div><div><br></div><div>







<p class="">[stack@undercloud ~]$ . stackrc </p>
<p class="">[stack@undercloud ~]$ openstack overcloud image upload</p>
<p class="">[stack@undercloud ~]$ openstack baremetal import --json instackenv.json</p>
<p class="">[stack@undercloud ~]$ ironic node-list</p>
<p class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</p>
<p class="">| UUID                                 | Name      | Instance UUID | Power State | Provisioning State | Maintenance |</p>
<p class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</p>
<p class="">| 57db4c06-7bb9-40c8-8530-6e9d5efb83c5 | control-0 | None          | <b>None</b>        | available          | False       |</p>
<p class="">| 21af64b4-d3c3-4b63-ba97-aa14173a21be | compute-0 | None          | <b>None</b>        | available          | False       |</p>
<p class="">+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+</p></div><div>and as I mentioned earlier the "openstack baremetal configure boot" times out:</div><div><br></div><div>







<p class="">[stack@undercloud ~]$ openstack baremetal configure boot</p>
<p class="">Node 57db4c06-7bb9-40c8-8530-6e9d5efb83c5 power state is in transition. Waiting up to 120 seconds for it to complete.</p>
<p class=""><b>Timed out</b> waiting for node 57db4c06-7bb9-40c8-8530-6e9d5efb83c5 power state.</p><p class="">And I guess because the Power State is set to None!<br></p><p class="">But if I run the following scripts by hand the installation completes successfully (in most cases):</p><p class="">undercloud-install.sh </p><p class="">undercloud-post-install.sh </p><p class="">overcloud-deploy.sh </p><p class="">overcloud-deploy-post.sh </p><p class="">











</p><p class="">overcloud-validate.sh</p><p class="">Only once by my last tests it failed after running:</p><p class="">[stack@undercloud ~]$ bash overcloud-deploy.sh </p><p class=""><br>2016-03-28 15:21:56 [Compute]: CREATE_COMPLETE state changed<br></p><p class="">Stack overcloud <b>CREATE_FAILED</b></p><p class="">












</p><p class=""><b>Deployment failed:  Heat Stack create failed.</b></p><p class="">And I had to delete the stack and re-deploy it again, which worked :-)</p><p class="">







</p><p class="">[stack@undercloud ~]$ heat stack-delete overcloud</p><p class="">







</p><p class="">[stack@undercloud ~]$ bash overcloud-deploy.sh </p><p class="">[stack@undercloud ~]$ heat stack-list</p><p class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</p><p class="">| id                                   | stack_name | stack_status    | creation_time       | updated_time |</p><p class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</p><p class="">| 8e588312-d839-4089-b123-3fa9b5e76c82 | overcloud  | <b>CREATE_COMPLETE</b> | 2016-03-28T16:44:59 | None         |</p><p class="">












</p><p class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</p><p class="">Here are the steps which might lead to a successful TripleO quickstart setup with a seed and baremetal host (virthost-01).<br></p><p class="">(the seed / ansible host is a CentOS 7 machine (could be a VM running in VirtualBox on localhost on Mac or Windows for instance), the baremetal host needs 32 GB RAM, 2 nics and 150 GB Disk).</p><p class="">On the seed / ansible host run:</p>







<p class="">[root@seed ~]# yum -y update</p>







<p class="">[root@seed ~]# yum install git -y</p>







<p class="">[root@seed ~]# vim /etc/hosts</p><p class=""><ip-virthost-01> virthost-01</p><p class=""><span class="">[root@seed ~] git clone <a href="https://github.com/redhat-openstack/tripleo-quickstart/">https://github.com/redhat-openstack/tripleo-quickstart/</a></span></p><p class="">








</p><p class=""><span class="">[root@seed ~] cd tripleo-quickstart/</span></p><p class="">[root@seed ~] sudo bash quickstart.sh --install-deps</p><p class="">[root@seed ~] reboot (not needed, but doesn't hurt :-))</p><p class="">[root@seed ~] ssh-keygen -t rsa</p><p class="">[root@seed ~] ssh-copy-id -i ~/.ssh/id_rsa.pub virthost-01</p><p class="">[root@seed ~] ssh <ip-virthost-01> </p><p class="">exit</p><p class="">Deploy your virtual environment by running:<br></p><p class="">[root@seed ~] <b>bash quickstart.sh virthost-01 </b></p><p class="">##################################</p><p class="">Virtual Environment Setup Complete</p><p class="">##################################</p><p class="">Access the undercloud by:</p><p class="">    <b>ssh -F /root/.quickstart/ssh.config.ansible undercloud</b></p><p class=""><b><br>USE THIS: There are scripts in the home directory to continue the deploy:</b></p><p class="">    undercloud-install.sh will run the undercloud install</p><p class="">    undercloud-post-install.sh will perform all pre-deploy steps</p><p class="">    overcloud-deploy.sh will deploy the overcloud</p><p class="">    overcloud-deploy-post.sh will do any post-deploy configuration</p><p class="">









































</p><p class="">    overcloud-validate.sh will run post-deploy validation</p><p class="">Alternatively, you can ignore these scripts and follow the upstream docs:</p><p class="">First: <b>(DON’t use this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!)</b></p><p class="">    <b>openstack undercloud install</b></p><p class="">












</p><p class="">    source stackrc</p><p class=""><span class="">Verify your Stack:</span></p><p class=""><span class="">[stack@undercloud ~]$ heat stack-list</span></p><p class=""><span class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</span></p><p class=""><span class="">| id                                   | stack_name | stack_status    | creation_time       | updated_time |</span></p><p class=""><span class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</span></p><p class=""><span class="">| 8e588312-d839-4089-b123-3fa9b5e76c82 | overcloud  | <b>CREATE_COMPLETE</b> | 2016-03-28T16:44:59 | None         |</span></p><p class="">












</p><p class=""><span class="">+--------------------------------------+------------+-----------------+---------------------+--------------+</span></p><p class=""><br></p><p class=""><span class=""></span></p><p class="">By the way, I'd love to see and help to have an complete installation guide for TripleO powered by RDO on the RDO site (the instack virt setup without quickstart on <a href="http://docs.openstack.org/">http://docs.openstack.org/</a> doesn't work and this might be changed through the RDO community power :-)).</p><p class="">Thx,<br>-Arash</p></div><div class="gmail_extra"><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 style="font-family:arial;font-size:small"><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 Sat, Mar 26, 2016 at 3:52 AM, Adam Young <span dir="ltr"><<a href="mailto:ayoung@redhat.com" target="_blank">ayoung@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><div><div class="h5">
    <div>On 03/25/2016 02:52 PM, Arash
      Kaffamanesh wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I'm trying to deploy OpenStack via TripleO quickstart in
          AIO / virt mode and I'm getting by the last step deploying the
          overcloud the following "Heat Stack create failed" message
          (There are not enough hosts available, due to Configuration
          has 4 errors, fix them before proceeding ????).</div>
        <div><b><br>
          </b></div>
        <div>
          <p>After running openstack overcloud deploy I'm
            getting <b>Configuration has 4 errors, fix them before
              proceeding</b>: (and I guess the problem lies somehow here
            with the "incorrectly configured driver_info"):</p>
          <p><span>[stack@undercloud ~]$ openstack
              overcloud deploy --templates</span></p>
          <p><span>Node
              uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an
              incorrectly configured driver_info/deploy_ramdisk.
              Expected "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got
              "None".</span></p>
          <p><span>Node
              uuid=a62116c4-1daf-45e9-aa2d-ef8a4effdc20 has an
              incorrectly configured driver_info/deploy_kernel. Expected
              "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".</span></p>
          <p><span>Node
              uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an
              incorrectly configured driver_info/deploy_ramdisk.
              Expected "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got
              "None".</span></p>
          <p><span>Node
              uuid=cfc60017-36e8-4808-842d-8c65ffb5e4b1 has an
              incorrectly configured driver_info/deploy_kernel. Expected
              "482254d3-4b0c-4c3f-b2ba-bdf34badbbd3" but got "None".</span></p>
          <p><span><b>Configuration has 4 errors, fix
                them before proceeding.</b> Ignoring these errors is
              likely to lead to a failed deploy.</span></p>
          <p><span>Deploying templates in the
              directory /usr/share/openstack-tripleo-heat-templates</span></p>
          <p><span>2016-03-25 17:45:13 [overcloud]:
              CREATE_IN_PROGRESS  Stack CREATE started</span></p>
          <p><span>2016-03-25 17:45:13
              [MysqlRootPassword]: CREATE_IN_PROGRESS  state changed</span></p>
          <p><span>2016-03-25 17:45:14 [Networks]:
              CREATE_IN_PROGRESS  state changed</span></p>
        </div>
        <div>.......</div>
        <div>
          <p><span>2016-03-25 17:47:15 [overcloud]:
              CREATE_FAILED  Resource CREATE failed: resources.Compute:
              ResourceInError: resources[0].resources.NovaCompute: Went
              to status ERROR due to "Message: No valid host was found.
              <b>There are not enough hosts available</b>., Code: 500"</span></p>
          <p><span><b>Stack overcloud CREATE_FAILED</b></span></p>
          <p><span><b>Heat Stack create failed.</b></span></p>
          <p><span>[stack@undercloud ~]$ heat
              stack-list</span></p>
          <p><span>+--------------------------------------+------------+---------------+---------------------+--------------+</span></p>
          <p><span>| id                              
                  | stack_name | stack_status  | creation_time       |
              updated_time |</span></p>
          <p><span>+--------------------------------------+------------+---------------+---------------------+--------------+</span></p>
          <p><span>|
              27fd6b76-7413-4e9b-9b5e-c7afb941ee0e | overcloud  | <b>CREATE_FAILED</b>
              | 2016-03-25T17:45:12 | None         |</span></p>
          <p><span>
            </span></p>
          <p><span>+--------------------------------------+------------+---------------+---------------------+--------------+</span></p>
          <p><span><br>
            </span></p>
          <p>By the way I tried to get the stable liberty and
            the latest mitaka working with TripleO, no either worked.<br>
            And tried also Lars's tutorial here:</p>
          <p><a href="http://blog.oddbit.com/2016/02/19/deploy-an-ha-openstack-development-envir/" target="_blank">http://blog.oddbit.com/2016/02/19/deploy-an-ha-openstack-development-envir/</a><br>
          </p>
          <p>had not so much luck, but could learn a lot and
            would prefer to learn more by running the ansible playbooks
            by hand as described by Lars.</p>
          <p>Any help / advice is much appreciated.</p>
          <p>Thx,<br>
            -Arash</p>
        </div>
      </div>
    </blockquote>
    <br></div></div>
    Super valuable guide.<br>
    <br>
<a href="http://hardysteven.blogspot.com/2015/04/debugging-tripleo-heat-templates.html" target="_blank">http://hardysteven.blogspot.com/2015/04/debugging-tripleo-heat-templates.html</a><br>
    <br>
    I had similar problems.  I had to increase the size of the
    controller nodes.<br>
    <br>
    Since running tripleo Quickstart, I've not had any problems, but
    that is not true baremetal.<br>
    <br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <p><br>
          </p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre><span class="">_______________________________________________
Rdo-list mailing list
<a href="mailto:Rdo-list@redhat.com" target="_blank">Rdo-list@redhat.com</a>
</span><span class=""><a href="https://www.redhat.com/mailman/listinfo/rdo-list" target="_blank">https://www.redhat.com/mailman/listinfo/rdo-list</a>

To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.com</a></span></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div>