f1ed04b48f2facb8e3d1eff5b201c7beb51fb1b9
[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=0"
35         - "lxc:nodes-api=1"
36         - "lxc:nodes-api=2"
37     "hacluster-keystone":
38       charm: "cs:trusty/hacluster"
39       options:
40         corosync_key: |
41           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
42     "hacluster-horizon":
43       charm: "cs:trusty/hacluster"
44       options:
45         corosync_key: |
46           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
47     "hacluster-nova":
48       charm: "cs:trusty/hacluster"
49       options:
50         corosync_key: |
51           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
52     "hacluster-neutron": 
53       charm: "cs:trusty/hacluster"
54       options:
55         corosync_key: |
56           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
57     "hacluster-glance":
58       charm: "cs:trusty/hacluster"
59       options:
60         corosync_key: |
61           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
62     "hacluster-ceilometer":
63       charm: "cs:trusty/hacluster"
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=0"
74         - "lxc:nodes-api=1"
75         - "lxc:nodes-api=2"
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       charm: cs:trusty/ceph
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: 'no'
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       charm: cs:trusty/ceph-osd
103       num_units: 3
104       options:
105         osd-devices: /srv
106         osd-reformat: 'yes'
107       to:
108         - "nodes-api=0"
109         - "nodes-api=1"
110         - "nodes-api=2"
111     ceph-radosgw:
112       charm: cs:trusty/ceph-radosgw
113       num_units: 1
114       options:
115         use-embedded-webserver: true
116         operator-roles: "Memeber,admin"
117       to:
118         - "lxc:nodes-api=0"
119     cinder:
120       charm: cs:trusty/cinder
121       num_units: 3
122       options:
123         block-device: None
124         glance-api-version: 2
125 #        ha-mcastport: 5401
126       to:
127         - "lxc:nodes-api=0"
128         - "lxc:nodes-api=1"
129         - "lxc:nodes-api=2"
130     cinder-ceph:
131       charm: cs:trusty/cinder-ceph
132     "rabbitmq-server": 
133       branch: lp:charms/trusty/rabbitmq-server
134       num_units: 3
135       to:
136         - "lxc:nodes-api=0"
137         - "lxc:nodes-api=1"
138         - "lxc:nodes-api=2"
139     "keystone": 
140       branch: lp:charms/trusty/keystone
141       num_units: 3
142       options: 
143 #        ha-mcastport: 5402
144         "admin-password": openstack
145         "admin-token": admin
146         vip: 10.4.1.13
147       to:
148         - "lxc:nodes-api=0"
149         - "lxc:nodes-api=1"
150         - "lxc:nodes-api=2"
151     "openstack-dashboard": 
152       branch: lp:charms/trusty/openstack-dashboard
153       num_units: 3
154       options: 
155         secret: admin
156         vip: 10.4.1.11
157         webroot: /
158       to:
159         - "lxc:nodes-api=0"
160         - "lxc:nodes-api=1"
161         - "lxc:nodes-api=2"
162     "nova-compute": 
163       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
164       num_units: 2
165       options: 
166         "enable-live-migration": False
167         "manage-neutron-plugin-legacy-mode": False
168       to:
169         - "nodes-compute=0"
170         - "nodes-compute=1"
171 #        - "nodes-api=0"
172 #        - "nodes-api=1"
173 #        - "nodes-api=2"
174     "nova-cloud-controller": 
175       branch: lp:charms/trusty/nova-cloud-controller
176       num_units: 3
177       options: 
178         "console-access-protocol": novnc
179         "network-manager": Neutron
180         "quantum-security-groups": "yes"
181         "service-guard": true
182         vip: 10.4.1.16
183       to:
184         - "lxc:nodes-api=0"
185         - "lxc:nodes-api=1"
186         - "lxc:nodes-api=2"
187     "neutron-api": 
188       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
189       num_units: 3
190       options:
191         neutron-security-groups: True
192         manage-neutron-plugin-legacy-mode: False
193         vip: 10.4.1.17
194       to: 
195         - "lxc:nodes-api=0"
196         - "lxc:nodes-api=1"
197         - "lxc:nodes-api=2"
198     neutron-gateway:
199       branch: lp:charms/trusty/neutron-gateway
200       options:
201 #        "ext-port": "eth1"
202         plugin: ovs-odl
203         instance-mtu: 1400
204       to:  
205         - "nodes-api=0"
206     odl-controller:
207       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
208       options:
209         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"
210 #        install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
211         http-proxy: "http://squid.internal:3128"
212         https-proxy: "http://squid.internal:3128"
213
214       to: 
215         - "lxc:nodes-api=1"
216     "glance": 
217       branch: lp:charms/trusty/glance
218       num_units: 3
219       options: 
220         vip: 10.4.1.12
221 #        ha-mcastport: 5402
222       to:
223         - "lxc:nodes-api=0"
224         - "lxc:nodes-api=1"
225         - "lxc:nodes-api=2"
226     neutron-api-odl:
227       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
228       options:
229         overlay-network-type: 'vxlan gre'
230         security-groups: True
231     openvswitch-odl:
232       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
233   relations:
234     - - "glance:ha"
235       - "hacluster-glance:ha"
236     - - "keystone:ha"
237       - "hacluster-keystone:ha"
238     - - "neutron-api:ha"
239       - "hacluster-neutron:ha"
240     - - "nova-cloud-controller:ha"
241       - "hacluster-nova:ha"
242     - - "openstack-dashboard:ha"
243       - "hacluster-horizon:ha"
244     - - "ceilometer:ha"
245       - "hacluster-ceilometer:ha"
246     - - "neutron-api:neutron-plugin-api-subordinate"
247       - "neutron-api-odl:neutron-plugin-api-subordinate"
248     - - "nova-compute:neutron-plugin"
249       - "openvswitch-odl:neutron-plugin"
250     - - "neutron-gateway"
251       - "openvswitch-odl"
252     - - "openvswitch-odl:ovsdb-manager"
253       - "odl-controller:ovsdb-manager"
254     - - "neutron-api-odl:odl-controller"
255       - "odl-controller:controller-api"
256     - - "keystone:shared-db"
257       - "percona-cluster:shared-db"
258     - - "nova-cloud-controller:shared-db"
259       - "percona-cluster:shared-db"
260     - - "nova-cloud-controller:amqp"
261       - "rabbitmq-server:amqp"
262     - - "nova-cloud-controller:image-service"
263       - "glance:image-service"
264     - - "nova-cloud-controller:identity-service"
265       - "keystone:identity-service"
266     - - "nova-cloud-controller:cloud-compute"
267       - "nova-compute:cloud-compute"
268     - - "nova-compute:amqp"
269       - "rabbitmq-server:amqp"
270     - - "nova-compute:image-service"
271       - "glance:image-service"
272     - - "glance:shared-db"
273       - "percona-cluster:shared-db"
274     - - "glance:identity-service"
275       - "keystone:identity-service"
276     - - "glance:amqp"
277       - "rabbitmq-server:amqp"
278     - - "openstack-dashboard:identity-service"
279       - "keystone:identity-service"
280     - - "neutron-api:shared-db"
281       - "percona-cluster:shared-db"
282     - - "neutron-api:amqp"
283       - "rabbitmq-server:amqp"
284     - - "nova-cloud-controller:neutron-api"
285       - "neutron-api:neutron-api"
286     - - "neutron-api:identity-service"
287       - "keystone:identity-service"
288     - - "neutron-gateway:amqp"
289       - "rabbitmq-server:amqp"
290     - - "neutron-gateway:neutron-plugin-api"
291       - "neutron-api:neutron-plugin-api"
292     - - "nova-cloud-controller:quantum-network-service"
293       - "neutron-gateway:quantum-network-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       - "percona-cluster:shared-db"
308     - - "heat:identity-service"
309       - "keystone:identity-service"
310     - - "heat:amqp"
311       - "rabbitmq-server:amqp"
312     - - "cinder:image-service"
313       - "glance:image-service"
314     - - "cinder:amqp"
315       - "rabbitmq-server:amqp"
316     - - "cinder:identity-service"
317       - "keystone:identity-service"
318     - - "cinder:cinder-volume-service"
319       - "nova-cloud-controller:cinder-volume-service"
320     - - "cinder-ceph:storage-backend"
321       - "cinder:storage-backend"
322     - - "ceph:client"
323       - "nova-compute:ceph"
324     - - "cinder:shared-db"
325       - "percona-cluster:shared-db"
326     - - "ceph:client"
327       - "cinder-ceph:ceph"
328     - - "ceph:client"
329       - "glance:ceph"
330     - - "ceph-osd:mon"
331       - "ceph:osd"
332     - - "ceph-radosgw:mon"
333       - "ceph:radosgw"
334     - - "ceph-radosgw:identity-service"
335       - "keystone:identity-service"
336
337 trusty-liberty-nodes:
338   inherits: openstack-phase1
339   overrides:
340     series: trusty
341
342 trusty-liberty:
343   inherits: openstack-phase2
344   overrides:
345     cluster_count: 3
346     #os-data-network: 10.4.8.0/21
347     #prefer-ipv6: true
348     region: Canonical
349     source: "cloud:trusty-liberty"
350     "openstack-origin": "cloud:trusty-liberty"
351     series: trusty
352     ceph-osd-replication-count: 2
353     admin-role: admin
354     keystone-admin-role: admin
355
356 trusty-kilo-nodes:
357   inherits: openstack-phase1
358   overrides:
359     series: trusty
360
361 trusty-kilo:
362   inherits: openstack-phase2
363   overrides:
364     cluster_count: 3
365     #os-data-network: 10.4.8.0/21
366     #prefer-ipv6: true
367     region: Canonical
368     source: "cloud:trusty-kilo"
369     "openstack-origin": "cloud:trusty-kilo"
370     series: trusty
371     ceph-osd-replication-count: 2
372     admin-role: admin
373
374
375 trusty-juno-nodes:
376   inherits: openstack-phase1
377   overrides:
378     series: trusty
379
380 trusty-juno:
381   inherits: openstack-phase2
382   overrides:
383     cluster_count: 3
384     #os-data-network: 10.4.8.0/21
385     #prefer-ipv6: true
386     region: Canonical
387     source: "cloud:trusty-juno"
388     "openstack-origin": "cloud:trusty-juno"
389     series: trusty
390     ceph-osd-replication-count: 2
391     admin-role: admin
392
393