Bug 1271431
Summary: | [RFE] Ability to set a hostname in the overcloud from instackenv.json | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | David Hill <dhill> |
Component: | os-refresh-config | Assignee: | James Slagle <jslagle> |
Status: | CLOSED NOTABUG | QA Contact: | Shai Revivo <srevivo> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 (Kilo) | CC: | aschultz, dhill, jcoufal, karatecletus323, mburns, rbartal, rhel-osp-director-maint, shardy |
Target Milestone: | --- | Keywords: | FutureFeature, Triaged, ZStream |
Target Release: | 10.0 (Newton) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-18 06:58:55 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
David Hill
2015-10-14 00:26:58 UTC
It looks like there was already a commit to add basic name functionality: https://github.com/openstack/os-cloud-config/commit/3b0fb21e514b8369d7bfd32a6b47f37caea78bc3 This would only set the Ironic node name from the "name" tag in the instackenv.json file. The baremetal instance hostname is set by heat using the format %stackname%-rolename-%index% set in /usr/share/openstack-tripleo-heat-templates/overcloud-without-mergepy.html Both features would be great to have in OSP 8. Customers are requesting it for OSP 7 so the question is , is it easy to implement in both? Thanks, Dave This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. Baremetal node name is different the nova server name. But both can be defined in there relevant configuration Baremetal - as shown in the bug description Nova server name heat example: [stack@undercloud-0 virt]$ cat hostnames.yml parameter_defaults: CephStorageHostnameFormat: 'ceph-%index%' ObjectStorageHostnameFormat: 'swift-%index%' ControllerHostnameFormat: 'controller-%index%' ComputeHostnameFormat: 'compute-%index%' The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |