aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--overcloud-source.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index a5784f06..e2198466 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -273,6 +273,10 @@ Resources:
network_id: {Ref: NeutronControlPlaneID}
fixed_ips:
Ref: ControlFixedIPs
+ MysqlClusterUniquePart:
+ Type: OS::Heat::RandomString
+ Properties:
+ length: 10
RabbitCookie:
Type: OS::Heat::RandomString
Properties:
@@ -450,6 +454,15 @@ Resources:
signing_certificate: {Ref: KeystoneSigningCertificate}
mysql:
innodb_buffer_pool_size: {Ref: MysqlInnodbBufferPoolSize}
+ nodes:
+ Merge::Map:
+ controller0:
+ ip: {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [controller0, networks]} ]} ] }
+ cluster_name:
+ Fn::Join:
+ - '-'
+ - - 'tripleo'
+ - {Ref: MysqlClusterUniquePart}
neutron:
flat-networks: {Ref: NeutronFlatNetworks}
host: {get_input: controller_virtual_ip}