-
Notifications
You must be signed in to change notification settings - Fork 0
/
openstack-base.yml
654 lines (610 loc) · 14.2 KB
/
openstack-base.yml
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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
# Please refer to the OpenStack Charms Deployment Guide for more information.
# https://docs.openstack.org/project-deploy-guide/charm-deployment-guide
series: focal
variables:
openstack-origin: &openstack-origin cloud:focal-wallaby
data-port: &data-port br-ex:bond0
worker-multiplier: &worker-multiplier 0.25
osd-devices: &osd-devices /dev/sdb /dev/sdc
expected-osd-count: &expected-osd-count 3
expected-mon-count: &expected-mon-count 3
machines:
'0':
series: focal
constraints: tags=openstack
'1':
series: focal
constraints: tags=openstack
'2':
series: focal
constraints: tags=openstack
'3':
series: focal
constraints: tags=openstack
applications:
ceph-mon:
annotations:
gui-x: '790'
gui-y: '1540'
charm: cs:ceph-mon
num_units: 3
options:
expected-osd-count: *expected-osd-count
monitor-count: *expected-mon-count
source: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
ceph-osd:
annotations:
gui-x: '1065'
gui-y: '1540'
charm: cs:ceph-osd
num_units: 4
options:
osd-devices: *osd-devices
source: *openstack-origin
bindings:
"": admin-network
to:
- '0'
- '1'
- '2'
- '3'
ceph-radosgw-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 975.2022857666016
gui-y: 861.4601440429688
bindings:
"": admin-network
ceph-radosgw:
annotations:
gui-x: '850'
gui-y: '900'
charm: cs:ceph-radosgw
num_units: 3
options:
os-admin-hostname: storage.maas
os-internal-hostname: storage.maas
os-public-hostname: storage.maas
vip: 192.168.51.200
source: *openstack-origin
bindings:
"": admin-network
to:
- lxd:1
- lxd:2
- lxd:3
cinder-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 1097.0257568359375
gui-y: 1207.35888671875
bindings:
"": admin-network
cinder-mysql-router:
annotations:
gui-x: '900'
gui-y: '1400'
charm: cs:mysql-router
cinder:
annotations:
gui-x: '980'
gui-y: '1270'
charm: cs:cinder
num_units: 3
options:
os-admin-hostname: cinder.maas
os-internal-hostname: cinder.maas
os-public-hostname: cinder.maas
vip: 192.168.51.201
block-device: None
glance-api-version: 2
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:2
- lxd:3
cinder-ceph:
annotations:
gui-x: '1120'
gui-y: '1400'
bindings:
"": admin-network
charm: cs:cinder-ceph
num_units: 0
glance-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: -134.58247900009155
gui-y: 1207.35888671875
bindings:
"": admin-network
glance-mysql-router:
annotations:
gui-x: '-290'
gui-y: '1400'
bindings:
"": admin-network
charm: cs:mysql-router
glance:
annotations:
gui-x: '-230'
gui-y: '1270'
charm: cs:glance
num_units: 3
options:
os-admin-hostname: glance.maas
os-internal-hostname: glance.maas
os-public-hostname: glance.maas
vip: 192.168.51.202
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:3
glance-simplestreams-sync:
charm: cs:glance-simplestreams-sync
num_units: 1
options:
run: true
bindings:
"": admin-network
to:
- 'lxd:1'
keystone-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 416.79443359375
gui-y: 1231.331787109375
bindings:
"": admin-network
keystone-mysql-router:
annotations:
gui-x: '230'
gui-y: '1400'
charm: cs:mysql-router
bindings:
"": admin-network
keystone:
annotations:
gui-x: '300'
gui-y: '1270'
charm: cs:keystone
num_units: 3
options:
os-admin-hostname: keystone.maas
os-internal-hostname: keystone.maas
os-public-hostname: keystone.maas
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
vip: 192.168.51.203
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:2
memcached:
charm: cs:memcached
num_units: 2
bindings:
"": admin-network
series: focal
to:
- 'lxd:0'
- 'lxd:3'
neutron-mysql-router:
annotations:
gui-x: '505'
gui-y: '1385'
charm: cs:mysql-router
bindings:
"": admin-network
neutron-api-plugin-ovn:
annotations:
gui-x: '690'
gui-y: '1385'
charm: cs:neutron-api-plugin-ovn
bindings:
"": admin-network
neutron-api-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 689.4863891601562
gui-y: 1237.3250732421875
bindings:
"": admin-network
neutron-api:
annotations:
gui-x: '580'
gui-y: '1270'
charm: cs:neutron-api
num_units: 3
options:
enable-ml2-port-security: true
os-admin-hostname: neutron-api.maas
os-internal-hostname: neutron-api.maas
os-public-hostname: neutron-api.maas
vip: 192.168.51.204
neutron-security-groups: true
flat-network-providers: physnet1
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- lxd:1
- lxd:2
- lxd:3
placement-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 1426.066650390625
gui-y: 1230.1529541015625
bindings:
"": admin-network
placement-mysql-router:
annotations:
gui-x: '1320'
gui-y: '1385'
charm: cs:mysql-router
bindings:
"": admin-network
placement:
annotations:
gui-x: '1320'
gui-y: '1270'
charm: cs:placement
num_units: 3
options:
os-admin-hostname: placement.maas
os-internal-hostname: placement.maas
os-public-hostname: placement.maas
vip: 192.168.51.207
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:2
nova-cloud-controller-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 147.09925842285156
gui-y: 1222.342041015625
bindings:
"": admin-network
nova-mysql-router:
annotations:
gui-x: '-30'
gui-y: '1385'
charm: cs:mysql-router
bindings:
"": admin-network
nova-cloud-controller:
annotations:
gui-x: '35'
gui-y: '1270'
charm: cs:nova-cloud-controller
num_units: 3
options:
console-access-protocol: spice
os-admin-hostname: compute.maas
os-internal-hostname: compute.maas
os-public-hostname: compute.maas
vip: 192.168.51.205
network-manager: Neutron
worker-multiplier: *worker-multiplier
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:3
nova-compute:
annotations:
gui-x: '190'
gui-y: '890'
charm: cs:nova-compute
num_units: 4
options:
customize-failure-domain: true
libvirt-image-backend: rbd
rbd-pool: cinder-ceph
config-flags: default_ephemeral_format=ext4
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: *openstack-origin
bindings:
"": admin-network
to:
- '0'
- '1'
- '2'
- '3'
ntp:
annotations:
gui-x: '315'
gui-y: '1030'
charm: cs:ntp
num_units: 0
bindings:
"": admin-network
openstack-dashboard-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
gui-x: 686.48974609375
gui-y: 856.7550659179688
bindings:
"": admin-network
openstack-dashboard-mysql-router:
annotations:
gui-x: '510'
gui-y: '1030'
charm: cs:mysql-router
bindings:
"": admin-network
openstack-dashboard:
annotations:
gui-x: '585'
gui-y: '900'
charm: cs:openstack-dashboard
num_units: 3
options:
default-theme: default
default-create-volume: no
enforce-ssl: true
os-public-hostname: openstack.maas
openstack-origin: *openstack-origin
password-retrieve: true
vip: 192.168.51.206
# ubuntu-theme: no
bindings:
"": admin-network
to:
- lxd:0
- lxd:2
- lxd:3
rabbitmq-server:
annotations:
gui-x: '300'
gui-y: '1550'
charm: cs:rabbitmq-server
num_units: 3
bindings:
"": admin-network
to:
- lxd:1
- lxd:2
- lxd:3
mysql-innodb-cluster:
annotations:
gui-x: '535'
gui-y: '1550'
charm: cs:mysql-innodb-cluster
num_units: 3
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:2
ovn-central:
annotations:
gui-x: '70'
gui-y: '1550'
charm: cs:ovn-central
num_units: 3
options:
source: *openstack-origin
bindings:
"": admin-network
to:
- lxd:0
- lxd:1
- lxd:3
ovn-chassis:
annotations:
gui-x: '120'
gui-y: '1030'
charm: cs:ovn-chassis
# *** Please update the `bridge-interface-mappings` to values suitable ***
# *** for the hardware used in your deployment. See the referenced ***
# *** documentation at the top of this file. ***
options:
ovn-bridge-mappings: physnet1:br-ex
bridge-interface-mappings: *data-port
bindings:
"": admin-network
vault-hacluster:
charm: 'cs:hacluster'
series: focal
annotations:
bindings:
"": admin-network
vault-mysql-router:
annotations:
gui-x: '1535'
gui-y: '1560'
charm: cs:mysql-router
bindings:
"": admin-network
vault:
annotations:
gui-x: '1610'
gui-y: '1430'
charm: cs:vault
num_units: 3
bindings:
"": admin-network
options:
vip: 192.168.51.208
to:
- lxd:0
- lxd:2
- lxd:3
relations:
- - nova-compute:amqp
- rabbitmq-server:amqp
- - nova-cloud-controller:identity-service
- keystone:identity-service
- - glance:identity-service
- keystone:identity-service
- - neutron-api:identity-service
- keystone:identity-service
- - neutron-api:amqp
- rabbitmq-server:amqp
- - glance:amqp
- rabbitmq-server:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute:image-service
- glance:image-service
- - nova-cloud-controller:cloud-compute
- nova-compute:cloud-compute
- - nova-cloud-controller:amqp
- rabbitmq-server:amqp
- - openstack-dashboard:identity-service
- keystone:identity-service
- - openstack-dashboard-hacluster:ha
- openstack-dashboard:ha
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - cinder:image-service
- glance:image-service
- - cinder:amqp
- rabbitmq-server:amqp
- - cinder:identity-service
- keystone:identity-service
- - cinder:cinder-volume-service
- nova-cloud-controller:cinder-volume-service
- - cinder-ceph:storage-backend
- cinder:storage-backend
- - ceph-mon:client
- nova-compute:ceph
- - nova-compute:ceph-access
- cinder-ceph:ceph-access
- - ceph-mon:client
- cinder-ceph:ceph
- - ceph-mon:client
- glance:ceph
- - ceph-osd:mon
- ceph-mon:osd
- - ntp:juju-info
- nova-compute:juju-info
- - ceph-radosgw:mon
- ceph-mon:radosgw
- - ceph-radosgw:identity-service
- keystone:identity-service
- - placement:identity-service
- keystone:identity-service
- - placement:placement
- nova-cloud-controller:placement
- - keystone:shared-db
- keystone-mysql-router:shared-db
- - cinder:shared-db
- cinder-mysql-router:shared-db
- - glance:shared-db
- glance-mysql-router:shared-db
- - nova-cloud-controller:shared-db
- nova-mysql-router:shared-db
- - neutron-api:shared-db
- neutron-mysql-router:shared-db
- - openstack-dashboard:shared-db
- openstack-dashboard-mysql-router:shared-db
- - placement:shared-db
- placement-mysql-router:shared-db
- - vault:shared-db
- vault-mysql-router:shared-db
- - keystone-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - cinder-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - nova-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - glance-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - neutron-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - openstack-dashboard-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - placement-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - vault-mysql-router:db-router
- mysql-innodb-cluster:db-router
- - neutron-api-plugin-ovn:neutron-plugin
- neutron-api:neutron-plugin-api-subordinate
- - neutron-api-hacluster:ha
- neutron-api:ha
- - ovn-central:certificates
- vault:certificates
- - ovn-central:ovsdb-cms
- neutron-api-plugin-ovn:ovsdb-cms
- - neutron-api:certificates
- vault:certificates
- - ovn-chassis:nova-compute
- nova-compute:neutron-plugin
- - ovn-chassis:certificates
- vault:certificates
- - ovn-chassis:ovsdb
- ovn-central:ovsdb
- - vault:certificates
- neutron-api-plugin-ovn:certificates
- - vault:certificates
- cinder:certificates
- - vault:certificates
- glance:certificates
- - vault:certificates
- keystone:certificates
- - vault:certificates
- nova-cloud-controller:certificates
- - vault:certificates
- openstack-dashboard:certificates
- - vault:certificates
- placement:certificates
- - vault:certificates
- ceph-radosgw:certificates
- - vault:certificates
- mysql-innodb-cluster:certificates
- - keystone-hacluster:ha
- keystone:ha
- - glance-simplestreams-sync:certificates
- vault:certificates
- - glance-simplestreams-sync:identity-service
- keystone:identity-service
- - nova-cloud-controller-hacluster:ha
- nova-cloud-controller:ha
- - nova-cloud-controller:memcache
- memcached:cache
- - ceph-radosgw-hacluster:ha
- ceph-radosgw:ha
- - cinder-hacluster:ha
- cinder:ha
- - glance-hacluster:ha
- glance:ha
- - placement-hacluster:ha
- placement:ha
- - vault-hacluster:ha
- vault:ha