corrected the rabbitmq relationship
[joid.git] / ci / odl / juju-deployer / ovs-odl-ha.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "local:trusty/ubuntu-nodes-controller"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       charm: "local:trusty/ubuntu-nodes-compute"
11       num_units: 1
12       constraints: tags=compute
13     "ntp": 
14       charm: "cs:trusty/ntp"
15   relations:
16     - - "ntp:juju-info"
17       - "nodes-api:juju-info"
18     - - "ntp:juju-info"
19       - "nodes-compute:juju-info"
20 openstack-phase2: 
21   inherits: openstack-phase1
22   services: 
23     "percona-cluster": 
24       charm: "cs:trusty/percona-cluster"
25       num_units: 3
26       options: 
27         "dataset-size": 2G
28         "lp1366997-workaround": true
29         "max-connections": 10000
30         "root-password": 293rhc395m
31         "sst-password": 127rc14t51
32         vip: 10.4.1.15
33       to:
34         - "lxc:nodes-api=0"
35         - "lxc:nodes-api=1"
36         - "lxc:nodes-api=2"
37     "hacluster-keystone":
38       charm: "cs:trusty/hacluster"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     "hacluster-horizon":
43       charm: "cs:trusty/hacluster"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     "hacluster-nova":
48       charm: "cs:trusty/hacluster"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     "hacluster-neutron": 
53       charm: "cs:trusty/hacluster"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     "hacluster-glance":
58       charm: "cs:trusty/hacluster"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     "hacluster-ceilometer":
63       charm: "cs:trusty/hacluster"
64       options:
65         corosync_key: |
66           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
67     "ceilometer":
68       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
69       num_units: 3
70       options:
71         vip: 10.4.1.14
72       to:
73         - "lxc:nodes-api=0"
74         - "lxc:nodes-api=1"
75         - "lxc:nodes-api=2"
76     "ceilometer-agent":
77       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
78     "mongodb":
79       charm: "cs:trusty/mongodb"
80       num_units: 1
81       to:
82         - "lxc:nodes-api=0"
83     heat:
84       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
85       to:
86         - "lxc:nodes-api=0"
87 #    ceph:
88 #      charm: cs:trusty/ceph
89 #      num_units: 1
90 #      options:
91 #        fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
92 #        monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
93 #        osd-devices: /dev/sdb
94 #        osd-reformat: 'yes'
95 #        source: cloud:trusty-kilo
96 #      to:
97 #        - "nodes-compute=0"
98 #    ceph-osd:
99 #      charm: cs:trusty/ceph-osd
100 #      num_units: 1
101 #      options:
102 #        osd-devices: /dev/sdb
103 #        osd-reformat: 'yes'
104 #        source: cloud:trusty-kilo
105 #      to:
106 #        - "lxc:nodes-api=0"
107 #    ceph-radosgw:
108 #      charm: cs:trusty/ceph-radosgw
109 #      num_units: 1
110 #      options:
111 #        source: cloud:trusty-kilo
112 #        use-embedded-webserver: true
113 #      to:
114 #        - "lxc:nodes-api=0"
115 #    cinder:
116 #      charm: cs:trusty/cinder
117 #      num_units: 1
118 #      options:
119 #        block-device: None
120 #        glance-api-version: 2
121 #        ha-mcastport: 5401
122 #      to:
123 #        - "lxc:nodes-api=0"
124 #    cinder-ceph:
125 #      charm: cs:trusty/cinder-cep
126     "rabbitmq-server": 
127       branch: lp:charms/trusty/rabbitmq-server
128       num_units: 3
129       to:
130         - "lxc:nodes-api=0"
131         - "lxc:nodes-api=1"
132         - "lxc:nodes-api=2"
133     "keystone": 
134       branch: lp:charms/trusty/keystone
135       num_units: 3
136       options: 
137         "admin-password": openstack
138         "admin-token": admin
139         vip: 10.4.1.13
140       to:
141         - "lxc:nodes-api=0"
142         - "lxc:nodes-api=1"
143         - "lxc:nodes-api=2"
144     "openstack-dashboard": 
145       branch: lp:charms/trusty/openstack-dashboard
146       num_units: 3
147       options: 
148         secret: admin
149         vip: 10.4.1.11
150         webroot: /
151       to:
152         - "lxc:nodes-api=0"
153         - "lxc:nodes-api=1"
154         - "lxc:nodes-api=2"
155     "nova-compute": 
156       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
157       num_units: 1
158       options: 
159         "enable-live-migration": False
160         "manage-neutron-plugin-legacy-mode": False
161       to:
162         - "nodes-compute=0"
163 #        - "nodes-compute=1"
164 #        - "nodes-api=0"
165 #        - "nodes-api=1"
166 #        - "nodes-api=2"
167     "nova-cloud-controller": 
168       branch: lp:charms/trusty/nova-cloud-controller
169       num_units: 3
170       options: 
171         "console-access-protocol": novnc
172         "network-manager": Neutron
173         "quantum-security-groups": "yes"
174         "service-guard": true
175         vip: 10.4.1.16
176       to:
177         - "lxc:nodes-api=0"
178         - "lxc:nodes-api=1"
179         - "lxc:nodes-api=2"
180     "neutron-api": 
181       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
182       num_units: 3
183       options:
184         neutron-security-groups: True
185         manage-neutron-plugin-legacy-mode: False
186         vip: 10.4.1.17
187       to: 
188         - "lxc:nodes-api=0"
189         - "lxc:nodes-api=1"
190         - "lxc:nodes-api=2"
191     neutron-gateway:
192       branch: lp:charms/trusty/neutron-gateway
193       options:
194 #        "ext-port": "eth1"
195         plugin: ovs-odl
196         instance-mtu: 1400
197       to:  
198         - "nodes-api=0"
199     odl-controller:
200       branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk
201       options:
202         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
203 #        install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
204         http-proxy: "http://squid.internal:3128"
205         https-proxy: "http://squid.internal:3128"
206
207       to: 
208         - "lxc:nodes-api=1"
209     "glance": 
210       branch: lp:charms/trusty/glance
211       num_units: 3
212       options: 
213         vip: 10.4.1.12
214       to:
215         - "lxc:nodes-api=0"
216         - "lxc:nodes-api=1"
217         - "lxc:nodes-api=2"
218     neutron-api-odl:
219       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
220       options:
221         overlay-network-type: 'vxlan gre'
222         security-groups: True
223     openvswitch-odl:
224       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
225   relations:
226     - - "glance:ha"
227       - "hacluster-glance:ha"
228     - - "keystone:ha"
229       - "hacluster-keystone:ha"
230     - - "neutron-api:ha"
231       - "hacluster-neutron:ha"
232     - - "nova-cloud-controller:ha"
233       - "hacluster-nova:ha"
234     - - "openstack-dashboard:ha"
235       - "hacluster-horizon:ha"
236     - - "ceilometer:ha"
237       - "hacluster-ceilometer:ha"
238     - - "neutron-api:neutron-plugin-api-subordinate"
239       - "neutron-api-odl:neutron-plugin-api-subordinate"
240     - - "nova-compute:neutron-plugin"
241       - "openvswitch-odl:neutron-plugin"
242     - - "neutron-gateway"
243       - "openvswitch-odl"
244     - - "openvswitch-odl:ovsdb-manager"
245       - "odl-controller:ovsdb-manager"
246     - - "neutron-api-odl:odl-controller"
247       - "odl-controller:controller-api"
248     - - "keystone:shared-db"
249       - "percona-cluster:shared-db"
250     - - "nova-cloud-controller:shared-db"
251       - "percona-cluster:shared-db"
252     - - "nova-cloud-controller:amqp"
253       - "rabbitmq-server:amqp"
254     - - "nova-cloud-controller:image-service"
255       - "glance:image-service"
256     - - "nova-cloud-controller:identity-service"
257       - "keystone:identity-service"
258     - - "nova-cloud-controller:cloud-compute"
259       - "nova-compute:cloud-compute"
260     - - "nova-compute:amqp"
261       - "rabbitmq-server:amqp"
262     - - "nova-compute:image-service"
263       - "glance:image-service"
264     - - "glance:shared-db"
265       - "percona-cluster:shared-db"
266     - - "glance:identity-service"
267       - "keystone:identity-service"
268     - - "glance:amqp"
269       - "rabbitmq-server:amqp"
270     - - "openstack-dashboard:identity-service"
271       - "keystone:identity-service"
272     - - "neutron-api:shared-db"
273       - "percona-cluster:shared-db"
274     - - "neutron-api:amqp"
275       - "rabbitmq-server:amqp"
276     - - "nova-cloud-controller:neutron-api"
277       - "neutron-api:neutron-api"
278     - - "neutron-api:identity-service"
279       - "keystone:identity-service"
280     - - "neutron-gateway:amqp"
281       - "rabbitmq-server:amqp"
282     - - "neutron-gateway:neutron-plugin-api"
283       - "neutron-api:neutron-plugin-api"
284     - - "nova-cloud-controller:quantum-network-service"
285       - "neutron-gateway:quantum-network-service"
286     - - "ceilometer:amqp"
287       - "rabbitmq-server:amqp"
288     - - "ceilometer-agent:ceilometer-service"
289       - "ceilometer:ceilometer-service"
290     - - "ceilometer:identity-service"
291       - "keystone:identity-service"
292     - - "ceilometer:identity-notifications"
293       - "keystone:identity-notifications"
294     - - "ceilometer-agent:nova-ceilometer"
295       - "nova-compute:nova-ceilometer"
296     - - "ceilometer:shared-db"
297       - "mongodb:database"
298     - - "heat:shared-db"
299       - "percona-cluster:shared-db"
300     - - "heat:identity-service"
301       - "keystone:identity-service"
302     - - "heat:amqp"
303       - "rabbitmq-server:amqp"
304 trusty-liberty-nodes:
305   inherits: openstack-phase1
306   overrides:
307     series: trusty
308
309 trusty-liberty:
310   inherits: openstack-phase2
311   overrides:
312     cluster_count: 3
313     #os-data-network: 10.4.8.0/21
314     region: Canonical
315     source: "cloud:trusty-liberty"
316     "openstack-origin": "cloud:trusty-liberty"
317     series: trusty
318
319 trusty-kilo-nodes:
320   inherits: openstack-phase1
321   overrides:
322     series: trusty
323
324 trusty-kilo:
325   inherits: openstack-phase2
326   overrides:
327     cluster_count: 3
328     #os-data-network: 10.4.8.0/21
329     region: Canonical
330     source: "cloud:trusty-kilo"
331     "openstack-origin": "cloud:trusty-kilo"
332     series: trusty
333
334
335 trusty-juno-nodes:
336   inherits: openstack-phase1
337   overrides:
338     series: trusty
339
340 trusty-juno:
341   inherits: openstack-phase2
342   overrides:
343     cluster_count: 3
344     #os-data-network: 10.4.8.0/21
345     region: Canonical
346     source: "cloud:trusty-juno"
347     "openstack-origin": "cloud:trusty-juno"
348     series: trusty
349
350