tripleo-heat-templates/environments/composable-roles/monolithic-ha.yaml
Harald Jensås 52ec1a018b DnsServers using get_attr
Nameservers are configured on the ctlplane subnets by the
undercloud installer, the nameservers are used early during
the deployment, prior to running os-net-config.

Remove the default DnsServer's in THT, replacing it with
an empty list and use get_attr to get the values for
DnsServers for the overcloud from the ctlplane subnet(s).

A conditinal is used in  puppet/role.role.j2.yaml so that
the parameter value is used whenever it is not [] (default)
to provide backwards compatibilityi and in case the user
want to use different DnsServers for the overcloud and
undercloud.

Partial: blueprint tripleo-routed-networks-templates
Change-Id: I5f33e06ca3f4b13cc355e02156edd9d8a1f773cd
2018-07-14 09:19:12 +02:00

60 lines
2.5 KiB
YAML

# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Monolithic Controller HA deployment
# description: |
# A Heat environment that can be used to deploy controller and compute
# services in an HA configuration with SSL everywhere and network
# isolation.
# This should be used with a roles_data.yaml containing the Controller,
# Compute and CephStorage roles.
# openstack overcloud roles generate -o ~/roles_data.yaml Controller Compute CephStorage
parameter_defaults:
# Number of CephStorage nodes to deploy
# Type: number
CephStorageCount: 1
# Format for CephStorage node hostnames Note %index% is translated into the index of the node, e.g 0/1/2 etc and %stackname% is replaced with the stack name e.g overcloud
# Type: string
CephStorageHostnameFormat: '%stackname%-cephstorage-%index%'
# Number of Compute nodes to deploy
# Type: number
ComputeCount: 3
# Format for Compute node hostnames Note %index% is translated into the index of the node, e.g 0/1/2 etc and %stackname% is replaced with the stack name e.g overcloud
# Type: string
ComputeHostnameFormat: '%stackname%-novacompute-%index%'
# Number of Controller nodes to deploy
# Type: number
ControllerCount: 3
# Format for Controller node hostnames Note %index% is translated into the index of the node, e.g 0/1/2 etc and %stackname% is replaced with the stack name e.g overcloud
# Type: string
ControllerHostnameFormat: '%stackname%-controller-%index%'
# DNS servers to use for the Overcloud (2 max for some implementations). If not set the nameservers configured in the ctlplane subnet(s) on the undercloud will be used.
# Type: comma_delimited_list
DnsServers: []
# NTP servers list. Defaulted to pool.ntp.org in order to have a sane default for Pacemaker deployments when not configuring this parameter by default.
# Type: comma_delimited_list
NtpServer: ['pool.ntp.org']
# Name of the flavor for Ceph nodes
# Type: string
OvercloudCephStorageFlavor: ceph
# Name of the flavor for Compute nodes
# Type: string
OvercloudComputeFlavor: compute
# Name of the flavor for Controller nodes
# Type: string
OvercloudControllerFlavor: control