<div dir="ltr"><div>James<br><br></div>will the shortname also be added to the hosts file along with the fqdn? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 30, 2015 at 9:03 AM, Hugh O. Brock <span dir="ltr"><<a href="mailto:hbrock@redhat.com" target="_blank">hbrock@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 08:15:35AM -0400, James Slagle wrote:<br>
> Hi, there were a few different threads related to rdo-manager and 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 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 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 define<br>
> the rabbit node name. Therefore, if you have a mismatch between $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 /etc/hosts<br>
> will now be done automatically, with the instack.localdomain used. The 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>
</span>Good catch James. Hopefully this will unblock a number of folks who have<br>
been hitting this.<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span><div class="HOEnZb"><div class="h5"><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></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>