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