6a046e3873a1b126dfb2fc0c0d48401da3a646e0
[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: "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     "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: 3
114       options:
115         use-embedded-webserver: true
116       to:
117         - "lxc:nodes-api=0"
118         - "lxc:nodes-api=1"
119         - "lxc:nodes-api=2"
120     cinder:
121       charm: cs:trusty/cinder
122       num_units: 3
123       options:
124         block-device: None
125         glance-api-version: 2
126 #        ha-mcastport: 5401
127       to:
128         - "lxc:nodes-api=0"
129         - "lxc:nodes-api=1"
130         - "lxc:nodes-api=2"
131     cinder-ceph:
132       charm: cs:trusty/cinder-ceph
133     "rabbitmq-server": 
134       branch: lp:charms/trusty/rabbitmq-server
135       num_units: 3
136       to:
137         - "lxc:nodes-api=0"
138         - "lxc:nodes-api=1"
139         - "lxc:nodes-api=2"
140     "keystone": 
141       branch: lp:charms/trusty/keystone
142       num_units: 3
143       options: 
144 #        ha-mcastport: 5402
145         "admin-password": openstack
146         "admin-token": admin
147         vip: 10.4.1.13
148       to:
149         - "lxc:nodes-api=0"
150         - "lxc:nodes-api=1"
151         - "lxc:nodes-api=2"
152     "openstack-dashboard": 
153       branch: lp:charms/trusty/openstack-dashboard
154       num_units: 3
155       options: 
156         secret: admin
157         vip: 10.4.1.11
158         webroot: /
159       to:
160         - "lxc:nodes-api=0"
161         - "lxc:nodes-api=1"
162         - "lxc:nodes-api=2"
163     "nova-compute": 
164       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
165       num_units: 2
166       options: 
167         "enable-live-migration": False
168         "manage-neutron-plugin-legacy-mode": False
169       to:
170         - "nodes-compute=0"
171         - "nodes-compute=1"
172 #        - "nodes-api=0"
173 #        - "nodes-api=1"
174 #        - "nodes-api=2"
175     "nova-cloud-controller": 
176       branch: lp:charms/trusty/nova-cloud-controller
177       num_units: 3
178       options: 
179         "console-access-protocol": novnc
180         "network-manager": Neutron
181         "quantum-security-groups": "yes"
182         "service-guard": true
183         vip: 10.4.1.16
184       to:
185         - "lxc:nodes-api=0"
186         - "lxc:nodes-api=1"
187         - "lxc:nodes-api=2"
188     "neutron-api": 
189       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
190       num_units: 3
191       options:
192         neutron-security-groups: True
193         manage-neutron-plugin-legacy-mode: False
194         vip: 10.4.1.17
195       to: 
196         - "lxc:nodes-api=0"
197         - "lxc:nodes-api=1"
198         - "lxc:nodes-api=2"
199     neutron-gateway:
200       branch: lp:charms/trusty/neutron-gateway
201       options:
202 #        "ext-port": "eth1"
203         plugin: ovs-odl
204         instance-mtu: 1400
205       to:  
206         - "nodes-api=0"
207     odl-controller:
208       branch: lp:~openstack-charmers/charms/trusty/odl-controller/next
209       options:
210         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"
211 #        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"
212         http-proxy: "http://squid.internal:3128"
213         https-proxy: "http://squid.internal:3128"
214
215       to: 
216         - "lxc:nodes-api=1"
217     "glance": 
218       branch: lp:charms/trusty/glance
219       num_units: 3
220       options: 
221         vip: 10.4.1.12
222 #        ha-mcastport: 5402
223       to:
224         - "lxc:nodes-api=0"
225         - "lxc:nodes-api=1"
226         - "lxc:nodes-api=2"
227     neutron-api-odl:
228       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
229       options:
230         overlay-network-type: 'vxlan gre'
231         security-groups: True
232     openvswitch-odl:
233       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
234   relations:
235     - - "glance:ha"
236       - "hacluster-glance:ha"
237     - - "keystone:ha"
238       - "hacluster-keystone:ha"
239     - - "neutron-api:ha"
240       - "hacluster-neutron:ha"
241     - - "nova-cloud-controller:ha"
242       - "hacluster-nova:ha"
243     - - "openstack-dashboard:ha"
244       - "hacluster-horizon:ha"
245     - - "ceilometer:ha"
246       - "hacluster-ceilometer:ha"
247     - - "neutron-api:neutron-plugin-api-subordinate"
248       - "neutron-api-odl:neutron-plugin-api-subordinate"
249     - - "nova-compute:neutron-plugin"
250       - "openvswitch-odl:neutron-plugin"
251     - - "neutron-gateway"
252       - "openvswitch-odl"
253     - - "openvswitch-odl:ovsdb-manager"
254       - "odl-controller:ovsdb-manager"
255     - - "neutron-api-odl:odl-controller"
256       - "odl-controller:controller-api"
257     - - "keystone:shared-db"
258       - "percona-cluster:shared-db"
259     - - "nova-cloud-controller:shared-db"
260       - "percona-cluster:shared-db"
261     - - "nova-cloud-controller:amqp"
262       - "rabbitmq-server:amqp"
263     - - "nova-cloud-controller:image-service"
264       - "glance:image-service"
265     - - "nova-cloud-controller:identity-service"
266       - "keystone:identity-service"
267     - - "nova-cloud-controller:cloud-compute"
268       - "nova-compute:cloud-compute"
269     - - "nova-compute:amqp"
270       - "rabbitmq-server:amqp"
271     - - "nova-compute:image-service"
272       - "glance:image-service"
273     - - "glance:shared-db"
274       - "percona-cluster:shared-db"
275     - - "glance:identity-service"
276       - "keystone:identity-service"
277     - - "glance:amqp"
278       - "rabbitmq-server:amqp"
279     - - "openstack-dashboard:identity-service"
280       - "keystone:identity-service"
281     - - "neutron-api:shared-db"
282       - "percona-cluster:shared-db"
283     - - "neutron-api:amqp"
284       - "rabbitmq-server:amqp"
285     - - "nova-cloud-controller:neutron-api"
286       - "neutron-api:neutron-api"
287     - - "neutron-api:identity-service"
288       - "keystone:identity-service"
289     - - "neutron-gateway:amqp"
290       - "rabbitmq-server:amqp"
291     - - "neutron-gateway:neutron-plugin-api"
292       - "neutron-api:neutron-plugin-api"
293     - - "nova-cloud-controller:quantum-network-service"
294       - "neutron-gateway:quantum-network-service"
295     - - "ceilometer:amqp"
296       - "rabbitmq-server:amqp"
297     - - "ceilometer-agent:ceilometer-service"
298       - "ceilometer:ceilometer-service"
299     - - "ceilometer:identity-service"
300       - "keystone:identity-service"
301     - - "ceilometer:identity-notifications"
302       - "keystone:identity-notifications"
303     - - "ceilometer-agent:nova-ceilometer"
304       - "nova-compute:nova-ceilometer"
305     - - "ceilometer:shared-db"
306       - "mongodb:database"
307     - - "heat:shared-db"
308       - "percona-cluster:shared-db"
309     - - "heat:identity-service"
310       - "keystone:identity-service"
311     - - "heat:amqp"
312       - "rabbitmq-server:amqp"
313     - - "cinder:image-service"
314       - "glance:image-service"
315     - - "cinder:amqp"
316       - "rabbitmq-server:amqp"
317     - - "cinder:identity-service"
318       - "keystone:identity-service"
319     - - "cinder:cinder-volume-service"
320       - "nova-cloud-controller:cinder-volume-service"
321     - - "cinder-ceph:storage-backend"
322       - "cinder:storage-backend"
323     - - "ceph:client"
324       - "nova-compute:ceph"
325     - - "cinder:shared-db"
326       - "percona-cluster:shared-db"
327     - - "ceph:client"
328       - "cinder-ceph:ceph"
329     - - "ceph:client"
330       - "glance:ceph"
331     - - "ceph-osd:mon"
332       - "ceph:osd"
333     - - "ceph-radosgw:mon"
334       - "ceph:radosgw"
335     - - "ceph-radosgw:identity-service"
336       - "keystone:identity-service"
337
338 trusty-liberty-nodes:
339   inherits: openstack-phase1
340   overrides:
341     series: trusty
342
343 trusty-liberty:
344   inherits: openstack-phase2
345   overrides:
346     cluster_count: 3
347     #os-data-network: 10.4.8.0/21
348     #prefer-ipv6: true
349     region: Canonical
350     source: "cloud:trusty-liberty"
351     "openstack-origin": "cloud:trusty-liberty"
352     series: trusty
353     ceph-osd-replication-count: 2
354
355 trusty-kilo-nodes:
356   inherits: openstack-phase1
357   overrides:
358     series: trusty
359
360 trusty-kilo:
361   inherits: openstack-phase2
362   overrides:
363     cluster_count: 3
364     #os-data-network: 10.4.8.0/21
365     #prefer-ipv6: true
366     region: Canonical
367     source: "cloud:trusty-kilo"
368     "openstack-origin": "cloud:trusty-kilo"
369     series: trusty
370     ceph-osd-replication-count: 2
371
372
373 trusty-juno-nodes:
374   inherits: openstack-phase1
375   overrides:
376     series: trusty
377
378 trusty-juno:
379   inherits: openstack-phase2
380   overrides:
381     cluster_count: 3
382     #os-data-network: 10.4.8.0/21
383     #prefer-ipv6: true
384     region: Canonical
385     source: "cloud:trusty-juno"
386     "openstack-origin": "cloud:trusty-juno"
387     series: trusty
388     ceph-osd-replication-count: 2
389
390