Bug 1336955
| Summary: | Specifying custom domain name for overcloud nodes does not work | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Chris Dearborn <christopher_dearborn> | |
| Component: | openstack-tripleo-heat-templates | Assignee: | Emilien Macchi <emacchi> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gurenko Alex <agurenko> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.0 (Liberty) | CC: | arkady_kanevsky, aschultz, athomas, cdevine, christopher_dearborn, cllewellyn, dbecker, emacchi, gael_rehault, John_walsh, jslagle, kurt_hey, mburns, mcornea, morazi, randy_perryman, rhel-osp-director-maint, rsussman, sclewis, shardy, wayne_allen | |
| Target Milestone: | --- | Keywords: | Triaged, ZStream | |
| Target Release: | 12.0 (Pike) | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1532376 1532827 (view as bug list) | Environment: | ||
| Last Closed: | 2019-01-09 18:15: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: | 1295530, 1305654, 1532376, 1532827 | |||
|
Description
Chris Dearborn
2016-05-17 21:37:50 UTC
I can also reproduce this. In two separate configurations I added the CloudDomain and deployed withe release OSP8 bits. I see the entries in /etc/host have the specified domain, but hostname returns with .localdomain and this is also seen in /etc/hostname. I know Steve hardy said he saw the hostname return the right value for him, but wonder if that only working in a simple deployment. My understand is both Chris and I are using network isolation. Update: If you set dhcp_domain in nova.conf on the undercloud node to the custom domain name in addition to setting the CloudDomain parameter in an environment file, then the hostname is set correctly, /etc/hostname is set up correctly, and hostname --fqdn works as it should. (In reply to Chris Dearborn from comment #4) > See https://bugzilla.redhat.com/show_bug.cgi?id=1336952 Have we ended up with a duplicate, should this bz be closed then we can track fixing the issue via https://bugzilla.redhat.com/show_bug.cgi?id=1336952 (that one contains my debug analysis and links to the upstream bug). Well, they look like 2 separate bugs to me, which is why I wrote 2 BZs. Don't really care if we glom these into one BZ as long as both bugs are fixed. Chris, do we need an analog BZ for Mitaka/OSP9 and Newton/OSP10? We have a workaround for this implemented in our solution. When the fix comes in we can remove the workaround. I think we only care about the fix in OSP10 and beyond, so there's no need for multiple bugs. Perhaps this should be retargeted to OSP10. Upstream patch is merged in stable/Ocata. Need this backported to OSP 10. https://review.openstack.org/#/c/452809/ Backport here: https://review.openstack.org/#/c/517446/ |