Bug 1475383 - [osp12] overcloud node FQDN is incorrect when domain name is set via DHCP on external network
Summary: [osp12] overcloud node FQDN is incorrect when domain name is set via DHCP on ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud
Version: 12.0 (Pike)
Hardware: x86_64
OS: All
medium
medium
Target Milestone: beta
: 12.0 (Pike)
Assignee: James Slagle
QA Contact: Artem Hrechanychenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-26 14:32 UTC by Artem Hrechanychenko
Modified: 2021-12-10 15:18 UTC (History)
12 users (show)

Fixed In Version: instack-undercloud-7.2.1-0.20170729010706.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 21:44:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 477612 0 'None' MERGED Revert "Default neutron's dns_domain to undercloud's domain" 2020-09-24 09:39:46 UTC
Red Hat Issue Tracker OSP-11305 0 None None None 2021-12-10 15:18:18 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Artem Hrechanychenko 2017-07-26 14:32:31 UTC
Description of problem:
After deployment HA OSP12:

[heat-admin@compute-0 ~]$ hostname -f
compute-0.redhat.local
[heat-admin@compute-0 ~]$ sudo ping compute-1.redhat.local
ping: compute-1.redhat.local: Name or service not known

[heat-admin@compute-0 ~]$ sudo ping compute-1
PING compute-1.localdomain (172.17.1.17) 56(84) bytes of data.
64 bytes from compute-1.localdomain (172.17.1.17): icmp_seq=1 ttl=64 time=1.46 ms

the same for controllers
[heat-admin@controller-0 ~]$ sudo ping controller-1.redhat.local
ping: controller-1.redhat.local: Name or service not known

[heat-admin@controller-0 ~]$ cat /etc/resolv.conf 
# Generated by NetworkManager
search redhat.local
nameserver 10.0.0.1

[heat-admin@controller-0 ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

# HEAT_HOSTS_START - Do not edit manually within this section!
10.0.0.101  overcloud.localdomain
192.168.24.13  overcloud.ctlplane.localdomain
172.17.1.16  overcloud.internalapi.localdomain
172.17.3.19  overcloud.storage.localdomain
172.17.4.19  overcloud.storagemgmt.localdomain
172.17.1.13 controller-0.localdomain controller-0
10.0.0.106 controller-0.external.localdomain controller-0.external
172.17.1.13 controller-0.internalapi.localdomain controller-0.internalapi
172.17.3.17 controller-0.storage.localdomain controller-0.storage
172.17.4.12 controller-0.storagemgmt.localdomain controller-0.storagemgmt
172.17.2.20 controller-0.tenant.localdomain controller-0.tenant
192.168.24.18 controller-0.management.localdomain controller-0.management
192.168.24.18 controller-0.ctlplane.localdomain controller-0.ctlplane
172.17.1.19 controller-1.localdomain controller-1
10.0.0.102 controller-1.external.localdomain controller-1.external
172.17.1.19 controller-1.internalapi.localdomain controller-1.internalapi
172.17.3.11 controller-1.storage.localdomain controller-1.storage
172.17.4.11 controller-1.storagemgmt.localdomain controller-1.storagemgmt
172.17.2.16 controller-1.tenant.localdomain controller-1.tenant
192.168.24.11 controller-1.management.localdomain controller-1.management
192.168.24.11 controller-1.ctlplane.localdomain controller-1.ctlplane
172.17.1.10 controller-2.localdomain controller-2
10.0.0.109 controller-2.external.localdomain controller-2.external
172.17.1.10 controller-2.internalapi.localdomain controller-2.internalapi
172.17.3.24 controller-2.storage.localdomain controller-2.storage
172.17.4.10 controller-2.storagemgmt.localdomain controller-2.storagemgmt
172.17.2.21 controller-2.tenant.localdomain controller-2.tenant
192.168.24.10 controller-2.management.localdomain controller-2.management
192.168.24.10 controller-2.ctlplane.localdomain controller-2.ctlplane

172.17.1.12 compute-0.localdomain compute-0
192.168.24.15 compute-0.external.localdomain compute-0.external
172.17.1.12 compute-0.internalapi.localdomain compute-0.internalapi
172.17.3.16 compute-0.storage.localdomain compute-0.storage
192.168.24.15 compute-0.storagemgmt.localdomain compute-0.storagemgmt
172.17.2.19 compute-0.tenant.localdomain compute-0.tenant
192.168.24.15 compute-0.management.localdomain compute-0.management
192.168.24.15 compute-0.ctlplane.localdomain compute-0.ctlplane
172.17.1.17 compute-1.localdomain compute-1
192.168.24.7 compute-1.external.localdomain compute-1.external
172.17.1.17 compute-1.internalapi.localdomain compute-1.internalapi
172.17.3.12 compute-1.storage.localdomain compute-1.storage
192.168.24.7 compute-1.storagemgmt.localdomain compute-1.storagemgmt
172.17.2.11 compute-1.tenant.localdomain compute-1.tenant
192.168.24.7 compute-1.management.localdomain compute-1.management
192.168.24.7 compute-1.ctlplane.localdomain compute-1.ctlplane


Version-Release number of selected component (if applicable):
(undercloud) [stack@undercloud-0 ~]$ sudo rpm -qa "*openstack*"
openstack-neutron-common-11.0.0-0.20170719132730.1c94a80.el7ost.noarch
openstack-glance-15.0.0-0.20170718113127.20ea7ab.el7ost.noarch
openstack-neutron-ml2-11.0.0-0.20170719132730.1c94a80.el7ost.noarch
openstack-ironic-api-8.0.1-0.20170719072039.d9983f1.el7ost.noarch
puppet-openstack_extras-11.2.0-0.20170704143612.8932465.el7ost.noarch
openstack-nova-conductor-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-mistral-engine-5.0.0-0.20170718095321.61231ec.el7ost.noarch
openstack-heat-engine-9.0.0-0.20170719132024.923d018.el7ost.noarch
python-openstackclient-3.11.0-0.20170613232431.c69304e.el7ost.noarch
openstack-tripleo-heat-templates-7.0.0-0.20170718190543.el7ost.noarch
openstack-tripleo-common-containers-7.3.1-0.20170718114623.1d79e16.el7ost.noarch
openstack-ironic-inspector-5.1.1-0.20170705203602.c38596e.el7ost.noarch
puppet-openstacklib-11.2.0-0.20170714191355.76de885.el7ost.noarch
openstack-nova-common-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-nova-scheduler-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-mistral-api-5.0.0-0.20170718095321.61231ec.el7ost.noarch
openstack-tempest-16.1.1-0.20170719134023.2a0e141.el7ost.noarch
openstack-heat-api-cfn-9.0.0-0.20170719132024.923d018.el7ost.noarch
openstack-swift-container-2.14.1-0.20170718054917.3c11f6b.el7ost.noarch
openstack-tripleo-validations-7.1.1-0.20170717141229.ce35d5f.el7ost.noarch
openstack-puppet-modules-10.0.0-0.20170315222135.0333c73.el7.1.noarch
python-openstacksdk-0.9.17-0.20170621195806.7946243.el7ost.noarch
openstack-heat-common-9.0.0-0.20170719132024.923d018.el7ost.noarch
openstack-mistral-common-5.0.0-0.20170718095321.61231ec.el7ost.noarch
openstack-nova-placement-api-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-nova-api-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-neutron-openvswitch-11.0.0-0.20170719132730.1c94a80.el7ost.noarch
openstack-keystone-12.0.0-0.20170718172821.239bc36.el7ost.noarch
openstack-heat-api-9.0.0-0.20170719132024.923d018.el7ost.noarch
openstack-tripleo-image-elements-7.0.0-0.20170712081605.35068ac.el7ost.noarch
openstack-swift-account-2.14.1-0.20170718054917.3c11f6b.el7ost.noarch
python-openstack-mistral-5.0.0-0.20170718095321.61231ec.el7ost.noarch
openstack-nova-compute-16.0.0-0.20170719155122.7ae3753.el7ost.noarch
openstack-mistral-executor-5.0.0-0.20170718095321.61231ec.el7ost.noarch
openstack-zaqar-5.0.0-0.20170719124338.13b85cc.el7ost.noarch
openstack-selinux-0.8.8-0.20170622195307.74ddc0e.el7ost.noarch
openstack-swift-proxy-2.14.1-0.20170718054917.3c11f6b.el7ost.noarch
openstack-tripleo-ui-7.1.1-0.20170718122426.8337319.el7ost.noarch
openstack-tripleo-common-7.3.1-0.20170718114623.1d79e16.el7ost.noarch
openstack-ironic-common-8.0.1-0.20170719072039.d9983f1.el7ost.noarch
openstack-neutron-11.0.0-0.20170719132730.1c94a80.el7ost.noarch
openstack-ironic-conductor-8.0.1-0.20170719072039.d9983f1.el7ost.noarch
openstack-swift-object-2.14.1-0.20170718054917.3c11f6b.el7ost.noarch
openstack-tripleo-puppet-elements-7.0.0-0.20170715003644.4092ef5.el7ost.noarch


How reproducible:


Steps to Reproduce:
1. Deploy OSP12 latest puddle using http://etherpad.corp.redhat.com/testing-osp12-containers-ha

Actual results:
cannot resolve oc node by fqdn

Comment 4 Ollie Walsh 2017-07-26 14:58:44 UTC
> Actual results:
> cannot resolve oc node by fqdn

That is not the issue. The correct fqdn of this node is controller-0.localdomain.

If the incorrect fqdn was actually resolving then there would be a much bigger issues as certain traffic that should be routed over the primary network (ctrlplane IIRC) would be routed over the external network.

Comment 5 Ollie Walsh 2017-07-26 15:20:58 UTC
Also relevant:

[heat-admin@controller-0 ~]$ grep hosts /etc/nsswitch.conf
#hosts:     db files nisplus nis dns
hosts:      files dns myhostname

[heat-admin@controller-0 ~]$ cat /etc/host.conf 
multi on

Comment 6 Ollie Walsh 2017-07-26 15:24:05 UTC
> [heat-admin@compute-0 ~]$ sudo ping compute-1.redhat.local
> ping: compute-1.redhat.local: Name or service not known

That's expected. Getting a DHCP lease does not automatically add resource records in DNS. The DNS servers responds correctly with NXDOMAIN:

[heat-admin@controller-0 ~]$ nslookup compute-1.redhat.local
Server:		10.0.0.1
Address:	10.0.0.1#53

** server can't find compute-1.redhat.local: NXDOMAIN

Comment 7 Alex Schultz 2017-07-26 15:51:51 UTC
Please provide the exact commands used to deploy and what settings you were testing. I believe when it comes to hostnames there are several you must set for it to correctly set for it to be consistently applied.  This seems to be an environmental issue if no special configurations are being applied.

Comment 9 Alex Schultz 2017-07-26 17:40:16 UTC
I'm attempting to spin up an environment to reproduce, however I have a feeling this is environmental. It appears that the tooling is setting the domain hostname on the undercloud but the deployment is not properly configuring the one (if not all) of following for the overcloud:

  CloudDomain
  CloudName
  CloudNameInternal
  CloudNameStorage
  CloudNameStorageManagement
  CloudNameCtlplane


My recommendation is to update the deployment tooling to not set the hostname domain or be able to correctly provide this information to the deployment.

Comment 10 Ollie Walsh 2017-07-26 18:12:29 UTC
(In reply to Alex Schultz from comment #9)
> My recommendation is to update the deployment tooling to not set the
> hostname domain

I doubt that would work, AFAICT the domain name is coming form DHCP, not infrared.

> or be able to correctly provide this information to the
> deployment.

I expect that would work - the entries in /etc/host will take precedence.

But I don't think we still may need to configure the DHCP client to stop requesting a domain name.

Comment 11 Alex Schultz 2017-07-26 19:10:26 UTC
AFAIK it's always been like this.  The domain name is coming from DHCP on the undercloud which is why it's a disconnect on the configuration from undercloud/overcloud.  So if you don't use the same value in both places you end up with this inconsistency.  If you configure the same value for both places then the host file will have the correct hostname that matches the node host name so DNS is not a problem.


I believe the situation is:
Undercloud configured with redhat.local as domain, neutron & company passes this to the deployed nodes as part of the provisioning. When the deployment is run, the cloud domain used by heat is 'localdomain' so all hostnames used for configurations are <node>.localdomain.  If you properly configure CloudDomain to 'redhat.local' as part of the deployment you would  then end up with <node>.redhat.local in the configurations. 

Normally if you don't change the undercloud configuration it's set to 'localdomain' which matches the overcloud configuration so everything "works" correctly.

Comment 12 Alex Schultz 2017-07-26 19:22:21 UTC
Still looking but it might be related to https://review.openstack.org/#/c/474946/ and the revert is https://review.openstack.org/#/c/477612/

Comment 13 Ollie Walsh 2017-07-26 22:12:12 UTC
Ah, ok. I stand corrected - ignore comment #10

Comment 14 Alexander Chuzhoy 2017-07-26 23:39:39 UTC
Re-deployed with:

parameter_defaults:
    CloudName: redhat.local




[heat-admin@overcloud-compute-0 ~]$ hostname -f
overcloud-compute-0.redhat.local
[heat-admin@overcloud-compute-0 ~]$ sudo ping overcloud-compute-1.redhat.local
ping: overcloud-compute-1.redhat.local: Name or service not known
[heat-admin@overcloud-compute-0 ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

# HEAT_HOSTS_START - Do not edit manually within this section!
10.0.0.102  redhat.local
192.168.24.10  overcloud.ctlplane.localdomain
172.17.1.19  overcloud.internalapi.localdomain
172.17.3.18  overcloud.storage.localdomain
172.17.4.18  overcloud.storagemgmt.localdomain
172.17.1.23 overcloud-controller-0.localdomain overcloud-controller-0
10.0.0.103 overcloud-controller-0.external.localdomain overcloud-controller-0.external
172.17.1.23 overcloud-controller-0.internalapi.localdomain overcloud-controller-0.internalapi
172.17.3.17 overcloud-controller-0.storage.localdomain overcloud-controller-0.storage
172.17.4.11 overcloud-controller-0.storagemgmt.localdomain overcloud-controller-0.storagemgmt
172.17.2.19 overcloud-controller-0.tenant.localdomain overcloud-controller-0.tenant
192.168.24.7 overcloud-controller-0.management.localdomain overcloud-controller-0.management
192.168.24.7 overcloud-controller-0.ctlplane.localdomain overcloud-controller-0.ctlplane
172.17.1.17 overcloud-controller-1.localdomain overcloud-controller-1
10.0.0.108 overcloud-controller-1.external.localdomain overcloud-controller-1.external
172.17.1.17 overcloud-controller-1.internalapi.localdomain overcloud-controller-1.internalapi
172.17.3.14 overcloud-controller-1.storage.localdomain overcloud-controller-1.storage
172.17.4.14 overcloud-controller-1.storagemgmt.localdomain overcloud-controller-1.storagemgmt
172.17.2.22 overcloud-controller-1.tenant.localdomain overcloud-controller-1.tenant
192.168.24.6 overcloud-controller-1.management.localdomain overcloud-controller-1.management
192.168.24.6 overcloud-controller-1.ctlplane.localdomain overcloud-controller-1.ctlplane
172.17.1.24 overcloud-controller-2.localdomain overcloud-controller-2
10.0.0.111 overcloud-controller-2.external.localdomain overcloud-controller-2.external
172.17.1.24 overcloud-controller-2.internalapi.localdomain overcloud-controller-2.internalapi
172.17.3.20 overcloud-controller-2.storage.localdomain overcloud-controller-2.storage
172.17.4.17 overcloud-controller-2.storagemgmt.localdomain overcloud-controller-2.storagemgmt
172.17.2.11 overcloud-controller-2.tenant.localdomain overcloud-controller-2.tenant
192.168.24.16 overcloud-controller-2.management.localdomain overcloud-controller-2.management
192.168.24.16 overcloud-controller-2.ctlplane.localdomain overcloud-controller-2.ctlplane

172.17.1.21 overcloud-compute-0.localdomain overcloud-compute-0
192.168.24.11 overcloud-compute-0.external.localdomain overcloud-compute-0.external
172.17.1.21 overcloud-compute-0.internalapi.localdomain overcloud-compute-0.internalapi
172.17.3.10 overcloud-compute-0.storage.localdomain overcloud-compute-0.storage
192.168.24.11 overcloud-compute-0.storagemgmt.localdomain overcloud-compute-0.storagemgmt
172.17.2.12 overcloud-compute-0.tenant.localdomain overcloud-compute-0.tenant
192.168.24.11 overcloud-compute-0.management.localdomain overcloud-compute-0.management
192.168.24.11 overcloud-compute-0.ctlplane.localdomain overcloud-compute-0.ctlplane
172.17.1.15 overcloud-compute-1.localdomain overcloud-compute-1
192.168.24.9 overcloud-compute-1.external.localdomain overcloud-compute-1.external
172.17.1.15 overcloud-compute-1.internalapi.localdomain overcloud-compute-1.internalapi
172.17.3.11 overcloud-compute-1.storage.localdomain overcloud-compute-1.storage
192.168.24.9 overcloud-compute-1.storagemgmt.localdomain overcloud-compute-1.storagemgmt
172.17.2.14 overcloud-compute-1.tenant.localdomain overcloud-compute-1.tenant
192.168.24.9 overcloud-compute-1.management.localdomain overcloud-compute-1.management
192.168.24.9 overcloud-compute-1.ctlplane.localdomain overcloud-compute-1.ctlplane




# HEAT_HOSTS_END

Comment 15 Artem Hrechanychenko 2017-07-27 10:34:26 UTC
(In reply to Alex Schultz from comment #12)
> Still looking but it might be related to
> https://review.openstack.org/#/c/474946/ and the revert is
> https://review.openstack.org/#/c/477612/

Didn't helped

Comment 16 Juan Antonio Osorio 2017-07-27 13:43:22 UTC
It should be:

  CloudDomain: redhat.local

CloudName is the external FQDN for the overcloud.

Comment 17 Alex Schultz 2017-07-27 14:32:57 UTC
Also it should be noted that there are two undercloud.conf configuration items that should be configured if a user changes the undercloud hostname and domain name.

From undercloud.conf

# Fully qualified hostname (including domain) to set on the
# Undercloud. If left unset, the current hostname will be used, but
# the user is responsible for configuring all system hostname settings
# appropriately.  If set, the undercloud install will configure all
# system hostname settings. (string value)
#undercloud_hostname = <None>

# DNS domain name to use when deploying the overcloud. The overcloud
# parameter "CloudDomain" must be set to a matching value. (string
# value)
#overcloud_domain_name = localdomain

Comment 18 Artem Hrechanychenko 2017-07-27 14:51:19 UTC
as w/a
parameter_defaults:
    CloudDomain: redhat.local

also I add changes to nova and neutron.conf to change dns_ dhcp_domain=localdomain (no need after revert https://review.openstack.org/#/c/477612/2)
‎(undercloud) [stack@undercloud-0 ~]$ sudo cat /etc/nova/nova.conf |grep dhcp_domain
‎ #dhcp_domain=novalocal
‎dhcp_domain=localdomain
‎‎ (undercloud) [stack@undercloud-0 ~]$ sudo cat /etc/neutron/neutron.conf |grep dns_domain
‎#dns_domain = openstacklocal
‎ dns_domain=localdomain

working for me

Comment 19 Alexander Chuzhoy 2017-07-27 14:56:25 UTC
Re-deployed with:
CloudDomain: redhat.local


[heat-admin@overcloud-compute-1 ~]$ hostname -f
overcloud-compute-1.redhat.local
[heat-admin@overcloud-compute-1 ~]$ sudo ping overcloud-compute-0.redhat.local
PING overcloud-compute-0.redhat.local (172.17.1.20) 56(84) bytes of data.
64 bytes from overcloud-compute-0.redhat.local (172.17.1.20): icmp_seq=1 ttl=64 time=1.26 ms
^C
--- overcloud-compute-0.redhat.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.265/1.265/1.265/0.000 ms



[heat-admin@overcloud-compute-1 ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

# HEAT_HOSTS_START - Do not edit manually within this section!
10.0.0.104  overcloud.localdomain
192.168.24.12  overcloud.ctlplane.localdomain
172.17.1.12  overcloud.internalapi.localdomain
172.17.3.19  overcloud.storage.localdomain
172.17.4.15  overcloud.storagemgmt.localdomain
172.17.1.10 overcloud-controller-0.redhat.local overcloud-controller-0
10.0.0.107 overcloud-controller-0.external.redhat.local overcloud-controller-0.external
172.17.1.10 overcloud-controller-0.internalapi.redhat.local overcloud-controller-0.internalapi
172.17.3.20 overcloud-controller-0.storage.redhat.local overcloud-controller-0.storage
172.17.4.18 overcloud-controller-0.storagemgmt.redhat.local overcloud-controller-0.storagemgmt
172.17.2.17 overcloud-controller-0.tenant.redhat.local overcloud-controller-0.tenant
192.168.24.8 overcloud-controller-0.management.redhat.local overcloud-controller-0.management
192.168.24.8 overcloud-controller-0.ctlplane.redhat.local overcloud-controller-0.ctlplane
172.17.1.22 overcloud-controller-1.redhat.local overcloud-controller-1
10.0.0.102 overcloud-controller-1.external.redhat.local overcloud-controller-1.external
172.17.1.22 overcloud-controller-1.internalapi.redhat.local overcloud-controller-1.internalapi
172.17.3.18 overcloud-controller-1.storage.redhat.local overcloud-controller-1.storage
172.17.4.10 overcloud-controller-1.storagemgmt.redhat.local overcloud-controller-1.storagemgmt
172.17.2.10 overcloud-controller-1.tenant.redhat.local overcloud-controller-1.tenant
192.168.24.14 overcloud-controller-1.management.redhat.local overcloud-controller-1.management
192.168.24.14 overcloud-controller-1.ctlplane.redhat.local overcloud-controller-1.ctlplane
172.17.1.23 overcloud-controller-2.redhat.local overcloud-controller-2
10.0.0.103 overcloud-controller-2.external.redhat.local overcloud-controller-2.external
172.17.1.23 overcloud-controller-2.internalapi.redhat.local overcloud-controller-2.internalapi
172.17.3.17 overcloud-controller-2.storage.redhat.local overcloud-controller-2.storage
172.17.4.17 overcloud-controller-2.storagemgmt.redhat.local overcloud-controller-2.storagemgmt
172.17.2.13 overcloud-controller-2.tenant.redhat.local overcloud-controller-2.tenant
192.168.24.7 overcloud-controller-2.management.redhat.local overcloud-controller-2.management
192.168.24.7 overcloud-controller-2.ctlplane.redhat.local overcloud-controller-2.ctlplane

172.17.1.20 overcloud-compute-0.redhat.local overcloud-compute-0
192.168.24.16 overcloud-compute-0.external.redhat.local overcloud-compute-0.external
172.17.1.20 overcloud-compute-0.internalapi.redhat.local overcloud-compute-0.internalapi
172.17.3.14 overcloud-compute-0.storage.redhat.local overcloud-compute-0.storage
192.168.24.16 overcloud-compute-0.storagemgmt.redhat.local overcloud-compute-0.storagemgmt
172.17.2.15 overcloud-compute-0.tenant.redhat.local overcloud-compute-0.tenant
192.168.24.16 overcloud-compute-0.management.redhat.local overcloud-compute-0.management
192.168.24.16 overcloud-compute-0.ctlplane.redhat.local overcloud-compute-0.ctlplane
172.17.1.13 overcloud-compute-1.redhat.local overcloud-compute-1
192.168.24.10 overcloud-compute-1.external.redhat.local overcloud-compute-1.external
172.17.1.13 overcloud-compute-1.internalapi.redhat.local overcloud-compute-1.internalapi
172.17.3.13 overcloud-compute-1.storage.redhat.local overcloud-compute-1.storage
192.168.24.10 overcloud-compute-1.storagemgmt.redhat.local overcloud-compute-1.storagemgmt
172.17.2.12 overcloud-compute-1.tenant.redhat.local overcloud-compute-1.tenant
192.168.24.10 overcloud-compute-1.management.redhat.local overcloud-compute-1.management
192.168.24.10 overcloud-compute-1.ctlplane.redhat.local overcloud-compute-1.ctlplane




# HEAT_HOSTS_END

Comment 20 Alex Schultz 2017-07-27 19:33:20 UTC
After much discussion, it looks like the revert is the correct path forward. Then if host/domain names are to be changed the undercloud config from Comment 17 should be used.

Comment 21 Alex Schultz 2017-07-31 12:56:04 UTC
The upstream revert has been merged.

Comment 24 Artem Hrechanychenko 2017-11-06 11:47:30 UTC
VERIFIED

instack-undercloud-7.4.2-2.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ cat undercloud.conf 
[DEFAULT]
# Network interface on the Undercloud that will be handling the PXE
# boots and DHCP for Overcloud instances. (string value)
local_interface = eth0
# 192.168.24.0 subnet is by default used since RHOS11
local_ip = 192.168.24.1/24
network_gateway = 192.168.24.1
undercloud_public_vip = 192.168.24.2
undercloud_admin_vip = 192.168.24.3
network_cidr = 192.168.24.0/24
masquerade_network = 192.168.24.0/24
dhcp_start = 192.168.24.5
dhcp_end = 192.168.24.24
inspection_iprange = 192.168.24.100,192.168.24.120

[heat-admin@controller-0 ~]$ hostname -f
controller-0.localdomain
[heat-admin@controller-0 ~]$ ping controller-0.localdomain
PING controller-0.localdomain (172.17.1.20) 56(84) bytes of data.
64 bytes from controller-0.localdomain (172.17.1.20): icmp_seq=1 ttl=64 time=0.021 ms
^C
--- controller-0.localdomain ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.021/0.021/0.021/0.000 ms
[heat-admin@controller-0 ~]$ ping controller-1.localdomain
PING controller-1.localdomain (172.17.1.10) 56(84) bytes of data.
64 bytes from controller-1.localdomain (172.17.1.10): icmp_seq=1 ttl=64 time=0.239 ms
^C
--- controller-1.localdomain ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.239/0.239/0.239/0.000 ms
[heat-admin@controller-0 ~]$ ping controller-2.localdomain
PING controller-2.localdomain (172.17.1.13) 56(84) bytes of data.
64 bytes from controller-2.localdomain (172.17.1.13): icmp_seq=1 ttl=64 time=0.221 ms
^C
--- controller-2.localdomain ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.221/0.221/0.221/0.000 ms


[heat-admin@controller-0 ~]$ cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

# HEAT_HOSTS_START - Do not edit manually within this section!
192.168.24.10  overcloud.ctlplane.localdomain
10.0.0.108  overcloud.localdomain
172.17.1.12  overcloud.internalapi.localdomain
172.17.3.10  overcloud.storage.localdomain
172.17.4.18  overcloud.storagemgmt.localdomain
172.17.1.20 controller-0.localdomain controller-0
10.0.0.106 controller-0.external.localdomain controller-0.external
172.17.1.20 controller-0.internalapi.localdomain controller-0.internalapi
172.17.3.17 controller-0.storage.localdomain controller-0.storage
172.17.4.22 controller-0.storagemgmt.localdomain controller-0.storagemgmt
172.17.2.17 controller-0.tenant.localdomain controller-0.tenant
192.168.24.11 controller-0.management.localdomain controller-0.management
192.168.24.11 controller-0.ctlplane.localdomain controller-0.ctlplane
172.17.1.10 controller-1.localdomain controller-1
10.0.0.103 controller-1.external.localdomain controller-1.external
172.17.1.10 controller-1.internalapi.localdomain controller-1.internalapi
172.17.3.11 controller-1.storage.localdomain controller-1.storage
172.17.4.14 controller-1.storagemgmt.localdomain controller-1.storagemgmt
172.17.2.16 controller-1.tenant.localdomain controller-1.tenant
192.168.24.12 controller-1.management.localdomain controller-1.management
192.168.24.12 controller-1.ctlplane.localdomain controller-1.ctlplane
172.17.1.13 controller-2.localdomain controller-2
10.0.0.101 controller-2.external.localdomain controller-2.external
172.17.1.13 controller-2.internalapi.localdomain controller-2.internalapi
172.17.3.22 controller-2.storage.localdomain controller-2.storage
172.17.4.20 controller-2.storagemgmt.localdomain controller-2.storagemgmt
172.17.2.12 controller-2.tenant.localdomain controller-2.tenant
192.168.24.13 controller-2.management.localdomain controller-2.management
192.168.24.13 controller-2.ctlplane.localdomain controller-2.ctlplane

172.17.1.16 compute-0.localdomain compute-0
192.168.24.7 compute-0.external.localdomain compute-0.external
172.17.1.16 compute-0.internalapi.localdomain compute-0.internalapi
172.17.3.21 compute-0.storage.localdomain compute-0.storage
192.168.24.7 compute-0.storagemgmt.localdomain compute-0.storagemgmt
172.17.2.11 compute-0.tenant.localdomain compute-0.tenant
192.168.24.7 compute-0.management.localdomain compute-0.management
192.168.24.7 compute-0.ctlplane.localdomain compute-0.ctlplane




# HEAT_HOSTS_END

Comment 27 errata-xmlrpc 2017-12-13 21:44:48 UTC
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.

https://access.redhat.com/errata/RHEA-2017:3462


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