Update Congress branch to mitaka
[joid.git] / ci / opencontrail / juju-deployer / ovs-opencontrail-ha.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "cs:trusty/ubuntu"
7       num_units: 3
8       constraints: tags=control
9     nodes-compute:
10       charm: "cs:trusty/ubuntu"
11       num_units: 2
12       constraints: tags=compute
13     ntp:
14       charm: "cs:trusty/ntp"
15       options:
16         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
17         auto_peers: false
18     zookeeper:
19       branch: lp:~charmers/charms/precise/zookeeper/trunk
20       num_units: 3
21       series: precise
22       to:
23         - "lxc:nodes-api=2"
24         - "lxc:nodes-api=0"
25         - "lxc:nodes-api=1"
26     cassandra:
27       branch: lp:~stub/charms/trusty/cassandra/noauthentication
28       num_units: 3
29       to:
30         - "lxc:nodes-api=1"
31         - "lxc:nodes-api=0"
32         - "lxc:nodes-api=2"
33       options:
34         authenticator: AllowAllAuthenticator
35   relations:
36     - - "ntp:juju-info"
37       - "nodes-api:juju-info"
38     - - "ntp:juju-info"
39       - "nodes-compute:juju-info"
40 openstack-phase2:
41   inherits: openstack-phase1
42   services:
43     mysql:
44       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
45       num_units: 3
46       options:
47         dataset-size: 2G
48         lp1366997-workaround: true
49         max-connections: 10000
50         root-password: 293rhc395m
51         sst-password: 127rc14t51
52         vip: 10.4.1.15
53       to:
54         - "lxc:nodes-api=2"
55         - "lxc:nodes-api=0"
56         - "lxc:nodes-api=1"
57     hacluster-keystone:
58       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
59       options:
60         corosync_key: |
61           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
62     hacluster-horizon:
63       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
64       options:
65         corosync_key: |
66           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
67     hacluster-nova:
68       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
69       options:
70         corosync_key: |
71           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
72     hacluster-neutron: 
73       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
74       options:
75         corosync_key: |
76           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
77     hacluster-glance:
78       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
79       options:
80         corosync_key: |
81           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
82     hacluster-ceilometer:
83       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
84       options:
85         corosync_key: |
86           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
87     ceilometer:
88       branch: "lp:~openstack-charmers/charms/trusty/ceilometer/next"
89       num_units: 3
90       options:
91         vip: 10.4.1.14
92       to:
93         - "lxc:nodes-api=2"
94         - "lxc:nodes-api=0"
95         - "lxc:nodes-api=1"
96     ceilometer-agent:
97       branch: "lp:~openstack-charmers/charms/trusty/ceilometer-agent/next"
98     mongodb:
99       charm: "cs:trusty/mongodb"
100       num_units: 1
101       to:
102         - "lxc:nodes-api=0"
103     heat:
104       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
105       to:
106         - "lxc:nodes-api=0"
107     ceph:
108       branch: lp:~openstack-charmers/charms/trusty/ceph/next
109       num_units: 3
110       options:
111         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
112         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
113         osd-devices: ""
114         monitor-count: 3
115 #        osd-reformat: 'no'
116 #        ceph-cluster-network: 192.168.0.0/24
117 #        ceph-public-network: 192.168.0.0/24
118       to:
119         - "lxc:nodes-api=2"
120         - "lxc:nodes-api=0"
121         - "lxc:nodes-api=1"
122     ceph-osd:
123       branch: lp:~openstack-charmers/charms/trusty/ceph-osd/next
124       num_units: 2
125       options:
126         osd-devices: /srv
127         osd-reformat: 'yes'
128       to:
129         - "nodes-compute=0"
130         - "nodes-compute=1"
131     ceph-radosgw:
132       branch: lp:~openstack-charmers/charms/trusty/ceph-radosgw/next
133       num_units: 1
134       options:
135         use-embedded-webserver: true
136         operator-roles: "Member,admin"
137       to:
138         - "lxc:nodes-api=0"
139
140     cinder:
141       branch: lp:~openstack-charmers/charms/trusty/cinder/next
142       num_units: 3
143       options:
144         block-device: None
145         glance-api-version: 2
146 #        ha-mcastport: 5401
147       to:
148         - "lxc:nodes-api=0"
149         - "lxc:nodes-api=1"
150         - "lxc:nodes-api=2"
151     cinder-ceph:
152       branch: lp:~openstack-charmers/charms/trusty/cinder-ceph/next
153     rabbitmq-server: 
154       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
155       num_units: 3
156       to:
157         - "lxc:nodes-api=1"
158         - "lxc:nodes-api=0"
159         - "lxc:nodes-api=2"
160     keystone: 
161       branch: lp:~openstack-charmers/charms/trusty/keystone/next
162       num_units: 3
163       options: 
164         admin-password: openstack
165         admin-token: admin
166         vip: 10.4.1.13
167       to:
168         - "lxc:nodes-api=2"
169         - "lxc:nodes-api=0"
170         - "lxc:nodes-api=1"
171     openstack-dashboard: 
172       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
173       num_units: 3
174       options: 
175         secret: admin
176         vip: 10.4.1.11
177         webroot: /
178       to:
179         - "lxc:nodes-api=0"
180         - "lxc:nodes-api=1"
181         - "lxc:nodes-api=2"
182     nova-compute:
183       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
184       num_units: 2
185       options:
186         enable-live-migration: False
187         manage-neutron-plugin-legacy-mode: False
188       to:
189         - "nodes-compute=0"
190         - "nodes-compute=1"
191 #        - "nodes-api=0"
192 #        - "nodes-api=1"
193 #        - "nodes-api=2"
194     nova-cloud-controller:
195       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
196       num_units: 3
197       options:
198         console-access-protocol: novnc
199         network-manager: Neutron
200         service-guard: true
201         vip: 10.4.1.16
202       to:
203         - "lxc:nodes-api=1"
204         - "lxc:nodes-api=0"
205         - "lxc:nodes-api=2"
206     neutron-api:
207       branch: lp:~opnfv-team/charms/trusty/neutron-api/next
208       num_units: 3
209       options:
210         neutron-security-groups: True
211         manage-neutron-plugin-legacy-mode: False
212         vip: 10.4.1.17
213       to:
214         - "lxc:nodes-api=2"
215         - "lxc:nodes-api=0"
216         - "lxc:nodes-api=1"
217     glance:
218       branch: lp:~openstack-charmers/charms/trusty/glance/next
219       num_units: 3
220       options:
221         vip: 10.4.1.12
222       to:
223         - "lxc:nodes-api=1"
224         - "lxc:nodes-api=0"
225         - "lxc:nodes-api=2"
226     opnfv-promise:
227       branch: lp:~narindergupta/charms/trusty/promise/trunk
228       num_units: 1
229       to:
230         - "lxc:nodes-api=0"
231     congress:
232       charm: local:trusty/congress
233       options:
234         source-branch: stable/mitaka
235       to:
236         - "lxc:nodes-api=0"
237   relations:
238     - [ "glance:ha", "hacluster-glance:ha" ]
239     - [ "keystone:ha", "hacluster-keystone:ha" ]
240     - [ "neutron-api:ha", "hacluster-neutron:ha" ]
241     - [ "nova-cloud-controller:ha", "hacluster-nova:ha" ]
242     - [ "openstack-dashboard:ha", "hacluster-horizon:ha" ]
243     - [ "ceilometer:ha", "hacluster-ceilometer:ha" ] 
244     - [ keystone, mysql ]
245     - [ nova-cloud-controller, mysql ]
246     - [ nova-cloud-controller, rabbitmq-server ]
247     - [ nova-cloud-controller, glance ]
248     - [ nova-cloud-controller, keystone ]
249     - [ nova-compute, nova-cloud-controller ]
250     - [ "nova-compute:shared-db", "mysql:shared-db" ]
251     - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
252     - [ nova-compute, glance ]
253     - [ glance, mysql ]
254     - [ glance, keystone ]
255     - [ openstack-dashboard, keystone ]
256     - [ neutron-api, mysql ]
257     - [ neutron-api, rabbitmq-server ]
258     - [ neutron-api, nova-cloud-controller ]
259     - [ neutron-api, keystone ]
260     - [ neutron-api, neutron-api-contrail ]
261     - [ "ceilometer:amqp", "rabbitmq-server:amqp" ]
262     - [ "ceilometer-agent:ceilometer-service", "ceilometer:ceilometer-service" ]
263     - [ "ceilometer:identity-service", "keystone:identity-service" ]
264     - [ "ceilometer:identity-notifications", "keystone:identity-notifications" ]
265     - [ "ceilometer-agent:nova-ceilometer", "nova-compute:nova-ceilometer" ]
266     - [ "ceilometer:shared-db", "mongodb:database" ]
267     - [ "heat:shared-db", "mysql:shared-db" ]
268     - [ "heat:identity-service", "keystone:identity-service" ]
269     - [ "heat:amqp", "rabbitmq-server:amqp" ]
270     - [ "cinder:image-service", "glance:image-service" ]
271     - [ "cinder:amqp", "rabbitmq-server:amqp" ]
272     - [ "cinder:identity-service", "keystone:identity-service" ]
273     - [ "cinder:cinder-volume-service", "nova-cloud-controller:cinder-volume-service" ]
274     - [ "cinder-ceph:storage-backend", "cinder:storage-backend" ]
275     - [ "ceph:client", "nova-compute:ceph" ]
276     - [ "cinder:shared-db", "mysql:shared-db" ]
277     - [ "ceph:client", "cinder-ceph:ceph" ]
278     - [ "ceph:client", "glance:ceph" ]
279     - [ "ceph-osd:mon", "ceph:osd" ]
280     - [ "ceph-radosgw:mon", "ceph:radosgw" ]
281     - [ "ceph-radosgw:identity-service", "keystone:identity-service" ]
282     - - congress:shared-db
283       - mysql:shared-db
284     - - congress:identity-service
285       - keystone:identity-service
286     - - congress:amqp
287       - rabbitmq-server:amqp
288 contrail:
289   inherits: openstack-phase2
290   services:
291     contrail-configuration:
292       branch: lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
293       num_units: 3
294       options:
295         vip: 10.4.1.18
296       to:
297         - "lxc:nodes-api=0"
298         - "lxc:nodes-api=1"
299         - "lxc:nodes-api=2"
300     contrail-control:
301       branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
302       num_units: 3
303       to:
304         - "lxc:nodes-api=0"
305         - "lxc:nodes-api=1"
306         - "lxc:nodes-api=2"
307     contrail-analytics:
308       branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
309       num_units: 3
310       to:
311         - "lxc:nodes-api=0"
312         - "lxc:nodes-api=1"
313         - "lxc:nodes-api=2"
314     contrail-webui:
315       branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
316       num_units: 3
317       to:
318         - "lxc:nodes-api=0"
319         - "lxc:nodes-api=1"
320         - "lxc:nodes-api=2"
321     neutron-api-contrail:
322       branch: lp:~opnfv-team/charms/trusty/neutron-api-contrail/trunk
323     neutron-contrail:
324       branch: lp:~opnfv-team/charms/trusty/neutron-contrail/trunk
325     haproxy:
326       branch: lp:~opnfv-team/charms/trusty/haproxy/trunk
327       num_units: 3
328       options:
329         peering_mode: active-active
330       to:
331         - "lxc:nodes-api=0"
332         - "lxc:nodes-api=1"
333         - "lxc:nodes-api=2"
334     keepalived:
335       branch: lp:~sdn-charmers/charms/trusty/keepalived/trunk
336       options:
337         virtual-ip: 10.4.1.19
338   overrides:
339     admin-role: admin
340   relations:
341     - [ "contrail-configuration:cassandra", "cassandra:database" ]
342     - [ contrail-configuration, zookeeper ]
343     - [ contrail-configuration, rabbitmq-server ]
344     - [ contrail-configuration, keystone ]
345     - [ neutron-api-contrail, contrail-configuration ]
346     - [ neutron-api-contrail, keystone ]
347     - [ "contrail-control:contrail-api", "contrail-configuration:contrail-api" ]
348     - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
349     - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
350     - [ contrail-control, keystone ]
351     - [ "contrail-analytics:cassandra", "cassandra:database" ]
352     - [ "contrail-analytics:contrail-analytics-api", "contrail-configuration:contrail-analytics-api" ]
353     - [ "contrail-configuration:contrail-discovery", "contrail-analytics:contrail-discovery" ]
354     - [ contrail-webui, keystone ]
355     - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
356     - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
357     - [ "contrail-webui:cassandra", "cassandra:database" ]
358     - [ nova-compute, neutron-contrail ]
359     - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
360     - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
361     - [ neutron-contrail, keystone ]
362     - [ contrail-configuration, ntp ]
363     - [ contrail-control, ntp ]
364     - [ contrail-analytics, ntp ]
365     - [ contrail-configuration, haproxy ]
366     - [ contrail-analytics, haproxy ]
367     - [ contrail-webui, haproxy ]
368     - [ haproxy, keepalived ]
369 trusty-liberty-nodes:
370   inherits: openstack-phase1
371   series: trusty
372   overrides:
373     series: trusty
374     
375 trusty-liberty: 
376   inherits: contrail
377   series: trusty
378   overrides:
379     series: trusty
380     #os-data-network: 10.4.8.0/21
381     #ceph-cluster-network: 10.4.0.0/21
382     #prefer-ipv6: true
383     region: Canonical
384     openstack-origin: cloud:trusty-liberty
385     source: "cloud:trusty-liberty"
386     ceph-osd-replication-count: 2
387     admin-role: admin
388     keystone-admin-role: admin
389
390 trusty-kilo-nodes:
391   inherits: openstack-phase1
392   series: trusty
393   overrides:
394     series: trusty
395
396 trusty-kilo:
397   inherits: contrail
398   series: trusty
399   overrides:
400     series: trusty
401     #os-data-network: 10.4.8.0/21
402     #ceph-cluster-network: 10.4.0.0/21
403     #prefer-ipv6: true
404     region: Canonical
405     openstack-origin: cloud:trusty-kilo
406     source: "cloud:trusty-kilo"
407     ceph-osd-replication-count: 2
408     admin-role: admin
409     keystone-admin-role: admin
410
411 trusty-juno-nodes:
412   inherits: openstack-phase1
413   overrides:
414     series: trusty
415
416 trusty-juno:
417   inherits: contrail
418   series: trusty
419   overrides:
420     series: trusty
421     #os-data-network: 10.4.8.0/21
422     #ceph-cluster-network: 10.4.0.0/21
423     #prefer-ipv6: true
424     region: Canonical
425     openstack-origin: cloud:trusty-juno
426     source: "cloud:trusty-juno"
427     ceph-osd-replication-count: 2
428     admin-role: admin
429     keystone-admin-role: admin
430