Bug 1259003 - RFE: Provide mechanism to set domain name for overcloud
Summary: RFE: Provide mechanism to set domain name for overcloud
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Marios Andreou
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 17:28 UTC by Jon Thomas
Modified: 2019-10-10 10:08 UTC (History)
14 users (show)

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'.
Clone Of:
Environment:
Last Closed: 2016-04-07 21:39:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 261018 0 None None None 2016-01-25 12:14:17 UTC
Red Hat Knowledge Base (Solution) 1598143 0 None None None Never
Red Hat Product Errata RHEA-2016:0604 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 director Enhancement Advisory 2016-04-08 01:03:56 UTC

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


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