enable resize so that func test can pass.
[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         enable-resize: true
165       to:
166         - "nodes-compute=0"
167         - "nodes-compute=1"
168 #        - "nodes-api=0"
169 #        - "nodes-api=1"
170 #        - "nodes-api=2"
171     openstack-dashboard:
172       branch: "lp:~openstack-charmers/charms/trusty/openstack-dashboard/next"
173       num_units: 3
174       options:
175         secret: admin
176         webroot: /
177         vip: 10.4.1.11
178       to:
179         - "lxc:nodes-api=1"
180         - "lxc:nodes-api=0"
181         - "lxc:nodes-api=2"
182     rabbitmq-server:
183       branch: "lp:~openstack-charmers/charms/trusty/rabbitmq-server/next"
184       num_units: 3
185       to:
186         - "lxc:nodes-api=2"
187         - "lxc:nodes-api=0"
188         - "lxc:nodes-api=1"
189     heat:
190       branch: "lp:~openstack-charmers/charms/trusty/heat/next"
191       to:
192         - "lxc:nodes-api=0"
193     hacluster-keystone:
194       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
195       options:
196         corosync_key: |
197           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
198     hacluster-horizon:
199       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
200       options:
201         corosync_key: |
202           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
203     hacluster-nova:
204       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
205       options:
206         corosync_key: |
207           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
208     hacluster-neutron:
209       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
210       options:
211         corosync_key: |
212           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
213     hacluster-glance:
214       branch: "lp:~openstack-charmers/charms/trusty/hacluster/next"
215       options:
216         corosync_key: |
217           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
218   relations:
219     - - glance:ha
220       - hacluster-glance:ha
221     - - keystone:ha
222       - hacluster-keystone:ha
223     - - neutron-api:ha
224       - hacluster-neutron:ha
225     - - nova-cloud-controller:ha
226       - hacluster-nova:ha
227     - - openstack-dashboard:ha
228       - hacluster-horizon:ha
229     - - nova-compute:amqp
230       - rabbitmq-server:amqp
231     - - neutron-gateway:amqp
232       - rabbitmq-server:amqp
233     - - keystone:shared-db
234       - mysql:shared-db
235     - - nova-cloud-controller:identity-service
236       - keystone:identity-service
237     - - glance:identity-service
238       - keystone:identity-service
239     - - neutron-api:identity-service
240       - keystone:identity-service
241     - - neutron-openvswitch:neutron-plugin-api
242       - neutron-api:neutron-plugin-api
243     - - neutron-api:shared-db
244       - mysql:shared-db
245     - - neutron-api:amqp
246       - rabbitmq-server:amqp
247     - - neutron-gateway:neutron-plugin-api
248       - neutron-api:neutron-plugin-api
249     - - glance:shared-db
250       - mysql:shared-db
251     - - glance:amqp
252       - rabbitmq-server:amqp
253     - - nova-cloud-controller:image-service
254       - glance:image-service
255     - - nova-compute:image-service
256       - glance:image-service
257     - - nova-cloud-controller:cloud-compute
258       - nova-compute:cloud-compute
259     - - nova-cloud-controller:amqp
260       - rabbitmq-server:amqp
261     - - nova-cloud-controller:quantum-network-service
262       - neutron-gateway:quantum-network-service
263     - - nova-compute:neutron-plugin
264       - neutron-openvswitch:neutron-plugin
265     - - neutron-openvswitch:amqp
266       - rabbitmq-server:amqp
267     - - openstack-dashboard:identity-service
268       - keystone:identity-service
269     - - nova-cloud-controller:shared-db
270       - mysql:shared-db
271     - - nova-cloud-controller:neutron-api
272       - neutron-api:neutron-api
273     - - cinder:image-service
274       - glance:image-service
275     - - cinder:amqp
276       - rabbitmq-server:amqp
277     - - cinder:identity-service
278       - keystone:identity-service
279     - - cinder:cinder-volume-service
280       - nova-cloud-controller:cinder-volume-service
281     - - cinder-ceph:storage-backend
282       - cinder:storage-backend
283     - - ceph:client
284       - nova-compute:ceph
285     - - cinder:shared-db
286       - mysql:shared-db
287     - - ceph:client
288       - cinder-ceph:ceph
289     - - ceph:client
290       - glance:ceph
291     - - ceph-osd:mon
292       - ceph:osd
293     - - ntp:juju-info
294       - nova-compute:juju-info
295     - - ntp:juju-info
296       - neutron-gateway:juju-info
297     - - ceph-radosgw:mon
298       - ceph:radosgw
299     - - ceph-radosgw:identity-service
300       - keystone:identity-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       - mysql:shared-db
315     - - heat:identity-service
316       - keystone:identity-service
317     - - heat:amqp
318       - rabbitmq-server:amqp
319 trusty-liberty-nodes:
320   inherits: openstack-phase1
321   overrides:
322     series: trusty
323
324 trusty-liberty:
325   inherits: openstack-phase2
326   overrides:
327     #os-data-network: 10.4.8.0/21
328     #ceph-cluster-network: 10.4.0.0/21
329     #prefer-ipv6: true
330     #enable-dvr: true
331     #l2-population: true
332     #ext-port: "eth1"
333     region: Canonical
334     source: "cloud:trusty-liberty"
335     openstack-origin: "cloud:trusty-liberty"
336     series: trusty
337     ceph-osd-replication-count: 2
338     admin-role: admin
339     keystone-admin-role: admin
340
341 trusty-kilo-nodes:
342   inherits: openstack-phase1
343   overrides:
344     series: trusty
345
346 trusty-kilo:
347   inherits: openstack-phase2
348   overrides:
349     #os-data-network: 10.4.8.0/21
350     #ceph-cluster-network: 10.4.0.0/21
351     #prefer-ipv6: true
352     #enable-dvr: true
353     #l2-population: true
354     #ext-port: "eth1"
355     region: Canonical
356     source: "cloud:trusty-kilo"
357     openstack-origin: "cloud:trusty-kilo"
358     series: trusty
359     ceph-osd-replication-count: 2
360     admin-role: admin
361     keystone-admin-role: admin
362
363 trusty-juno-nodes:
364   inherits: openstack-phase1
365   overrides:
366     series: trusty
367
368 trusty-juno:
369   inherits: openstack-phase2
370   overrides:
371     #os-data-network: 10.4.8.0/21
372     #ceph-cluster-network: 10.4.0.0/21
373     #prefer-ipv6: true
374     #enable-dvr: true
375     #l2-population: true
376     #ext-port: "eth1"
377     region: Canonical
378     source: "cloud:trusty-juno"
379     openstack-origin: "cloud:trusty-juno"
380     series: trusty
381     ceph-osd-replication-count: 2
382     admin-role: admin
383     keystone-admin-role: admin
384