Bug 1248168
Summary: | [Docs] [Director] Hostname mapping to 127.0.0.1 causes install failure | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Chris Dearborn <christopher_dearborn> |
Component: | documentation | Assignee: | Dan Macpherson <dmacpher> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | Director | CC: | adahms, arkady_kanevsky, cdevine, christopher_dearborn, John_walsh, kbader, kurt_hey, mburns, morazi, rajini.karthik, randy_perryman, rhel-osp-director-maint, rsussman, sasha, sreichar, wayne_allen, yeylon |
Target Milestone: | y2 | Keywords: | Documentation |
Target Release: | 7.0 (Kilo) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-16 04:57:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1238779 |
Description
Chris Dearborn
2015-07-29 18:56:21 UTC
This never happens on my setup: 1. Could you please paste the /etc/hosts after you've added the hostname 2. Did you change the hostname after the OS was installed? /etc/hosts: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 director-r13.rcbd.lab ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 No, I did not change the hostname after system install. After the failure occurred, I did try the hostnamectl commands in the docs, then reran the install and produced the same failure. ok, my host is registered in DNS, so: 1. pinging `hostname -f` tries 127.0.0.1 2. pinging `hostname -s` tries the IP registered in DNS. I have the respective "search domainname" line in my /etc/resolv.conf file. Not sure what you are asking for. My host is not registered in DNS. My resolv.conf does not contain a "domain" or "search" line Updated flags. Assigning to Dan for review. Hi Chris, The problem is because the director uses the first hostname for 127.0.0.1. So currently you hosts file includes: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 director-r13.rcbd.lab But it should be 127.0.0.1 director-r13.rcbd.lab localhost localhost.localdomain localhost4 localhost4.localdomain4 We have bug open for this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1254370 And a fix is currently being implemented in this docs. - Dan Hi Chris, I've pushed out a fix that should rectify the hostname issues: 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 Can you verify if the new hostname order works for you? Was just able to verify it. Working great for me. |