Bug 1271793 - rdo-manager doc has incomplete /etc/hosts configuration
rdo-manager doc has incomplete /etc/hosts configuration
Status: CLOSED CURRENTRELEASE
Product: RDO
Classification: Community
Component: Documentation (Show other bugs)
Liberty
Unspecified Unspecified
unspecified Severity unspecified
: ---
: Kilo
Assigned To: RHOS Documentation Team
RHOS Documentation Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-14 14:15 EDT by Mohammed Arafa
Modified: 2016-05-03 10:00 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-05-03 10:00:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mohammed Arafa 2015-10-14 14:15:35 EDT
Description of problem:
rdo-manager documentation says that the hostname must be resolvable and if no dns is in use to modify /etc/hosts
however, it only says 

Baremetal Ensure that there is a FQDN hostname set and that the $HOSTNAME environment variable matches that value.

problem is with rabbitmq connecting to `hostname -s` values so if the hostname -f is rdo.redhat.com, rabbitmq will only connect to rabbit@rdo
if it cannot resolve rdo from dns or hosts file then everything stops.

for more info see: https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/653405

Version-Release number of selected component (if applicable):


How reproducible:
every time

Steps to Reproduce:
1.follow the doc
2.
3.

Actual results:
crash

Expected results:
it works

Additional info:
Comment 1 Mohammed Arafa 2015-10-14 14:16:40 EDT
so /etc/hosts should have something like this, however you want to word it

127.0.0.1 hostname.f.q.d.n hostname
OR
127.0.0.1   myhost.mydomain myhost
Comment 2 Petr Kovar 2016-05-03 10:00:55 EDT
Thanks for your bug report. This has been fixed in tripleo-docs:

commit 094157c86da444146015a167615445317baea53b
Author: Ignacio Bravo <ibravo@hotmail.com>
Date:   Thu Oct 15 18:14:16 2015 -0400

    Updated /etc/hosts file definition
    
    rabbitmq connects with `hostname -s` values so if the hostname -f
    is rdo.redhat.com, rabbitmq will only connect to rabbit@rdo.
    
    If it cannot resolve rdo from dns or hosts file then everything stops.
    
    Via: https://bugzilla.redhat.com/show_bug.cgi?id=1271793
    
    Change-Id: I756dc3bf60daa2b6ede8cad97f90e8fe45918007

Note You need to log in before you can comment on or make changes to this bug.