RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1271793 - rdo-manager doc has incomplete /etc/hosts configuration
Summary: rdo-manager doc has incomplete /etc/hosts configuration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: Documentation
Version: Liberty
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Kilo
Assignee: Nobody
QA Contact: RHOS Documentation Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-14 18:15 UTC by Mohammed Arafa
Modified: 2023-04-07 14:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-03 14:00:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Mohammed Arafa 2015-10-14 18:15:35 UTC
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 18:16:40 UTC
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 14:00:55 UTC
Thanks for your bug report. This has been fixed in tripleo-docs:

commit 094157c86da444146015a167615445317baea53b
Author: Ignacio Bravo <ibravo>
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.