Bug 1259003

Summary: RFE: Provide mechanism to set domain name for overcloud
Product: Red Hat OpenStack Reporter: Jon Thomas <jthomas>
Component: openstack-tripleo-heat-templatesAssignee: Marios Andreou <mandreou>
Status: CLOSED ERRATA QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0 (Kilo)CC: dcain, dmacpher, dsneddon, ebarrera, hbrock, jason.dobies, jcoufal, jraju, jthomas, mburns, mpicoto, racedoro, sasha, srevivo
Target Milestone: gaKeywords: FutureFeature
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-0.8.7-1.el7ost Doc Type: Enhancement
Doc Text:
The domain name for overcloud nodes defaulted to 'localdomain'. For example: 'overcloud-compute-0.localdomain'. This enhancement provides a parameter (CloudDomain) to customize the domain name. Create an environment file with the CloudDomain parameter included in the 'parameter_defaults" section. If no domain name is defined, the Heat templates default to 'localdomain'.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:39:29 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:

Description Jon Thomas 2015-09-01 17:28:15 UTC
Need to set domain name to something other than localhost in overcloud.

This may not be in the correct component or it may be multi-component. 

However, in the templates localdomain is hardcoded. For example,


puppet/controller-puppet.yaml
...
hosts_entry:
    description: >
      Server's IP address and hostname in the /etc/hosts format
    value:
      str_replace:
        template: IP HOST.localdomain HOST CLOUDNAME
...


It would be ideal to have domain configurable at a high level.

thx

Comment 12 Marios Andreou 2016-03-18 10:56:37 UTC
Afaics this bug is fixed by the commit at https://review.openstack.org/#/q/Ie012f9f2a402b0333bebecb5b59565c26a654297,n,z 

That introduces the CloudDomain parameter (defaulting to localdomain) which can be set to some other value as required by the deployer. Moving to POST

Comment 13 Mike McCune 2016-03-28 23:00:31 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 14 Dave Cain 2016-03-30 13:50:25 UTC
Looks like this is in the OSP8 Beta9 from what I can tell.  Will this make GA of OSP8?

Comment 15 Mike Burns 2016-03-30 14:08:48 UTC
This patch was merged and is in OSP8

Comment 18 errata-xmlrpc 2016-04-07 21:39:29 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://rhn.redhat.com/errata/RHEA-2016-0604.html