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