Bug 1476760 - Overcloud deployment doesn't set the hostname in /etc/host in the deployed nodes
Overcloud deployment doesn't set the hostname in /etc/host in the deployed nodes
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
10.0 (Newton)
x86_64 Linux
high Severity high
: ga
: 12.0 (Pike)
Assigned To: Emilien Macchi
Gurenko Alex
: Triaged
Depends On:
Blocks: 1486398 1488239 1488243 1489598
  Show dependency treegraph
Reported: 2017-07-31 07:55 EDT by Siggy Sigwald
Modified: 2018-03-07 05:20 EST (History)
9 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-0.20171023134947.8da5e1f.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1486398 1488239 1488243 1489598 (view as bug list)
Last Closed: 2017-12-13 16:45:43 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1711435 None None None 2017-08-17 14:31 EDT
OpenStack gerrit 494669 None None None 2017-08-17 14:31 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Siggy Sigwald 2017-07-31 07:55:34 EDT
Description of problem:
The result of executing  the command  "hostname -f" in a deployed overcloud node returns "localhost" and because of that the first node registers as "localhost" in the satellite, the subsecuential node registration fails because "localhost" already exists in the satellite. 
There's a bug open for a similar problem against Mitaka (https://bugzilla.redhat.com/show_bug.cgi?id=1474092).
Comment 4 James Slagle 2017-08-17 14:32:36 EDT
this would likely need to be backported to several releases if the issue is as widespread to affect anywhere satellite 6.2.5+ is used.

there is already a bug we can use for the OSP10 backport:
Comment 9 Gurenko Alex 2017-12-13 04:10:20 EST
Verified on build 2017-12.06.2
Comment 12 errata-xmlrpc 2017-12-13 16:45:43 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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