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