James

will the shortname also be added to the hosts file along with the fqdn?

On Thu, Apr 30, 2015 at 9:03 AM, Hugh O. Brock <hbrock@redhat.com> wrote:
On Thu, Apr 30, 2015 at 08:15:35AM -0400, James Slagle wrote:
> Hi, there were a few different threads related to rdo-manager and encountering
> rabbitmq errors related to the hostname when installing the undercloud.
>
> I was able to reproduce a couple different issues, and in my environment it
> came down to $HOSTNAME not matching the defined FQDN hostname. You could
> use hostnamectl to set a hostname, but that does not update $HOSTNAME in your
> current shell.
>
> rabbitmq-env, which is sourced at the start of rabbitmq-server, reads the
> hostname from $HOSTNAME in some scenarios, and then uses that value to define
> the rabbit node name. Therefore, if you have a mismatch between $HOSTNAME and
> the actual FQDN, things can go off the rails with rabbitmq.
>
> I've tried to address this issue in this patch:
> https://review.gerrithub.io/#/c/232052/
>
> For the virt-setup, setting of the FQDN hostname and adding it to /etc/hosts
> will now be done automatically, with the instack.localdomain used. The hostname
> can always be redefined later if desired.
>
> For baremetal, I've added some notes to the docs to hopefully cover the
> requirements.
>
> --
> -- James Slagle
> --

Good catch James. Hopefully this will unblock a number of folks who have
been hitting this.

--Hugh

--
== Hugh Brock, hbrock@redhat.com                                   ==
== Senior Engineering Manager, Cloud Engineering                   ==
== Tuskar: Elastic Scaling for OpenStack                           ==
== http://github.com/tuskar                                        ==

"I know that you believe you understand what you think I said, but I’m
not sure you realize that what you heard is not what I meant."
--Robert McCloskey

_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com



--

805010942448935

GR750055912MA

Link to me on LinkedIn