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
|
# Currently this is a "Designate HA" bundle, but it is the beginning of the Kitchen Sink.
#
# TODO:
# - Add SSL everywhere
# - Add HA everywhere
# - Add KSV3 everywhere
#
# Targeted only for the more modern sets of charms, thus the corresponding release
# combos are limited to Trusty-Mitaka and later. Releases earlier than Trusty-Mitaka
# will be tested via legacy bundles as separate scenarios.
base-services:
services:
mysql:
charm: mysql
constraints: mem=4G
rabbitmq-server:
charm: rabbitmq-server
constraints: mem=1G
ceph-mon:
charm: ceph-mon
num_units: 3
options:
expected-osd-count: 3
ceph-osd:
charm: ceph-osd
constraints: mem=1G
num_units: 3
options:
ephemeral-unmount: /mnt
osd-devices: /dev/vdb /dev/sdb /dev/xvdb
osd-reformat: 'yes'
ntp:
charm: ntp
num_units: 0
keystone:
charm: keystone
constraints: mem=1G
options:
admin-password: openstack
admin-token: ubuntutesting
openstack-dashboard:
charm: openstack-dashboard
constraints: mem=1G
nova-compute:
charm: nova-compute
num_units: 3
constraints: mem=4G
options:
enable-live-migration: True
enable-resize: True
migration-auth-type: ssh
nova-cloud-controller:
charm: nova-cloud-controller
constraints: mem=2G
options:
network-manager: Neutron
neutron-gateway:
charm: neutron-gateway
constraints: mem=4G
options:
instance-mtu: 1300
bridge-mappings: physnet1:br-ex
neutron-api:
charm: neutron-api
constraints: mem=1G
options:
neutron-security-groups: True
flat-network-providers: physnet1
enable-ml2-dns: True
dns-domain: mojo.serverstack.
reverse-dns-lookup: True
ipv4-ptr-zone-prefix-size: 24
neutron-openvswitch:
charm: neutron-openvswitch
cinder:
charm: cinder
options:
block-device: "None"
glance-api-version: 2
constraints: mem=1G
cinder-ceph:
charm: cinder-ceph
glance:
charm: glance
constraints: mem=1G
swift-proxy:
charm: swift-proxy
constraints: mem=1G
options:
zone-assignment: manual
replicas: 3
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
swift-storage-z1:
charm: swift-storage
constraints: mem=1G
options:
zone: 1
block-device: vdb
overwrite: "true"
swift-storage-z2:
charm: swift-storage
constraints: mem=1G
options:
zone: 2
block-device: vdb
overwrite: "true"
swift-storage-z3:
charm: swift-storage
constraints: mem=1G
options:
zone: 3
block-device: vdb
overwrite: "true"
ceilometer:
charm: ceilometer
constraints: mem=1G
ceilometer-agent:
charm: ceilometer-agent
heat:
charm: heat
mongodb:
charm: mongodb
constraints: mem=1G
relations:
- [ keystone, mysql ]
- [ nova-cloud-controller, mysql ]
- [ nova-cloud-controller, rabbitmq-server ]
- [ nova-cloud-controller, glance ]
- [ nova-cloud-controller, keystone ]
- [ nova-compute, nova-cloud-controller ]
- - nova-compute
- rabbitmq-server:amqp
- [ nova-compute, glance ]
- [ nova-compute, ceph-mon ]
- [ glance, mysql ]
- [ glance, keystone ]
- [ glance, ceph-mon ]
- [ glance, "cinder:image-service" ]
- [ glance, rabbitmq-server ]
- [ cinder, mysql ]
- [ cinder, rabbitmq-server ]
- [ cinder, nova-cloud-controller ]
- [ cinder, keystone ]
- [ cinder, cinder-ceph ]
- [ cinder-ceph, ceph-mon ]
- [ 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 ]
- - ceilometer
- keystone:identity-service
- [ ceilometer, rabbitmq-server ]
- [ ceilometer, mongodb ]
- [ ceilometer-agent, nova-compute ]
- [ ceilometer-agent, ceilometer ]
- [ heat, mysql ]
- [ heat, keystone ]
- [ heat, rabbitmq-server ]
- [ "neutron-gateway:amqp", rabbitmq-server ]
- [ neutron-api, mysql ]
- [ 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 ]
- [ ceph-osd, ceph-mon ]
- [ ntp, ceph-osd ]
openstack-services-trusty-mitaka:
inherits: base-services
services:
aodh:
charm: aodh
constraints: mem=1G
designate:
charm: designate
num_units: 3
constraints: mem=1G
options:
nova-domain: 'mojo.serverstack.com.'
neutron-domain: 'mojo.serverstack.com.'
nova-domain-email: 'bob@mojo.serverstack.com'
neutron-domain-email: 'bob@mojo.serverstack.com'
nameservers: "ns1.mojo.serverstack.com."
vip: "{{ MOJO_OS_VIP10 }}"
designate-hacluster:
charm: hacluster
options:
corosync_transport: unicast
cluster_count: 3
designate-bind:
num_units: 3
charm: designate-bind
tempest:
charm: tempest
constraints: mem=1G
memcached:
num_units: 1
charm: memcached
relations:
- [ aodh, rabbitmq-server ]
- [ aodh, mysql ]
- [ aodh, keystone ]
- [ designate, keystone ]
- [ designate, mysql ]
- [ designate, rabbitmq-server ]
- [ designate, designate-bind ]
- [ designate, memcached ]
- [ designate, neutron-api ]
- [ designate, designate-hacluster ]
# designate <-> nova-compute needed for legacy notifications
- [ designate, nova-compute ]
- [ keystone, tempest ]
openstack-services-xenial-mitaka:
inherits: openstack-services-trusty-mitaka
services:
barbican:
charm: barbican
constraints: mem=1G
relations:
- [ barbican, rabbitmq-server ]
- [ barbican, mysql ]
- [ barbican, keystone ]
openstack-services-xenial-ocata:
inherits: openstack-services-xenial-mitaka
services:
gnocchi:
charm: gnocchi
memcached:
charm: cs:memcached
relations:
- [ gnocchi, ceph-mon ]
- [ gnocchi, mysql ]
- [ gnocchi, rabbitmq-server ]
- [ gnocchi, memcached ]
- [ gnocchi, ceilometer ]
- [ gnocchi, keystone ]
- [ cinder-ceph, nova-compute ]
openstack-services-xenial-queens:
inherits: openstack-services-xenial-ocata
overrides:
nova-domain: ''
neutron-domain: ''
nova-domain-email: ''
neutron-domain-email: ''
relations:
- - ceilometer
- keystone:identity-credentials
# mitaka
trusty-mitaka:
inherits: openstack-services-trusty-mitaka
series: trusty
overrides:
openstack-origin: cloud:trusty-mitaka
source: cloud:trusty-mitaka
trusty-mitaka-proposed:
inherits: trusty-mitaka
overrides:
openstack-origin: cloud:trusty-mitaka/proposed
source: cloud:trusty-mitaka/proposed
trusty-mitaka-staging:
inherits: trusty-mitaka
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/mitaka-staging
source: ppa:ubuntu-cloud-archive/mitaka-staging
xenial-mitaka:
inherits: openstack-services-xenial-mitaka
series: xenial
xenial-mitaka-proposed:
inherits: xenial-mitaka
overrides:
source: proposed
openstack-origin: distro-proposed
# newton
xenial-newton:
inherits: openstack-services-xenial-mitaka
series: xenial
overrides:
openstack-origin: cloud:xenial-newton
source: cloud:xenial-newton
xenial-newton-proposed:
inherits: xenial-newton
overrides:
openstack-origin: cloud:xenial-newton/proposed
source: cloud:xenial-newton/proposed
xenial-newton-staging:
inherits: xenial-newton
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/newton-staging
source: ppa:ubuntu-cloud-archive/newton-staging
xenial-newton-branch:
inherits: xenial-newton
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/newton
source: ppa:openstack-ubuntu-testing/newton
# ocata
xenial-ocata:
inherits: openstack-services-xenial-ocata
series: xenial
overrides:
openstack-origin: cloud:xenial-ocata
source: cloud:xenial-ocata
xenial-ocata-proposed:
inherits: xenial-ocata
overrides:
openstack-origin: cloud:xenial-ocata/proposed
source: cloud:xenial-ocata/proposed
xenial-ocata-staging:
inherits: xenial-ocata
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/ocata-staging
source: ppa:ubuntu-cloud-archive/ocata-staging
xenial-ocata-branch:
inherits: xenial-ocata
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/ocata
source: ppa:openstack-ubuntu-testing/ocata
zesty-ocata:
inherits: openstack-services-xenial-ocata
series: zesty
zesty-ocata-proposed:
inherits: zesty-ocata
overrides:
source: proposed
openstack-origin: distro-proposed
zesty-ocata-branch:
inherits: zesty-ocata
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/ocata
source: ppa:openstack-ubuntu-testing/ocata
# pike
xenial-pike:
inherits: openstack-services-xenial-ocata
series: xenial
overrides:
openstack-origin: cloud:xenial-pike
source: cloud:xenial-pike
xenial-pike-proposed:
inherits: xenial-pike
overrides:
openstack-origin: cloud:xenial-pike/proposed
source: cloud:xenial-pike/proposed
xenial-pike-staging:
inherits: xenial-pike
overrides:
openstack-origin: ppa:ubuntu-cloud-archive/pike-staging
source: ppa:ubuntu-cloud-archive/pike-staging
xenial-pike-branch:
inherits: xenial-pike
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/pike
source: ppa:openstack-ubuntu-testing/pike
artful-pike:
inherits: openstack-services-xenial-ocata
series: artful
artful-pike-proposed:
inherits: artful-pike
overrides:
source: proposed
openstack-origin: distro-proposed
artful-pike-branch:
inherits: artful-pike
overrides:
openstack-origin: ppa:openstack-ubuntu-testing/pike
source: ppa:openstack-ubuntu-testing/pike
xenial-queens:
inherits: openstack-services-xenial-queens
series: xenial
overrides:
openstack-origin: cloud:xenial-queens/proposed
source: cloud:xenial-queens/proposed
bionic-queens:
inherits: openstack-services-xenial-queens
series: xenial
overrides:
openstack-origin: distro-proposed
source: distro-proposed
|