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