Bug 1336952
| Summary: | Overcloud nodes forget custom domain name on reboot - OSP 8 | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Chris Dearborn <christopher_dearborn> | |
| Component: | rhosp-director | Assignee: | Emilien Macchi <emacchi> | |
| Status: | CLOSED WONTFIX | QA Contact: | Gurenko Alex <agurenko> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 8.0 (Liberty) | CC: | akaris, arkady_kanevsky, aschultz, athomas, cdevine, christopher_dearborn, dbecker, ebarrera, emacchi, gael_rehault, John_walsh, jslagle, kurt_hey, mburns, morazi, owalsh, randy_perryman, rhel-osp-director-maint, rsussman, sclewis, shardy, skinjo, smerrow, sreichar, wayne_allen, wrichter | |
| Target Milestone: | --- | Keywords: | Triaged, ZStream | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1399735 (view as bug list) | Environment: | ||
| Last Closed: | 2018-02-28 22:48:50 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: | 1261979, 1399735 | |||
|
Description
Chris Dearborn
2016-05-17 21:25:07 UTC
"To clarify, there is a workaround for this, which is to set dhcp_domain to match CloudDomain in nova.conf, the final fix is still TODO tho." ==> AFAICT this only works on redeployment though. actually only for newly craeted nodes? Or am I wrong? Because the actual hostname/domain name comes from the configdrive, and not from the http call to metadata agent. And the config drive data persists, as far as I see it. At least at a customer's site we found that, and could find a discrepancy between: curl://169.254.169.254/openstack/2013-10-17/meta_data.json (which provided o.k. data) and between mounting the config drive: mount /dev/disk/by-label/config-2 /mnt/config cat /mnt/config/openstack/2013-10-17/meta_data.json (which did not contain the domain name) Andreas Karis (akaris) wrote a moment ago: #15 -------------------------------------------------------- Here's another workaround which is permanent (it won't be modified by director) and which can easily be pushed via postconfig or ansible: ~~~ [root@compute-0 cloud.cfg.d]# cat /etc/cloud/cloud.cfg.d/99_hostname.cfg #cloud-config hostname: compute-0 fqdn: compute-0.example.com ~~~ What is the proper procedure for using Director to deploy the Domain Name and Hostname correctly? As the work arounds above are not repeatable. Hi, Can you please have a look at the suggested workaround here? https://access.redhat.com/solutions/2838221 It goes along with comment #4 "As the work arounds above are not repeatable" The above workaround is repeatable and would not be overwritten by Director, if this is your concern. Otherwise, I may misunderstand your statement / question. Could you clarify the question if this is the case? Thanks, Andreas So that workaround requires you to configure each individual server, how would you do this in Director. I am trying to reduce touch points. Hi Andreas, Randy responded to your request for clarification. Would like to hear your feedback and if this bug will be fixed. They are looking for the fix in OSP 10 (as mentioned by them in comment 10 of BZ 1336955 [0]). In BZ 1336955, shardy mentions that BZ is a duplicate of this one [1]. [0] https://bugzilla.redhat.com/show_bug.cgi?id=1336955#c10 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1336955#c5 Thanks, Sean Dell EMC is looking for this fix to be completed and backported to OSP 10. Actually, it appears this BZ was fixed in OSP 11 in the following BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1391758 How do we get it backported to OSP 10? Can we use this BZ to do that or is a new BZ required? We already have three others to choose from BZ 1336952 BZ 1399735 BZ 1336955 Sean Haven't seen this in JS 6.0.1 (osp8) or later. Can we close? Was it backported? We've verified this works as expected in OSP10+. We won't be backporting any fixes for this at this time. If there are new issues, feel free to open this bug again and we can re-evaluate if there's something we can do. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |