Configure heat DnsServers for undercloud install

The netconfig option dns_servers is defined from
DnsServers in t-h-t's net-config-undercloud.yaml.

Add missing configuration for the client as well, which
bounds nameservers defined in undercloud.conf's
undercloud_nameservers to the corresponding
DnsServers heat parameter.

Change-Id: I48d889e7a631682a221e2828fbc30a900562498f
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya committed 2018-03-05 11:25:09 +01:00
1 parent bc6be96087
commit 9254f8b894
2 files changed
+9

No files matched your search

@@ -0,0 +1,8 @@
---
features:
- |
Bind ``undercloud_nameservers`` defined in `undercloud.conf` to the
``DnsServers`` heat stack parameter. This ensures DNS
configuration applied via os-net-config undercloud install time as well.
That works additionally to ``UndercloudNameserver`` limited to the
ctlplane subnet DNS configuration executed at post-install steps only.
+1
View File
@@ -42,6 +42,7 @@ PARAMETER_MAPPING = {
'undercloud_public_host': 'CloudName',
'scheduler_max_attempts': 'NovaSchedulerMaxAttempts',
'local_mtu': 'UndercloudLocalMtu',
'undercloud_nameservers': 'DnsServers'
}
THT_HOME = os.environ.get('THT_HOME',