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