<div dir="ltr"><div>yes so i had the fqdn only in my hosts file and rabbitmq couldnt find the host by its shortname<br></div>after i added shortname to my hosts file i definitely passed over that bump (adn stopped elsewhere). there is a thread about it on this list ... somewhere :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 9:27 AM, James Slagle <span dir="ltr"><<a href="mailto:jslagle@redhat.com" target="_blank">jslagle@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Apr 30, 2015 at 09:23:54AM -0400, Mohammed Arafa wrote:<br>
> James<br>
><br>
> will the shortname also be added to the hosts file along with the fqdn?<br>
<br>
</span>We could. The patch I proposed does not however, it merely addresses the issues<br>
I was seeing.<br>
<div><div class="h5"><br>
><br>
> On Thu, Apr 30, 2015 at 9:03 AM, Hugh O. Brock <<a href="mailto:hbrock@redhat.com">hbrock@redhat.com</a>> wrote:<br>
><br>
> > On Thu, Apr 30, 2015 at 08:15:35AM -0400, James Slagle wrote:<br>
> > > Hi, there were a few different threads related to rdo-manager and<br>
> > encountering<br>
> > > rabbitmq errors related to the hostname when installing the undercloud.<br>
> > ><br>
> > > I was able to reproduce a couple different issues, and in my environment<br>
> > it<br>
> > > came down to $HOSTNAME not matching the defined FQDN hostname. You could<br>
> > > use hostnamectl to set a hostname, but that does not update $HOSTNAME in<br>
> > your<br>
> > > current shell.<br>
> > ><br>
> > > rabbitmq-env, which is sourced at the start of rabbitmq-server, reads the<br>
> > > hostname from $HOSTNAME in some scenarios, and then uses that value to<br>
> > define<br>
> > > the rabbit node name. Therefore, if you have a mismatch between<br>
> > $HOSTNAME and<br>
> > > the actual FQDN, things can go off the rails with rabbitmq.<br>
> > ><br>
> > > I've tried to address this issue in this patch:<br>
> > > <a href="https://review.gerrithub.io/#/c/232052/" target="_blank">https://review.gerrithub.io/#/c/232052/</a><br>
> > ><br>
> > > For the virt-setup, setting of the FQDN hostname and adding it to<br>
> > /etc/hosts<br>
> > > will now be done automatically, with the instack.localdomain used. The<br>
> > hostname<br>
> > > can always be redefined later if desired.<br>
> > ><br>
> > > For baremetal, I've added some notes to the docs to hopefully cover the<br>
> > > requirements.<br>
> > ><br>
> > > --<br>
> > > -- James Slagle<br>
> > > --<br>
> ><br>
> > Good catch James. Hopefully this will unblock a number of folks who have<br>
> > been hitting this.<br>
> ><br>
> > --Hugh<br>
> ><br>
> > --<br>
> > == Hugh Brock, <a href="mailto:hbrock@redhat.com">hbrock@redhat.com</a>                                   ==<br>
> > == Senior Engineering Manager, Cloud Engineering                   ==<br>
> > == Tuskar: Elastic Scaling for OpenStack                           ==<br>
> > == <a href="http://github.com/tuskar" target="_blank">http://github.com/tuskar</a>                                        ==<br>
> ><br>
> > "I know that you believe you understand what you think I said, but I’m<br>
> > not sure you realize that what you heard is not what I meant."<br>
> > --Robert McCloskey<br>
> ><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>
> ><br>
><br>
><br>
><br>
> --<br>
><br>
><br>
</div></div>> <<a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank">https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1</a>><br>
><br>
>   *805010942448935*<br>
> <<a href="https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify" target="_blank">https://www.redhat.com/wapps/training/certification/verify.html?certNumber=805010942448935&verify=Verify</a>><br>
><br>
> *GR750055912MA*<br>
> <<a href="https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1" target="_blank">https://candidate.peoplecert.org/ReportsLink.aspx?argType=1&id=13D642E995903C076FA394F816CC136539DBA6A32D7305539E4219F5A650358C02CA2ED9F1F26319&AspxAutoDetectCookieSupport=1</a>><br>
><br>
> *Link to me on LinkedIn <<a href="http://www.linkedin.com/in/mohammedarafa" target="_blank">http://www.linkedin.com/in/mohammedarafa</a>>*<br>
<div class="HOEnZb"><div class="h5">--<br>
-- James Slagle<br>
--<br>
</div></div></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>