<div dir="ltr"><div><div>Lars<br></div>Yes, I saw issues with RabbitMQ yesterday. it was basically hit and miss whether the undercloud installer would work. for me it was the 5th install or 20% of the time?<br><br></div>to make matters a bit more difficult, i coudlnt find rabbitmq install logs in /var/log. are they located somewhere else? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 4:37 PM, Lars Kellogg-Stedman <span dir="ltr"><<a href="mailto:lars@redhat.com" target="_blank">lars@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Running "instack-install-undercloud" is failing for me:<br>
<br>
  + echo 'puppet apply exited with exit code 6'<br>
  puppet apply exited with exit code 6<br>
  + '[' 6 '!=' 2 -a 6 '!=' 0 ']'<br>
  + exit 6<br>
  [2015-04-21 20:13:20,426] (os-refresh-config) [ERROR] during configure<br>
  phase. [Command '['dib-run-parts',<br>
  '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit<br>
  status 6]<br>
<br>
Unfortunately, the failure doesn't provide much in the way of useful<br>
information.  If I scroll up several pages, I find:<br>
<br>
  Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]/ensure: defined content as '{md5}63d7331e825c865a97b7a8d1299841ff'<br>
  Error: /Stage[main]/Main/Rabbitmq_user[neutron]: Could not evaluate: Command is still failing after 180 seconds expired!<br>
  Error: /Stage[main]/Main/Rabbitmq_user[heat]: Could not evaluate: Command is still failing after 180 seconds expired!<br>
  Error: /Stage[main]/Main/Rabbitmq_user[ceilometer]: Could not evaluate: Command is still failing after 180 seconds expired!<br>
  Error: /Stage[main]/Main/Rabbitmq_user[nova]: Could not evaluate: Command is still failing after 180 seconds expired!<br>
  Error: /Stage[main]/Main/Rabbitmq_vhost[/]: Could not evaluate: Command is still failing after 180 seconds expired!<br>
<br>
But again, that doesn't really tell me what is failing either (a<br>
command is still failing? Which command?).<br>
<br>
It looks like rabbitmq is having some problems:<br>
<br>
  [stack@localhost ~]$ sudo rabbitmqctl status<br>
  Status of node rabbit@localhost ...<br>
  Error: unable to connect to node rabbit@localhost: nodedown<br>
<br>
  DIAGNOSTICS<br>
  ===========<br>
<br>
  attempted to contact: [rabbit@localhost]<br>
<br>
  rabbit@localhost:<br>
  * connected to epmd (port 4369) on localhost<br>
  * epmd reports node 'rabbit' running on port 25672<br>
  * TCP connection succeeded but Erlang distribution failed<br>
  * suggestion: hostname mismatch?<br>
  * suggestion: is the cookie set correctly?<br>
<br>
  current node details:<br>
  - node name: rabbitmqctl20640@stack<br>
  - home dir: /var/lib/rabbitmq<br>
  - cookie hash: 4DA3U2yua3rw7wYLr+PbiQ==<br>
<br>
If I manually stop and then start rabbitmq:<br>
<br>
    sudo systemctl stop rabbitmq-server<br>
    sudo systemctl start rabbitmq-server<br>
<br>
It seems to work:<br>
<br>
  # rabbitmqctl status<br>
  Status of node rabbit@stack ...<br>
  [{pid,20946},<br>
   {running_applications,<br>
       [{rabbitmq_management,"RabbitMQ Management Console","3.3.5"},<br>
  ...<br>
<br>
After manually starting rabbit and re-running<br>
instack-install-undercloud, the process is able to successfully create<br>
the rabbitmq_user resources and completes successfully.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Lars Kellogg-Stedman <<a href="mailto:lars@redhat.com">lars@redhat.com</a>> | larsks @ {freenode,twitter,github}<br>
Cloud Engineering / OpenStack          | <a href="http://blog.oddbit.com/" target="_blank">http://blog.oddbit.com/</a><br>
</font></span><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" 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><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">


        
        
        
        


<table cellpadding="4" cellspacing="0" width="418">
        <colgroup><col width="138">
        <col width="158">
        <col width="98">
        </colgroup><tbody><tr valign="TOP">
                <td style="border:none;padding:0in" width="138">
                        <p><img src="http://www.in-egypt.net/RED-HAT-LOGO.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics1" border="0" height="184" width="135"></p>
                </td>
                <td style="border:none;padding:0in" width="158">
                        <p><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank"><font color="#000080"><img src="http://www.in-egypt.net/ITIL_Logo.jpg" name="UNIQUE_ID_SafeHtmlFilter_graphics2" border="1" align="BOTTOM" height="156" width="156"></font></a></p>
                </td>
                <td style="border:none;padding:0in" width="98">
                        <p><img src="http://www.in-egypt.net/linkedin.png" name="UNIQUE_ID_SafeHtmlFilter_graphics3" border="0" align="BOTTOM" height="96" width="96"></p>
                </td>
        </tr>
        <tr valign="TOP">
                <td style="border:none;padding:0in" width="138">
                        <p><a href="https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify" target="_blank"><b>805010942448935</b></a><b>
                        </b>
                        </p>
                </td>
                <td style="border:none;padding:0in" width="158">
                        <p><a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank"><b>GR750055912MA</b></a></p>
                </td>
                <td style="border:none;padding:0in" width="98">
                        <p><b>Link to me on <a href="http://www.linkedin.com/in/mohammedarafa" target="_blank">LinkedIn</a></b></p>
                </td>
        </tr>
</tbody></table>

</div></div>
</div>