joid: remove brackets around 'admin-password' to homogenize variable in all config...
[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: "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   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       branch: "lp:~openstack-charmers/charms/trusty/percona-cluster/next"
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=1"
35         - "lxc:nodes-api=0"
36         - "lxc:nodes-api=2"
37     "hacluster-keystone":
38       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     "hacluster-horizon":
43       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     "hacluster-nova":
48       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     "hacluster-neutron":
53       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     "hacluster-glance":
58       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     "hacluster-ceilometer":
63       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
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=2"
74         - "lxc:nodes-api=0"
75         - "lxc:nodes-api=1"
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       branch: lp:~openstack-charmers/charms/trusty/ceph/next
89       num_units: 3
90       options:
91         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
92         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
93         osd-devices: ""
94         monitor-count: 3
95 #        osd-reformat: 'false'
96 #        ceph-cluster-network: 192.168.0.0/24
97 #        ceph-public-network: 192.168.0.0/24
98       to:
99         - "lxc:nodes-api=0"
100         - "lxc:nodes-api=1"
101         - "lxc:nodes-api=2"
102     ceph-osd:
103       branch: lp:~openstack-charmers/charms/trusty/ceph-osd/next
104       num_units: 2
105       options:
106         osd-devices: /srv
107         osd-reformat: 'yes'
108       to:
109         - "nodes-compute=0"
110         - "nodes-compute=1"
111 #        - "nodes-api=0"
112     ceph-radosgw:
113       branch: lp:~openstack-charmers/charms/trusty/ceph-radosgw/next
114       num_units: 1
115       options:
116         use-embedded-webserver: true
117         operator-roles: "Member,admin"
118       to:
119         - "lxc:nodes-api=0"
120     cinder:
121       branch: lp:~openstack-charmers/charms/trusty/cinder/next
122       num_units: 3
123       options:
124         block-device: None
125         glance-api-version: 2
126 #        ha-mcastport: 5401
127       to:
128         - "lxc:nodes-api=1"
129         - "lxc:nodes-api=0"
130         - "lxc:nodes-api=2"
131     cinder-ceph:
132       branch: lp:~openstack-charmers/charms/trusty/cinder-ceph/next
133     "rabbitmq-server":
134       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
135       num_units: 3
136       to:
137         - "lxc:nodes-api=2"
138         - "lxc:nodes-api=0"
139         - "lxc:nodes-api=1"
140     "keystone":
141       branch: lp:~openstack-charmers/charms/trusty/keystone/next
142       num_units: 3
143       options:
144 #        ha-mcastport: 5402
145         admin-password: openstack
146         "admin-token": admin
147         vip: 10.4.1.13
148       to:
149         - "lxc:nodes-api=0"
150         - "lxc:nodes-api=1"
151         - "lxc:nodes-api=2"
152     "openstack-dashboard":
153       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
154       num_units: 3
155       options:
156         secret: admin
157         vip: 10.4.1.11
158         webroot: /
159       to:
160         - "lxc:nodes-api=1"
161         - "lxc:nodes-api=0"
162         - "lxc:nodes-api=2"
163     "nova-compute":
164       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
165       num_units: 2
166       options:
167         "enable-live-migration": False
168         "manage-neutron-plugin-legacy-mode": False
169       to:
170         - "nodes-compute=0"
171         - "nodes-compute=1"
172 #        - "nodes-api=0"
173 #        - "nodes-api=1"
174 #        - "nodes-api=2"
175     "nova-cloud-controller":
176       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
177       num_units: 3
178       options:
179         "console-access-protocol": novnc
180         "network-manager": Neutron
181         "quantum-security-groups": "yes"
182         "service-guard": true
183         "neutron-external-network": ext_net
184         vip: 10.4.1.16
185       to:
186         - "lxc:nodes-api=2"
187         - "lxc:nodes-api=0"
188         - "lxc:nodes-api=1"
189     "neutron-api":
190       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
191       num_units: 3
192       options:
193         neutron-security-groups: True
194         manage-neutron-plugin-legacy-mode: False
195         vip: 10.4.1.17
196       to:
197         - "lxc:nodes-api=0"
198         - "lxc:nodes-api=1"
199         - "lxc:nodes-api=2"
200     neutron-gateway:
201       branch: lp:~openstack-charmers/charms/trusty/neutron-gateway/next
202       options:
203 #        "ext-port": "eth1"
204         plugin: ovs-odl
205         instance-mtu: 1400
206       to:
207         - "nodes-api=0"
208     odl-controller:
209       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
210       options:
211         #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"
212         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.3.3-Lithium-SR3/distribution-karaf-0.3.3-Lithium-SR3.tar.gz"
213         profile: "openvswitch-odl-lithium"
214         http-proxy: "http://squid.internal:3128"
215         https-proxy: "http://squid.internal:3128"
216       to:
217         - "lxc:nodes-api=1"
218     "glance":
219       branch: lp:~openstack-charmers/charms/trusty/glance/next
220       num_units: 3
221       options:
222         vip: 10.4.1.12
223 #        ha-mcastport: 5402
224       to:
225         - "lxc:nodes-api=1"
226         - "lxc:nodes-api=0"
227         - "lxc:nodes-api=2"
228     opnfv-promise:
229       branch: lp:~narindergupta/charms/trusty/promise/trunk
230       num_units: 1
231       to:
232         - "lxc:nodes-api=2"
233     neutron-api-odl:
234       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/next
235       options:
236         overlay-network-type: 'vxlan gre'
237         security-groups: True
238     openvswitch-odl:
239       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
240   relations:
241     - - "glance:ha"
242       - "hacluster-glance:ha"
243     - - "keystone:ha"
244       - "hacluster-keystone:ha"
245     - - "neutron-api:ha"
246       - "hacluster-neutron:ha"
247     - - "nova-cloud-controller:ha"
248       - "hacluster-nova:ha"
249     - - "openstack-dashboard:ha"
250       - "hacluster-horizon:ha"
251     - - "ceilometer:ha"
252       - "hacluster-ceilometer:ha"
253     - - "neutron-api:neutron-plugin-api-subordinate"
254       - "neutron-api-odl:neutron-plugin-api-subordinate"
255     - - "nova-compute:neutron-plugin"
256       - "openvswitch-odl:neutron-plugin"
257     - - "neutron-gateway"
258       - "openvswitch-odl"
259     - - "openvswitch-odl:ovsdb-manager"
260       - "odl-controller:ovsdb-manager"
261     - - "neutron-api-odl:odl-controller"
262       - "odl-controller:controller-api"
263     - - "keystone:shared-db"
264       - "percona-cluster:shared-db"
265     - - "nova-cloud-controller:shared-db"
266       - "percona-cluster:shared-db"
267     - - "nova-cloud-controller:amqp"
268       - "rabbitmq-server:amqp"
269     - - "nova-cloud-controller:image-service"
270       - "glance:image-service"
271     - - "nova-cloud-controller:identity-service"
272       - "keystone:identity-service"
273     - - "nova-cloud-controller:cloud-compute"
274       - "nova-compute:cloud-compute"
275     - - "nova-compute:amqp"
276       - "rabbitmq-server:amqp"
277     - - "nova-compute:image-service"
278       - "glance:image-service"
279     - - "glance:shared-db"
280       - "percona-cluster:shared-db"
281     - - "glance:identity-service"
282       - "keystone:identity-service"
283     - - "glance:amqp"
284       - "rabbitmq-server:amqp"
285     - - "openstack-dashboard:identity-service"
286       - "keystone:identity-service"
287     - - "neutron-api:shared-db"
288       - "percona-cluster:shared-db"
289     - - "neutron-api:amqp"
290       - "rabbitmq-server:amqp"
291     - - "nova-cloud-controller:neutron-api"
292       - "neutron-api:neutron-api"
293     - - "neutron-api:identity-service"
294       - "keystone:identity-service"
295     - - "neutron-gateway:amqp"
296       - "rabbitmq-server:amqp"
297     - - "neutron-gateway:neutron-plugin-api"
298       - "neutron-api:neutron-plugin-api"
299     - - "nova-cloud-controller:quantum-network-service"
300       - "neutron-gateway:quantum-network-service"
301     - - "ceilometer:amqp"
302       - "rabbitmq-server:amqp"
303     - - "ceilometer-agent:ceilometer-service"
304       - "ceilometer:ceilometer-service"
305     - - "ceilometer:identity-service"
306       - "keystone:identity-service"
307     - - "ceilometer:identity-notifications"
308       - "keystone:identity-notifications"
309     - - "ceilometer-agent:nova-ceilometer"
310       - "nova-compute:nova-ceilometer"
311     - - "ceilometer:shared-db"
312       - "mongodb:database"
313     - - "heat:shared-db"
314       - "percona-cluster:shared-db"
315     - - "heat:identity-service"
316       - "keystone:identity-service"
317     - - "heat:amqp"
318       - "rabbitmq-server:amqp"
319     - - "cinder:image-service"
320       - "glance:image-service"
321     - - "cinder:amqp"
322       - "rabbitmq-server:amqp"
323     - - "cinder:identity-service"
324       - "keystone:identity-service"
325     - - "cinder:cinder-volume-service"
326       - "nova-cloud-controller:cinder-volume-service"
327     - - "cinder-ceph:storage-backend"
328       - "cinder:storage-backend"
329     - - "ceph:client"
330       - "nova-compute:ceph"
331     - - "cinder:shared-db"
332       - "percona-cluster:shared-db"
333     - - "ceph:client"
334       - "cinder-ceph:ceph"
335     - - "ceph:client"
336       - "glance:ceph"
337     - - "ceph-osd:mon"
338       - "ceph:osd"
339     - - "ceph-radosgw:mon"
340       - "ceph:radosgw"
341     - - "ceph-radosgw:identity-service"
342       - "keystone:identity-service"
343
344 trusty-liberty-nodes:
345   inherits: openstack-phase1
346   overrides:
347     series: trusty
348
349 trusty-liberty:
350   inherits: openstack-phase2
351   overrides:
352 #    cluster_count: 3
353     #os-data-network: 10.4.8.0/21
354     #ceph-cluster-network: 10.4.0.0/21
355     #prefer-ipv6: true
356     region: Canonical
357     source: "cloud:trusty-liberty"
358     "openstack-origin": "cloud:trusty-liberty"
359     series: trusty
360     ceph-osd-replication-count: 2
361     admin-role: admin
362     keystone-admin-role: admin
363
364 trusty-kilo-nodes:
365   inherits: openstack-phase1
366   overrides:
367     series: trusty
368
369 trusty-kilo:
370   inherits: openstack-phase2
371   overrides:
372 #    cluster_count: 3
373     #os-data-network: 10.4.8.0/21
374     #ceph-cluster-network: 10.4.0.0/21
375     #prefer-ipv6: true
376     region: Canonical
377     source: "cloud:trusty-kilo"
378     "openstack-origin": "cloud:trusty-kilo"
379     series: trusty
380     ceph-osd-replication-count: 2
381     admin-role: admin
382     keystone-admin-role: admin
383
384 trusty-juno-nodes:
385   inherits: openstack-phase1
386   overrides:
387     series: trusty
388
389 trusty-juno:
390   inherits: openstack-phase2
391   overrides:
392 #    cluster_count: 3
393     #os-data-network: 10.4.8.0/21
394     #ceph-cluster-network: 10.4.0.0/21
395     #prefer-ipv6: true
396     region: Canonical
397     source: "cloud:trusty-juno"
398     "openstack-origin": "cloud:trusty-juno"
399     series: trusty
400     ceph-osd-replication-count: 2
401     admin-role: admin
402     keystone-admin-role: admin