aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-06-30 18:14:04 +0000
committerGerrit Code Review <review@openstack.org>2014-06-30 18:14:04 +0000
commit70f812c5e5ef108c4b152fa72bf55c99bb2f0c6d (patch)
treea98eb001e3ac50e06594c2fdefe63af36207793b
parent408c50dcab1656a69f4d756f037f854f0869c068 (diff)
parent3472233f83336e9dc81cc8f2e0ca0260c3dfedb5 (diff)
Merge "Add galera clustering properties"
-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}