Description of problem: When executing openstack undercloud install, it fails with: Error: curl -k --noproxy localhost --retry 30 --retry-delay 6 -f -L -o /var/lib/rabbitmq/rabbitmqadmin http://guest:guest@localhost:15672/cli/rabbitmqadmin returned 7 instead of one of [0] Version-Release number of selected component (if applicable): OSPd How reproducible: Every time Steps to Reproduce: 1. Following the product docs, configuring the hostname for the OSPd node, it mentions to edit /etc/hosts and add the following: "The director also requires an entry for the system’s hostname and base name in /etc/hosts. For example, if the system is named manager.example.com, /etc/hosts requires an entry like: 127.0.0.1 manager.example.com manager 2. If following explicitly and removal of the following for the local host IP entry is done: localhost localhost.localdomain localhost4 localhost4.localdomain4, the mentioned error occurs. Actual results: Error during undercloud install. Expected results: Explicit directions that advise not to remove the following: localhost localhost.localdomain localhost4 localhost4.localdomain4 from 127.0.0.1 from /etc/hosts. This allows the installation to proceed. Additional info: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Setting_the_Hostname_for_the_System.html
Assigning to Dan for review.
To add to this hostname experience, If you enter the following within your /etc/host 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 manager.example.com manager If you do the above and append the hostname at the *end*, the following commands show: $ hostname manager.example.com $ hostname -f localhost ^ This is a problem. To ensure you do not have this issue make sure to add manager.example.com and manager *before* localhost i.e. 127.0.0.1 manager.example.com manager localhost localhost.localdomain localhost4 localhost4.localdomain4
This fix is now live: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Setting_the_Hostname_for_the_System.html The examples now reads: 127.0.0.1 manager.example.com manager localhost localhost.localdomain localhost4 localhost4.localdomain4 Brett, how does this suit the requirements of this bug? Any further changes required?
(In reply to Dan Macpherson from comment #6) > This fix is now live: > > https://access.redhat.com/documentation/en-US/ > Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/ > Director_Installation_and_Usage/sect-Setting_the_Hostname_for_the_System.html > > The examples now reads: > > 127.0.0.1 manager.example.com manager localhost localhost.localdomain > localhost4 localhost4.localdomain4 > > Brett, how does this suit the requirements of this bug? Any further changes > required? Looks good. Thanks!
Cool. Thanks, Brett!
This content is live on the Customer Portal. Closing.