added the labconfig file for att virpod1. Remove the mac
[joid.git] / ci / odl / juju-deployer / ovs-odl-ha.yaml
1 # vim: set ts=2 et:
2 trusty-mitaka-nodes:
3   inherits: openstack-phase1
4   overrides:
5     series: trusty
6
7 trusty-mitaka:
8   inherits: openstack-phase2
9   overrides:
10 #    cluster_count: 3
11     #os-data-network: 10.4.8.0/21
12     #ceph-cluster-network: 10.4.0.0/21
13     #prefer-ipv6: true
14     #enable-dvr: true
15     #l2-population: true
16     region: Canonical
17     #source: "cloud:trusty-mitaka"
18     openstack-origin: "cloud:trusty-mitaka"
19     series: trusty
20     #ceph-osd-replication-count: 2
21     admin-role: admin
22     keystone-admin-role: admin
23
24 openstack-phase1:
25   series: trusty
26   services:
27     nodes:
28       charm: "cs:trusty/ubuntu"
29       num_units: 5
30     ntp:
31       charm: "local:trusty/ntp"
32   relations:
33     - - "ntp:juju-info"
34       - "nodes:juju-info"
35
36 openstack-phase2:
37   inherits: openstack-phase1
38   relations:
39     - - "glance:ha"
40       - "hacluster-glance:ha"
41     - - "keystone:ha"
42       - "hacluster-keystone:ha"
43     - - "neutron-api:ha"
44       - "hacluster-neutron:ha"
45     - - "nova-cloud-controller:ha"
46       - "hacluster-nova:ha"
47     - - "openstack-dashboard:ha"
48       - "hacluster-horizon:ha"
49     - - "ceilometer:ha"
50       - "hacluster-ceilometer:ha"
51     - - "cinder:ha"
52       - "hacluster-cinder:ha"
53     - - "heat:ha"
54       - "hacluster-heat:ha"
55 #    - - "ceph-radosgw:ha"
56 #      - "hacluster-ceph-radosgw:ha"
57     - - "neutron-api:neutron-plugin-api-subordinate"
58       - "neutron-api-odl:neutron-plugin-api-subordinate"
59     - - "nova-compute:neutron-plugin"
60       - "openvswitch-odl:neutron-plugin"
61     - - "neutron-gateway"
62       - "openvswitch-odl"
63     - - "openvswitch-odl:ovsdb-manager"
64       - "odl-controller:ovsdb-manager"
65     - - "neutron-api-odl:odl-controller"
66       - "odl-controller:controller-api"
67     - - "keystone:shared-db"
68       - "percona-cluster:shared-db"
69     - - "nova-cloud-controller:shared-db"
70       - "percona-cluster:shared-db"
71     - - "nova-cloud-controller:amqp"
72       - "rabbitmq-server:amqp"
73     - - "nova-cloud-controller:image-service"
74       - "glance:image-service"
75     - - "nova-cloud-controller:identity-service"
76       - "keystone:identity-service"
77     - - "nova-cloud-controller:cloud-compute"
78       - "nova-compute:cloud-compute"
79     - - "nova-compute:amqp"
80       - "rabbitmq-server:amqp"
81     - - "nova-compute:image-service"
82       - "glance:image-service"
83     - - "glance:shared-db"
84       - "percona-cluster:shared-db"
85     - - "glance:identity-service"
86       - "keystone:identity-service"
87     - - "glance:amqp"
88       - "rabbitmq-server:amqp"
89     - - "openstack-dashboard:identity-service"
90       - "keystone:identity-service"
91     - - "neutron-api:shared-db"
92       - "percona-cluster:shared-db"
93     - - "neutron-api:amqp"
94       - "rabbitmq-server:amqp"
95     - - "nova-cloud-controller:neutron-api"
96       - "neutron-api:neutron-api"
97     - - "neutron-api:identity-service"
98       - "keystone:identity-service"
99     - - "neutron-gateway:amqp"
100       - "rabbitmq-server:amqp"
101     - - "neutron-gateway:neutron-plugin-api"
102       - "neutron-api:neutron-plugin-api"
103     - - "nova-cloud-controller:quantum-network-service"
104       - "neutron-gateway:quantum-network-service"
105     - - "ceilometer:amqp"
106       - "rabbitmq-server:amqp"
107     - - "ceilometer-agent:ceilometer-service"
108       - "ceilometer:ceilometer-service"
109     - - "ceilometer:identity-service"
110       - "keystone:identity-service"
111     - - "ceilometer:identity-notifications"
112       - "keystone:identity-notifications"
113     - - "ceilometer-agent:nova-ceilometer"
114       - "nova-compute:nova-ceilometer"
115     - - "ceilometer:shared-db"
116       - "mongodb:database"
117     - - "heat:shared-db"
118       - "percona-cluster:shared-db"
119     - - "heat:identity-service"
120       - "keystone:identity-service"
121     - - "heat:amqp"
122       - "rabbitmq-server:amqp"
123     - - "cinder:image-service"
124       - "glance:image-service"
125     - - "cinder:amqp"
126       - "rabbitmq-server:amqp"
127     - - "cinder:identity-service"
128       - "keystone:identity-service"
129     - - "cinder:cinder-volume-service"
130       - "nova-cloud-controller:cinder-volume-service"
131     - - "cinder-ceph:storage-backend"
132       - "cinder:storage-backend"
133     - - "ceph:client"
134       - "nova-compute:ceph"
135     - - "cinder:shared-db"
136       - "percona-cluster:shared-db"
137     - - "ceph:client"
138       - "cinder-ceph:ceph"
139     - - "ceph:client"
140       - "glance:ceph"
141     - - "ceph-osd:mon"
142       - "ceph:osd"
143     - - "ceph-radosgw:mon"
144       - "ceph:radosgw"
145     - - "ceph-radosgw:identity-service"
146       - "keystone:identity-service"
147     #- - nova-compute:lxd
148       #- lxd:lxd
149   services:
150     hacluster-keystone:
151       charm: "local:trusty/hacluster"
152       options:
153         corosync_key: |
154           'QisjNpoKHLkvyc3PEdDHP5VZjgD0kOk9t0ABPWmCELlu5AgWgnW6bJd34BVXO7VhW+3ZwNQM3W+bZ3pl28ftY4ki4N/S0KLFNia5egFgiA3AH2QXLnokS7OYXuu6GMJJ1S5mDe6P5zU+tfJe/Mebq24u7CgR0gAvohSPRdDTwdY='
155     hacluster-cinder:
156       charm: "local:trusty/hacluster"
157       options:
158         corosync_key: |
159           'cc6n5Zv6M2mQ2mUhTx/aKoImQ7q77pKDdkSwBUG5VqoSb23SxnGUsAxH5E8lOeCZ84EURzS71FEb8F9P5YY+2deh0+tdXukoKTugdVmJfarahPpWpEEZRRCigUngdFw/479FOcFCkN1SJtQNqWi1ACYSn1/GRoQ2vP+2byrkV6E='
160     hacluster-heat:
161       charm: "local:trusty/hacluster"
162       options:
163         corosync_key: |
164           'tNeFXmOqzytRq7loxLMDaaMqZZXjC7BNfMbcKxSNeIPyBj4lkJwHZyuV7mo0ogzcfVJqLBHBULai+ed9uyWCZJxLXoi+WwTj5AqcXfxfSo9vLCthukJJ4zuKvzeGibZRszwINf32RW9jtXSCPosv8a+9MSg49KD1c9fS20aEuIM='
165     hacluster-horizon:
166       charm: "local:trusty/hacluster"
167       options:
168         corosync_key: |
169           'aCVPHw6XYne+Hxv0WPiM3+yEfeIxs0Ly0EMKB494Rdzjf5rE52GcXqqxuvIa/nXJ4GCR+UdKk9FEwcASfYkeu3HDWUld9uTE6pOc+ibWYnybNH7VBfEHW8h9YmQKs3HD2T3wlTcS2irU4CUW7/IKNok4etYdM3iFn1K2ReSGXEI='
170     hacluster-nova:
171       charm: "local:trusty/hacluster"
172       options:
173         corosync_key: |
174           'gel86qmEze8dYKYbfqIgRpqapJpKtdYL2hxC1y5nWYBPq7EMf6V8mF01IjeUkSRs14CUDrsPpT4PWeom7EOY2fleuLx/aIuqQUfEDkhf/gvaz7BaU4hrmTCoDBK7/HvEwY+/wu4qkEeckzSRPsm9MYzqnLRshh8yjZJ70xU/mmk='
175     hacluster-neutron:
176       charm: "local:trusty/hacluster"
177       options:
178         corosync_key: |
179           'KNhb4++3jlllbnscS5D3qdzOJDsQPEeZ7zOLZJHbkKrRjX9gRCijVVOiv2JCvq03HqQ7LIufQzWGl9Za8qh0f6QmQ3XhFh/Cb/3WaYFj+tEf0zArWv+8miswmM1z4eyTSrTWBq0dTgx1z96wjBxP5HV0+1LWW+3Ei4oZWyRGeR0='
180     hacluster-glance:
181       charm: "local:trusty/hacluster"
182       options:
183         corosync_key: |
184           'el1dd8107J5mwQDPS7tEJPZrr0XFfL95+Tku/QG90W5Q5f5SP4W8TRfKvddGmZWZl2lVd1neG5WqaHa1mq/aScJpoflzVAJCvshN7Gd2AjHhLNNugeI8S90j/7wrKUhqiCAlkKaeri2xs5bB5PZ7Z9AHuNZL7SW1al8lxrKhUFI='
185     hacluster-ceilometer:
186       charm: "local:trusty/hacluster"
187       options:
188         corosync_key: |
189           'cHkgKGJpdHMgPSA5NjApLgpQcmVzcyBrZXlzIG9uIHlvdXIga2V5Ym9hcmQgdG8gZ2VuZXJhdGUgZW50cm9weSAoYml0cyA9IDEwMDgpLgpXcml0aW5nIGNvcm9zeW5jIGtleSB0byAvZXRjL2Nvcm9zeW5jL2F1dGhrZXkuCg=='
190 #    hacluster-ceph-radosgw:
191 #      charm: "local:trusty/hacluster"
192 #      options:
193 #        corosync_key: |
194 #          'tk8U/FkH1+dNsvj6IU0C8AST7i/9ylIoCD8kWpPjB+UE2AYR7tkgkjnc4m5dzIYPYTceY7Hnb9xLJ0nlcQLYYFBRAJOg3drNTcVrfh63y9g9La1J1r51YSbOqXq1Q6RUhxP4OQBtDGE6/4NtZwuRPvPGLcI2ENiVm78l8JFkXRw='
195     percona-cluster:
196       charm: "local:trusty/percona-cluster"
197       num_units: 3
198       options:
199         dataset-size: 2G
200         lp1366997-workaround: true
201         max-connections: 10000
202         root-password: 293rhc395m
203         sst-password: 127rc14t51
204         vip: 10.4.1.15
205       to:
206         - "lxc:nodes=0"
207         - "lxc:nodes=1"
208         - "lxc:nodes=2"
209     ceilometer:
210       charm: "local:trusty/ceilometer"
211       num_units: 3
212       options:
213         vip: 10.4.1.14
214         #os-public-hostname: api.public-fqdn
215       to:
216         - "lxc:nodes=1"
217         - "lxc:nodes=2"
218         - "lxc:nodes=3"
219     ceilometer-agent:
220       charm: "local:trusty/ceilometer-agent"
221     mongodb:
222       charm: "local:trusty/mongodb"
223       to:
224         - "lxc:nodes=0"
225     heat:
226       charm: "local:trusty/heat"
227       num_units: 3
228       options:
229         vip: 10.4.1.18
230         #os-public-hostname: api.public-fqdn
231       to:
232         - "lxc:nodes=2"
233         - "lxc:nodes=3"
234         - "lxc:nodes=4"
235     ceph:
236       charm: local:trusty/ceph
237       num_units: 3
238       options:
239         fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
240         monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
241         osd-devices: ""
242         monitor-count: 3
243 #        osd-reformat: 'false'
244 #        ceph-cluster-network: 192.168.0.0/24
245 #        ceph-public-network: 192.168.0.0/24
246       to:
247         - "lxc:nodes=3"
248         - "lxc:nodes=4"
249         - "lxc:nodes=0"
250     ceph-osd:
251       charm: local:trusty/ceph-osd
252       num_units: 3
253       options:
254         osd-devices: /srv
255         osd-reformat: 'yes'
256       to:
257         - "nodes=2"
258         - "nodes=3"
259         - "nodes=4"
260 #        - "nodes=0"
261     ceph-radosgw:
262       charm: local:trusty/ceph-radosgw
263 #      vip: 10.4.1.10
264       #os-public-hostname: api.public-fqdn
265       options:
266         use-embedded-webserver: true
267         operator-roles: "Member,admin"
268       to:
269         - "lxc:nodes=0"
270 #        - "lxc:nodes=1"
271 #        - "lxc:nodes=2"
272     cinder:
273       charm: local:trusty/cinder
274       num_units: 3
275       options:
276         block-device: None
277         glance-api-version: 2
278         vip: 10.4.1.19
279         #os-public-hostname: api.public-fqdn
280 #        ha-mcastport: 5401
281       to:
282         - "lxc:nodes=4"
283         - "lxc:nodes=0"
284         - "lxc:nodes=1"
285     cinder-ceph:
286       charm: local:trusty/cinder-ceph
287     rabbitmq-server:
288       charm: local:trusty/rabbitmq-server
289       num_units: 3
290       to:
291         - "lxc:nodes=0"
292         - "lxc:nodes=1"
293         - "lxc:nodes=2"
294     keystone:
295       charm: local:trusty/keystone
296       num_units: 3
297       options:
298 #        ha-mcastport: 5402
299         admin-password: openstack
300         admin-token: admin
301         vip: 10.4.1.13
302         #os-public-hostname: api.public-fqdn
303       to:
304         - "lxc:nodes=1"
305         - "lxc:nodes=2"
306         - "lxc:nodes=3"
307     openstack-dashboard:
308       charm: local:trusty/openstack-dashboard
309       num_units: 3
310       options:
311         secret: admin
312         vip: 10.4.1.11
313         webroot: /
314       to:
315         - "lxc:nodes=2"
316         - "lxc:nodes=3"
317         - "lxc:nodes=4"
318     nova-compute:
319       charm: local:trusty/nova-compute
320       num_units: 4
321       options:
322         enable-live-migration: true
323         enable-resize: true
324         manage-neutron-plugin-legacy-mode: false
325         migration-auth-type: ssh
326         #virt-type: lxd
327         #hugepages: "50%"
328       to:
329         - "nodes=1"
330         - "nodes=2"
331         - "nodes=3"
332         - "nodes=4"
333     nova-cloud-controller:
334       charm: local:trusty/nova-cloud-controller
335       num_units: 3
336       options:
337         console-access-protocol: novnc
338         network-manager: Neutron
339         service-guard: true
340         neutron-external-network: ext_net
341         vip: 10.4.1.16
342         #os-public-hostname: api.public-fqdn
343       to:
344         - "lxc:nodes=3"
345         - "lxc:nodes=4"
346         - "lxc:nodes=0"
347     neutron-api:
348       charm: local:trusty/neutron-api
349       num_units: 3
350       options:
351         neutron-security-groups: True
352         flat-network-providers: "*"
353         vip: 10.4.1.17
354         #os-public-hostname: api.public-fqdn
355       to:
356         - "lxc:nodes=4"
357         - "lxc:nodes=0"
358         - "lxc:nodes=1"
359     neutron-gateway:
360       charm: local:trusty/neutron-gateway
361       options:
362         #ext-port: "eth1"
363         plugin: ovs-odl
364         instance-mtu: 1400
365       to:
366         - "nodes=0"
367     odl-controller:
368       charm: local:trusty/odl-controller
369       options:
370         install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz"
371         profile: "openvswitch-odl-beryllium"
372         http-proxy: "http://squid.internal:3128"
373         https-proxy: "http://squid.internal:3128"
374       to:
375         - "lxc:nodes=0"
376     glance:
377       charm: local:trusty/glance
378       num_units: 3
379       options:
380         vip: 10.4.1.12
381         #os-public-hostname: api.public-fqdn
382 #        ha-mcastport: 5402
383       to:
384         - "lxc:nodes=0"
385         - "lxc:nodes=1"
386         - "lxc:nodes=2"
387     opnfv-promise:
388       branch: lp:~narindergupta/charms/trusty/promise/trunk
389       to:
390         - "lxc:nodes=0"
391     neutron-api-odl:
392       charm: local:trusty/neutron-api-odl
393       options:
394         overlay-network-type: 'vxlan gre'
395         security-groups: True
396     openvswitch-odl:
397       charm: local:trusty/openvswitch-odl