00ee8d2c9ef9faa10bbfa42d329dbd8f1dd12a0b
[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: 2
90       options:
91         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
92         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
93         osd-devices: /srv
94         monitor-count: 1
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         - "nodes-compute=0"
100         - "nodes-compute=1"
101     ceph-osd:
102       branch: lp:~openstack-charmers/charms/trusty/ceph-osd/next
103       num_units: 1
104       options:
105         osd-devices: /srv
106         osd-reformat: 'yes'
107       to:
108         - "nodes-api=1"
109     ceph-radosgw:
110       branch: lp:~openstack-charmers/charms/trusty/ceph-radosgw/next
111       num_units: 1
112       options:
113         use-embedded-webserver: true
114         operator-roles: "Member,admin"
115       to:
116         - "lxc:nodes-api=0"
117     cinder:
118       branch: lp:~openstack-charmers/charms/trusty/cinder/next
119       num_units: 3
120       options:
121         block-device: None
122         glance-api-version: 2
123 #        ha-mcastport: 5401
124       to:
125         - "lxc:nodes-api=1"
126         - "lxc:nodes-api=0"
127         - "lxc:nodes-api=2"
128     cinder-ceph:
129       branch: lp:~openstack-charmers/charms/trusty/cinder-ceph/next
130     "rabbitmq-server":
131       branch: lp:~openstack-charmers/charms/trusty/rabbitmq-server/next
132       num_units: 3
133       to:
134         - "lxc:nodes-api=2"
135         - "lxc:nodes-api=0"
136         - "lxc:nodes-api=1"
137     "keystone":
138       branch: lp:~openstack-charmers/charms/trusty/keystone/next
139       num_units: 3
140       options:
141 #        ha-mcastport: 5402
142         "admin-password": openstack
143         "admin-token": admin
144         vip: 10.4.1.13
145       to:
146         - "lxc:nodes-api=0"
147         - "lxc:nodes-api=1"
148         - "lxc:nodes-api=2"
149     "openstack-dashboard":
150       branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
151       num_units: 3
152       options:
153         secret: admin
154         vip: 10.4.1.11
155         webroot: /
156       to:
157         - "lxc:nodes-api=1"
158         - "lxc:nodes-api=0"
159         - "lxc:nodes-api=2"
160     "nova-compute":
161       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
162       num_units: 2
163       options:
164         "enable-live-migration": False
165         "manage-neutron-plugin-legacy-mode": False
166       to:
167         - "nodes-compute=0"
168         - "nodes-compute=1"
169 #        - "nodes-api=0"
170 #        - "nodes-api=1"
171 #        - "nodes-api=2"
172     "nova-cloud-controller":
173       branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
174       num_units: 3
175       options:
176         "console-access-protocol": novnc
177         "network-manager": Neutron
178         "quantum-security-groups": "yes"
179         "service-guard": true
180         "neutron-external-network": ext_net
181         vip: 10.4.1.16
182       to:
183         - "lxc:nodes-api=2"
184         - "lxc:nodes-api=0"
185         - "lxc:nodes-api=1"
186     "neutron-api":
187       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
188       num_units: 3
189       options:
190         neutron-security-groups: True
191         manage-neutron-plugin-legacy-mode: False
192         vip: 10.4.1.17
193       to:
194         - "lxc:nodes-api=0"
195         - "lxc:nodes-api=1"
196         - "lxc:nodes-api=2"
197     neutron-gateway:
198       branch: lp:~openstack-charmers/charms/trusty/neutron-gateway/next
199       options:
200 #        "ext-port": "eth1"
201         plugin: ovs-odl
202         instance-mtu: 1400
203       to:
204         - "nodes-api=0"
205     odl-controller:
206       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
207       options:
208         #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"
209         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"
210         profile: "openvswitch-odl-lithium"
211         http-proxy: "http://squid.internal:3128"
212         https-proxy: "http://squid.internal:3128"
213       to:
214         - "lxc:nodes-api=1"
215     "glance":
216       branch: lp:~openstack-charmers/charms/trusty/glance/next
217       num_units: 3
218       options:
219         vip: 10.4.1.12
220 #        ha-mcastport: 5402
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     neutron-api-odl:
231       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/next
232       options:
233         overlay-network-type: 'vxlan gre'
234         security-groups: True
235     openvswitch-odl:
236       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
237   relations:
238     - - "glance:ha"
239       - "hacluster-glance:ha"
240     - - "keystone:ha"
241       - "hacluster-keystone:ha"
242     - - "neutron-api:ha"
243       - "hacluster-neutron:ha"
244     - - "nova-cloud-controller:ha"
245       - "hacluster-nova:ha"
246     - - "openstack-dashboard:ha"
247       - "hacluster-horizon:ha"
248     - - "ceilometer:ha"
249       - "hacluster-ceilometer:ha"
250     - - "neutron-api:neutron-plugin-api-subordinate"
251       - "neutron-api-odl:neutron-plugin-api-subordinate"
252     - - "nova-compute:neutron-plugin"
253       - "openvswitch-odl:neutron-plugin"
254     - - "neutron-gateway"
255       - "openvswitch-odl"
256     - - "openvswitch-odl:ovsdb-manager"
257       - "odl-controller:ovsdb-manager"
258     - - "neutron-api-odl:odl-controller"
259       - "odl-controller:controller-api"
260     - - "keystone:shared-db"
261       - "percona-cluster:shared-db"
262     - - "nova-cloud-controller:shared-db"
263       - "percona-cluster:shared-db"
264     - - "nova-cloud-controller:amqp"
265       - "rabbitmq-server:amqp"
266     - - "nova-cloud-controller:image-service"
267       - "glance:image-service"
268     - - "nova-cloud-controller:identity-service"
269       - "keystone:identity-service"
270     - - "nova-cloud-controller:cloud-compute"
271       - "nova-compute:cloud-compute"
272     - - "nova-compute:amqp"
273       - "rabbitmq-server:amqp"
274     - - "nova-compute:image-service"
275       - "glance:image-service"
276     - - "glance:shared-db"
277       - "percona-cluster:shared-db"
278     - - "glance:identity-service"
279       - "keystone:identity-service"
280     - - "glance:amqp"
281       - "rabbitmq-server:amqp"
282     - - "openstack-dashboard:identity-service"
283       - "keystone:identity-service"
284     - - "neutron-api:shared-db"
285       - "percona-cluster:shared-db"
286     - - "neutron-api:amqp"
287       - "rabbitmq-server:amqp"
288     - - "nova-cloud-controller:neutron-api"
289       - "neutron-api:neutron-api"
290     - - "neutron-api:identity-service"
291       - "keystone:identity-service"
292     - - "neutron-gateway:amqp"
293       - "rabbitmq-server:amqp"
294     - - "neutron-gateway:neutron-plugin-api"
295       - "neutron-api:neutron-plugin-api"
296     - - "nova-cloud-controller:quantum-network-service"
297       - "neutron-gateway:quantum-network-service"
298     - - "ceilometer:amqp"
299       - "rabbitmq-server:amqp"
300     - - "ceilometer-agent:ceilometer-service"
301       - "ceilometer:ceilometer-service"
302     - - "ceilometer:identity-service"
303       - "keystone:identity-service"
304     - - "ceilometer:identity-notifications"
305       - "keystone:identity-notifications"
306     - - "ceilometer-agent:nova-ceilometer"
307       - "nova-compute:nova-ceilometer"
308     - - "ceilometer:shared-db"
309       - "mongodb:database"
310     - - "heat:shared-db"
311       - "percona-cluster:shared-db"
312     - - "heat:identity-service"
313       - "keystone:identity-service"
314     - - "heat:amqp"
315       - "rabbitmq-server:amqp"
316     - - "cinder:image-service"
317       - "glance:image-service"
318     - - "cinder:amqp"
319       - "rabbitmq-server:amqp"
320     - - "cinder:identity-service"
321       - "keystone:identity-service"
322     - - "cinder:cinder-volume-service"
323       - "nova-cloud-controller:cinder-volume-service"
324     - - "cinder-ceph:storage-backend"
325       - "cinder:storage-backend"
326     - - "ceph:client"
327       - "nova-compute:ceph"
328     - - "cinder:shared-db"
329       - "percona-cluster:shared-db"
330     - - "ceph:client"
331       - "cinder-ceph:ceph"
332     - - "ceph:client"
333       - "glance:ceph"
334     - - "ceph-osd:mon"
335       - "ceph:osd"
336     - - "ceph-radosgw:mon"
337       - "ceph:radosgw"
338     - - "ceph-radosgw:identity-service"
339       - "keystone:identity-service"
340
341 trusty-liberty-nodes:
342   inherits: openstack-phase1
343   overrides:
344     series: trusty
345
346 trusty-liberty:
347   inherits: openstack-phase2
348   overrides:
349 #    cluster_count: 3
350     #os-data-network: 10.4.8.0/21
351     #prefer-ipv6: true
352     region: Canonical
353     source: "cloud:trusty-liberty"
354     "openstack-origin": "cloud:trusty-liberty"
355     series: trusty
356     ceph-osd-replication-count: 2
357     admin-role: admin
358     keystone-admin-role: admin
359
360 trusty-kilo-nodes:
361   inherits: openstack-phase1
362   overrides:
363     series: trusty
364
365 trusty-kilo:
366   inherits: openstack-phase2
367   overrides:
368 #    cluster_count: 3
369     #os-data-network: 10.4.8.0/21
370     #prefer-ipv6: true
371     region: Canonical
372     source: "cloud:trusty-kilo"
373     "openstack-origin": "cloud:trusty-kilo"
374     series: trusty
375     ceph-osd-replication-count: 2
376     admin-role: admin
377     keystone-admin-role: admin
378
379 trusty-juno-nodes:
380   inherits: openstack-phase1
381   overrides:
382     series: trusty
383
384 trusty-juno:
385   inherits: openstack-phase2
386   overrides:
387 #    cluster_count: 3
388     #os-data-network: 10.4.8.0/21
389     #prefer-ipv6: true
390     region: Canonical
391     source: "cloud:trusty-juno"
392     "openstack-origin": "cloud:trusty-juno"
393     series: trusty
394     ceph-osd-replication-count: 2
395     admin-role: admin
396     keystone-admin-role: admin