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