modified to include mysql as cluster service now. 13/15913/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Tue, 21 Jun 2016 10:13:27 +0000 (05:13 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Tue, 21 Jun 2016 10:14:30 +0000 (05:14 -0500)
Change-Id: I28454606832cb0798b3e4c144c0d0366468062d9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/nosdn/juju-deployer/ovs-nosdn-ha.yaml
ci/odl/juju-deployer/ovs-odl-ha.yaml
ci/onos/juju-deployer/ovs-onos-ha.yaml
ci/opencontrail/juju-deployer/ovs-opencontrail-ha.yaml

index 4e14a04..9e5c901 100644 (file)
@@ -31,6 +31,8 @@ openstack-phase1:
 openstack-phase2:
   inherits: openstack-phase1
   relations:
+    - - mysql:ha
+      - hacluster-mysql:ha
     - - glance:ha
       - hacluster-glance:ha
     - - keystone:ha
@@ -166,6 +168,11 @@ openstack-phase2:
       options:
         corosync_key: |
           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_key: |
+          'Q29yb3N5bmMgQ2x1c3RlciBFbmdpbmUgQXV0aGVudGljYXRpb24ga2V5IGdlbmVyYXRvci4KR2F0aGVyaW5nIDEwMjQgYml0cyBmb3Iga2V5IGZyb20gL2Rldi9yYW5kb20uClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5LgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDkyMCkuClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5IChiaXRzID0gMTAwMCkuCldyaXRpbmcgY29yb3N5bmMga2V5IHRvIC9ldGMvY29yb3N5bmMvYXV0aGtleS4K'
     ceilometer:
       charm: "local:trusty/ceilometer"
       num_units: 3
index 3680f28..e6b14fe 100644 (file)
@@ -31,6 +31,8 @@ openstack-phase1:
 openstack-phase2:
   inherits: openstack-phase1
   relations:
+    - - "mysql:ha"
+      - "hacluster-mysql:ha"
     - - "glance:ha"
       - "hacluster-glance:ha"
     - - "keystone:ha"
@@ -188,6 +190,11 @@ openstack-phase2:
       options:
         corosync_key: |
           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_key: |
+          'Q29yb3N5bmMgQ2x1c3RlciBFbmdpbmUgQXV0aGVudGljYXRpb24ga2V5IGdlbmVyYXRvci4KR2F0aGVyaW5nIDEwMjQgYml0cyBmb3Iga2V5IGZyb20gL2Rldi9yYW5kb20uClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5LgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDkyMCkuClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5IChiaXRzID0gMTAwMCkuCldyaXRpbmcgY29yb3N5bmMga2V5IHRvIC9ldGMvY29yb3N5bmMvYXV0aGtleS4K'
 #    hacluster-ceph-radosgw:
 #      charm: "local:trusty/hacluster"
 #      options:
index f6f54a9..5427a92 100644 (file)
@@ -31,6 +31,8 @@ openstack-phase1:
 openstack-phase2:
   inherits: openstack-phase1
   relations:
+    - - "mysql:ha"
+      - "hacluster-mysql:ha"
     - - "glance:ha"
       - "hacluster-glance:ha"
     - - "keystone:ha"
@@ -172,6 +174,11 @@ openstack-phase2:
       options:
         corosync_key: |
           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_key: |
+          'Q29yb3N5bmMgQ2x1c3RlciBFbmdpbmUgQXV0aGVudGljYXRpb24ga2V5IGdlbmVyYXRvci4KR2F0aGVyaW5nIDEwMjQgYml0cyBmb3Iga2V5IGZyb20gL2Rldi9yYW5kb20uClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5LgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDkyMCkuClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5IChiaXRzID0gMTAwMCkuCldyaXRpbmcgY29yb3N5bmMga2V5IHRvIC9ldGMvY29yb3N5bmMvYXV0aGtleS4K'
     mysql:
       charm: "local:trusty/percona-cluster"
       num_units: 3
index 3db4270..21676eb 100644 (file)
@@ -135,6 +135,7 @@ contrail:
 openstack-phase2:
   inherits: openstack-phase1
   relations:
+    - [ "mysql:ha", "hacluster-mysql:ha" ]
     - [ "glance:ha", "hacluster-glance:ha" ]
     - [ "keystone:ha", "hacluster-keystone:ha" ]
     - [ "neutron-api:ha", "hacluster-neutron:ha" ]
@@ -233,6 +234,11 @@ openstack-phase2:
       options:
         corosync_key: |
           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
+    hacluster-mysql:
+      charm: "local:trusty/hacluster"
+      options:
+        corosync_key: |
+          'Q29yb3N5bmMgQ2x1c3RlciBFbmdpbmUgQXV0aGVudGljYXRpb24ga2V5IGdlbmVyYXRvci4KR2F0aGVyaW5nIDEwMjQgYml0cyBmb3Iga2V5IGZyb20gL2Rldi9yYW5kb20uClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5LgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDkyMCkuClByZXNzIGtleXMgb24geW91ciBrZXlib2FyZCB0byBnZW5lcmF0ZSBlbnRyb3B5IChiaXRzID0gMTAwMCkuCldyaXRpbmcgY29yb3N5bmMga2V5IHRvIC9ldGMvY29yb3N5bmMvYXV0aGtleS4K'
     ceilometer:
       charm: "local:trusty/ceilometer"
       num_units: 3