-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathods-tokyo.yaml
476 lines (441 loc) · 12.6 KB
/
ods-tokyo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
# vim: set ts=2 et:
#
# This bundle is used to define a smoosh openstack deployment across
# 5 nodes managed within a MAAS cluster.
#
# Defines an an anchor for deploying to the API node containers
to: &api-node-containers
- "lxc:os-api=0"
- "lxc:os-api=1"
- "lxc:os-api=2"
# Defines an anchor for deploying to the API nodes themselves.
to: &api-nodes
- "os-api=0"
- "os-api=1"
- "os-api=2"
# Defines an anchor for deploying to the compute node containers
to: &compute-node-containers
- "lxc:os-compute=0"
- "lxc:os-compute=1"
# Defines an anchor for deploying to the compute nodes specifically
to: &compute-nodes
- "os-compute=0"
- "os-compute=1"
openstack-services:
services:
os-api:
charm: cs:trusty/ubuntu
num_units: 3
constraints: "tags=os-api"
annotations:
gui-x: "-265"
gui-y: "-102.7949192431123"
os-compute:
charm: cs:trusty/ubuntu
num_units: 2
constraints: "tags=os-compute"
annotations:
gui-x: "-508.99993896484375"
gui-y: "-98.1152422706632"
ntp:
charm: cs:trusty/ntp
annotations:
"gui-x": "791.8367919921875"
"gui-y": "728.962297631577"
percona:
charm: cs:trusty/percona-cluster
num_units: 3
options:
dataset-size: 50%
max-connections: 20000
vip: 10.230.58.2
vip_cidr: 21
annotations:
"gui-x": "888.7557373046875"
"gui-y": "459.1041843798311"
to: *api-node-containers
percona-hacluster:
charm: cs:trusty/hacluster
options:
cluster_count: 3
corosync_transport: udpu
corosync_key: "3r8Y1zILzqADvJB7eLJGPrCI4g5Tg+uZ0+qq1kXNe0273yZlee9k2VT1twsyaSx3tNDDIcfuM/ykQNFRLw6dOWdXPbzgqIM5M5FExYQlXv2+s3kowRL0xuanVWXucaKu+t3jDDxmVnhj0SY/ixl3Gg0XrW4qXFoK05uMoIhK8Js="
annotations:
"gui-x": "923"
"gui-y": "486.52546481959484"
rabbitmq-server:
charm: cs:trusty/rabbitmq-server
num_units: 1
annotations:
"gui-x": "1229.6678466796875"
"gui-y": "491.0029323193878"
to: *api-node-containers
ceph:
charm: cs:trusty/ceph
num_units: 3
options:
fsid: 6547bd3e-1397-11e2-82e5-53567c8d32dc
monitor-secret: AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==
osd-devices: /dev/sda
osd-reformat: "yes"
annotations:
"gui-x": "218"
"gui-y": "895.884757729337"
to: *api-nodes
ceph-osd:
charm: cs:trusty/ceph-osd
num_units: 2
options:
osd-devices: /dev/sdb /dev/sdc /dev/sdd
osd-reformat: "yes"
annotations:
"gui-x": "-22"
"gui-y": "877.2949192431122"
to: *compute-nodes
swift-proxy:
charm: cs:trusty/swift-proxy
options:
zone-assignment: manual
replicas: 3
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
vip: 10.230.58.3
annotations:
"gui-x": "1781.3218994140625"
"gui-y": "930.3396075050382"
to:
- "lxc:os-api=0"
swift-storage-z1:
charm: cs:trusty/swift-storage
options:
zone: 1
block-device: /dev/sdb
overwrite: "true"
annotations:
"gui-x": "1584.3846435546875"
"gui-y": "1272.8251926806124"
to:
- "os-api=0"
swift-storage-z2:
charm: cs:trusty/swift-storage
options:
zone: 2
block-device: /dev/sdb
overwrite: "true"
annotations:
"gui-x": "1804.2655029296875"
"gui-y": "1273.8845241162628"
to:
- "os-api=1"
swift-storage-z3:
charm: cs:trusty/swift-storage
options:
zone: 3
block-device: /dev/sdb
overwrite: "true"
annotations:
"gui-x": "2018.99951171875"
"gui-y": "1269.95739482905"
to:
- "os-api=2"
keystone:
charm: cs:trusty/keystone
num_units: 3
options:
admin-password: openstack
admin-token: ubuntutesting
vip: 10.230.58.4
vip_cidr: 21
annotations:
"gui-x": "1517.687255859375"
"gui-y": "667.184648705796"
to: *api-node-containers
keystone-hacluster:
charm: cs:trusty/hacluster
options:
cluster_count: 3
corosync_transport: udpu
corosync_key: "6aVson6XvaprzAppLB6UA4OUgZIyNtW+qVwbanQta0aLMagwbPNomTniLr3ZyVGtEL7A0c48tJvaA+lafL2HzGq+43/aKnUbG5k7d4sKaQXP/sKLhCpyj+04DddBRAVsBJ6r9tG45CGF+H+qUykL1rOT0EesZhDqBiBGrV+DXes="
annotations:
"gui-x": "1547.6827392578125"
"gui-y": "690.4257333742823"
openstack-dashboard:
charm: cs:trusty/openstack-dashboard
num_units: 3
options:
vip: 10.230.58.5
vip_cidr: 21
#ubuntu-theme: "no"
annotations:
"gui-x": "1805.5"
"gui-y": "-278.47453518040516"
to: *api-node-containers
openstack-dashboard-hacluster:
charm: cs:trusty/hacluster
options:
cluster_count: 3
corosync_transport: udpu
corosync_key: "9aNUFk+o0Hqt/6i46ltcycMogHm+bgOkhsIwBwuXX3YQZfvioZZZqggi9R9Ccj1OqIrxLA+GTstghYcc/hjULhIl3BIX6HAdePhX7sI8khTCiPTN/w4MIy3nW1CjFaeWW31CIhrXnTcq11l0MEB3vKNlN5/b7/kqvagB6oSjw4s="
annotations:
"gui-x": "1843"
"gui-y": "-244.88469669418055"
nova-compute:
charm: cs:trusty/nova-compute
num_units: 2
options:
enable-live-migration: True
enable-resize: True
migration-auth-type: ssh
enable-resize: True
to: *compute-nodes
nova-cloud-controller:
charm: cs:trusty/nova-cloud-controller
num_units: 3
options:
network-manager: Neutron
quantum-security-groups: "yes"
vip: 10.230.58.6
vip_cidr: 21
annotations:
"gui-x": "593"
"gui-y": "12.615303305819452"
to: *api-node-containers
nova-cloud-controller-hacluster:
charm: cs:trusty/hacluster
options:
cluster_count: 3
corosync_transport: udpu
corosync_key: "xZP7GDWV0e8Qs0GxWThXirNNYlScgi3sRTdZk/IXKDqkNFcwdCWfRQnqrHU/6mb6sz6OIoZzX2MtfMQIDcXuPqQyvKuv7YbRyGHmQwAWDUA4ed759VWAO39kHkfWp9y5RRk/wcHakTcWYMwm70upDGJEP00YT3xem3NQy27AC1w="
annotations:
"gui-x": "618"
"gui-y": "46.525464819594845"
neutron-gateway:
charm: cs:trusty/neutron-gateway
num_units: 2
options:
ext-port: eth1
instance-mtu: 1300
constraints: "tags=virtual"
annotations:
"gui-x": "1265.5"
"gui-y": "-1.29491924311219"
cinder:
charm: cs:trusty/cinder
num_units: 1
options:
block-device: "None"
glance-api-version: 2
annotations:
"gui-x": "213"
"gui-y": "645.1152422706632"
to:
- "lxc:os-api=1"
cinder-ceph:
charm: cs:trusty/cinder-ceph
annotations:
"gui-x": "-4.5"
"gui-y": "638.7050807568878"
glance:
charm: cs:trusty/glance
annotations:
"gui-x": "315.5"
"gui-y": "222.2949192431123"
to:
- "lxc:os-api=2"
glance-simplestreams-sync:
charm: cs:trusty/glance-simplestreams-sync
to:
- "os-compute=0"
juju-gui:
charm: "cs:trusty/juju-gui"
to:
- "lxc:os-api=2"
relations:
- [ keystone, percona ]
- [ nova-cloud-controller, percona ]
- [ nova-cloud-controller, rabbitmq-server ]
- [ nova-cloud-controller, glance ]
- [ nova-cloud-controller, keystone ]
- [ nova-compute, nova-cloud-controller ]
- [ nova-compute, percona ]
- - nova-compute
- rabbitmq-server:amqp
- [ nova-compute, glance ]
- [ nova-compute, ceph ]
- [ glance, percona ]
- [ glance, keystone ]
- [ glance, ceph ]
- [ glance, cinder ]
- [ cinder, percona ]
- [ cinder, rabbitmq-server ]
- [ cinder, nova-cloud-controller ]
- [ cinder, keystone ]
- [ cinder, cinder-ceph ]
- [ cinder-ceph, ceph ]
- [ neutron-gateway, percona ]
- [ neutron-gateway, nova-cloud-controller ]
- [ openstack-dashboard, keystone ]
- [ swift-proxy, keystone ]
- [ swift-proxy, swift-storage-z1 ]
- [ swift-proxy, swift-storage-z2 ]
- [ swift-proxy, swift-storage-z3 ]
- - ceph-osd:mon
- ceph:osd
- - ntp:juju-info
- nova-compute:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
- - ntp:juju-info
- ceph-osd:juju-info
# hacluster relations
- [ percona, percona-hacluster ]
- [ keystone, keystone-hacluster ]
- [ nova-cloud-controller, nova-cloud-controller-hacluster ]
- [ openstack-dashboard, openstack-dashboard-hacluster ]
- [ glance-simplestreams-sync, keystone ]
openstack-singlerabbit:
inherits: openstack-services
relations:
- [ "neutron-gateway:amqp", rabbitmq-server ]
openstack-icehouse:
inherits: openstack-singlerabbit
services:
neutron-api:
charm: cs:trusty/neutron-api
options:
neutron-security-groups: True
# Lab doesn't have 2 attached nics per compute, so can't enable dvr
# enable-dvr: False
enable-l3ha: True
to:
- "os-api=1"
neutron-openvswitch:
charm: cs:trusty/neutron-openvswitch
relations:
- [ neutron-api, percona ]
- [ neutron-api, rabbitmq-server ]
- [ neutron-api, nova-cloud-controller ]
- [ neutron-api, neutron-openvswitch ]
- [ neutron-api, keystone ]
- [ neutron-api, neutron-gateway ]
- [ neutron-openvswitch, nova-compute ]
- [ neutron-openvswitch, rabbitmq-server ]
# icehouse
precise-icehouse:
inherits: openstack-singlerabbit
series: precise
services:
percona:
charm: cs:trusty/percona
overrides:
openstack-origin: cloud:precise-icehouse
source: cloud:precise-icehouse
precise-icehouse-proposed:
inherits: precise-icehouse
overrides:
openstack-origin: cloud:precise-icehouse/proposed
source: cloud:precise-updates/icehouse
precise-icehouse-staging:
inherits: precise-icehouse
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/icehouse-staging
source: ppa:ubuntu-cloud-archive/icehouse-staging
precise-icehouse-trunk:
inherits: precise-icehouse
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/icehouse
source: ppa:openstack-ubuntu-testing/icehouse
trusty-icehouse:
inherits: openstack-icehouse
series: trusty
trusty-icehouse-proposed:
inherits: trusty-icehouse
overrides:
source: proposed
openstack-origin: distro-proposed
trusty-icehouse-trunk:
inherits: trusty-icehouse
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/icehouse
source: ppa:openstack-ubuntu-testing/icehouse
offline-compression: "no"
# juno
trusty-juno:
inherits: openstack-icehouse
series: trusty
overrides:
openstack-origin: cloud:trusty-juno
source: cloud:trusty-juno
trusty-juno-proposed:
inherits: trusty-juno
overrides:
openstack-origin: cloud:trusty-juno/proposed
source: cloud:trusty-juno/proposed
trusty-juno-staging:
inherits: trusty-juno
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/juno-staging
source: ppa:ubuntu-cloud-archive/juno-staging
utopic-juno:
inherits: openstack-icehouse
series: utopic
utopic-juno-proposed:
inherits: utopic-juno
overrides:
source: proposed
openstack-origin: distro-proposed
# kilo
trusty-kilo:
inherits: openstack-icehouse
series: trusty
overrides:
openstack-origin: cloud:trusty-kilo
source: cloud:trusty-kilo
trusty-kilo-proposed:
inherits: trusty-kilo
overrides:
openstack-origin: cloud:trusty-kilo/proposed
source: cloud:trusty-kilo/proposed
trusty-kilo-staging:
inherits: trusty-kilo
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/kilo-staging
source: ppa:ubuntu-cloud-archive/kilo-staging
vivid-kilo:
inherits: openstack-icehouse
series: vivid
services:
percona:
charm: cs:trusty/percona
vivid-kilo-proposed:
inherits: vivid-kilo
overrides:
source: proposed
openstack-origin: distro-proposed
# liberty
trusty-liberty:
inherits: openstack-icehouse
series: trusty
overrides:
openstack-origin: cloud:trusty-liberty
source: cloud:trusty-liberty
trusty-liberty-proposed:
inherits: trusty-liberty
overrides:
openstack-origin: cloud:trusty-liberty/proposed
source: cloud:trusty-liberty/proposed
trusty-liberty-staging:
inherits: trusty-liberty
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/liberty-staging
source: ppa:ubuntu-cloud-archive/liberty-staging
wily-liberty:
inherits: openstack-icehouse
series: wily
services:
percona:
charm: cs:trusty/percona
wily-liberty-proposed:
inherits: wily-liberty
overrides:
source: proposed
openstack-origin: distro-proposed