diff options
author | Jenkins <jenkins@review.openstack.org> | 2014-06-30 18:14:04 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-06-30 18:14:04 +0000 |
commit | 70f812c5e5ef108c4b152fa72bf55c99bb2f0c6d (patch) | |
tree | a98eb001e3ac50e06594c2fdefe63af36207793b | |
parent | 408c50dcab1656a69f4d756f037f854f0869c068 (diff) | |
parent | 3472233f83336e9dc81cc8f2e0ca0260c3dfedb5 (diff) |
Merge "Add galera clustering properties"
-rw-r--r-- | overcloud-source.yaml | 13 |
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} |