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