This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
/
openstack.yaml
2113 lines (2110 loc) · 76.4 KB
/
openstack.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
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
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
- &base_release
model: "nailgun.release"
fields:
state: "available"
modes_metadata:
ha_compact:
description: "This configuration Deploys OpenStack ready for high availability (HA). Controller services are prepared for HA by setting up a base MySQL/Galera, RabbitMQ and HAProxy so that additional controllers can be deployed NOW, or scaled out LATER. 3 or more controllers are required for a true HA environment."
roles_metadata:
controller:
name: "Controller"
description: "The Controller initiates orchestration activities and provides an external API. Other components like Glance (image storage), Keystone (identity management), Horizon (OpenStack dashboard) and Nova-Scheduler are installed on the controller as well."
weight: 10
conflicts:
- compute
update_required:
- compute
- cinder
has_primary: true
public_ip_required: true
public_for_dvr_required: true
group: "base"
limits:
min: 1
recommended: 3
overrides:
- condition: "settings:neutron_advanced_configuration.neutron_l3_ha.value == true"
min: 2
message: "Neutron L3 HA requires at least 2 Controller nodes to function properly."
compute:
name: "Compute"
description: "A Compute node creates, manages, and terminates virtual machine instances."
weight: 20
public_for_dvr_required: true
group: "compute"
limits:
recommended: 1
fault_tolerance: "2%"
cinder:
# NOTE: naming, see https://bugs.launchpad.net/fuel/+bug/1383224
name: "Cinder"
description: "Cinder provides scheduling of block storage resources, typically delivered over iSCSI and other compatible backend storage systems. Block storage can be used for database storage, expandable file systems, or to provide a server with access to raw block level devices."
weight: 30
group: "storage"
limits:
recommended: 1
restrictions:
- condition: "settings:storage.volumes_lvm.value == false"
message: "Cinder LVM should be enabled in settings"
# NOTE: https://bugs.launchpad.net/fuel/+bug/1372914 - Prohibit possibility of adding cinder nodes to an environment with Ceph RBD
- condition: "settings:storage.volumes_ceph.value == true"
message: "Ceph RBD cannot be used with Cinder"
cinder-block-device:
name: 'Cinder Block Device'
description: 'Host node for Cinder Block Devices'
has_primary: false
public_ip_required: false
weight: 35
group: "storage"
conflicts:
- controller
- cinder
- cinder-vmware
- ceph-osd
restrictions:
- condition: "settings:storage.volumes_block_device.value == false"
message: "Cinder Block Device should be enabled in settings"
- condition: "settings:storage.volumes_ceph.value == true"
message: "Ceph RBD cannot be used with Cinder Block Device"
cinder-vmware:
name: "Cinder Proxy to VMware Datastore"
description: "Cinder-VMware provides scheduling of block storage resources delivered over VMware vCenter. Block storage can be used for database storage, expandable file systems, or providing a server with access to raw block level devices."
weight: 40
group: "storage"
limits:
recommended: 1
restrictions:
- condition: "settings:common.use_vcenter.value == false"
action: "hide"
ceph-osd:
name: "Ceph OSD"
description: "Ceph storage can be configured to provide storage for block volumes (Cinder), images (Glance) and ephemeral instance storage (Nova). It can also provide object storage through the S3 and Swift API (See settings to enable each)."
weight: 50
group: "storage"
limits:
min: "settings:storage.osd_pool_size.value"
restrictions:
- condition: "settings:storage.volumes_ceph.value == false and settings:storage.images_ceph.value == false and settings:storage.ephemeral_ceph.value == false and settings:storage.objects_ceph.value == false"
message: "Ceph must be enabled in settings"
update_once:
- controller
mongo:
name: "Telemetry - MongoDB"
description: "A feature-complete and recommended database for storage of metering data from OpenStack Telemetry (Ceilometer)."
weight: 60
group: "other"
conflicts:
- compute
- ceph-osd
has_primary: true
limits:
min: 1
overrides:
- condition: "cluster:mode != 'ha_compact'"
max: 1
message: "At most 1 MongoDB node can be added for non-HA deployment"
- condition: "cluster:mode == 'ha_compact'"
recommended: 3
message: "At least 3 MongoDB nodes are recommended for HA deployment."
restrictions:
- condition: "settings:additional_components.ceilometer.value == false"
message: "Ceilometer should be enabled."
- condition: "settings:additional_components.mongo.value == true"
message: "You are already using external MongoDB."
base-os:
name: "Operating System"
description: "Install base Operating System without additional packages and configuration."
weight: 70
group: "other"
virt:
name: "Virtual"
description: "ADVANCED: Make available possibilities to spawn vms on this node that can be assign as a normal nodes."
weight: 80
group: "compute"
public_ip_required: true
conflicts:
- controller
- base-os
restrictions:
- condition: "not ('advanced' in version:feature_groups)"
action: "hide"
compute-vmware:
name: "Compute VMware"
description: "A node that runs nova-compute with VCDriver, that manages ESXi computing resources via VMware vCenter."
weight: 90
group: "compute"
conflicts:
- controller
- compute
- cinder
- cinder-block-device
- ceph-osd
- mongo
- base-os
- virt
- ironic
restrictions:
- condition: "settings:common.use_vcenter.value == false"
action: "hide"
ironic:
name: "Ironic"
description: "Ironic conductor"
weight: 100
group: "compute"
limits:
min: 1
recommended: 3
conflicts:
- compute
restrictions:
- condition: "settings:additional_components.ironic.value == false"
message: "Ironic should be enabled."
network_roles_metadata:
-
id: "keystone/api"
default_mapping: "management"
properties: &default_network_roles_metadata_properties
subnet: true
gateway: false
vip: []
-
id: "admin/pxe"
default_mapping: "fuelweb_admin"
properties:
subnet: true
gateway: true
vip: []
-
id: "swift/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "neutron/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "sahara/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "aodh/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "ceilometer/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "cinder/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "glance/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "heat/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "nova/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "murano/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "murano/cfapi"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "horizon"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "mgmt/memcache"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "mgmt/database"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "mgmt/messaging"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "mgmt/corosync"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "mgmt/vip"
default_mapping: "management"
properties:
subnet: true
gateway: false
vip:
-
name: "vrouter"
namespace: "vrouter"
alias: "management_vrouter_vip"
-
name: "management"
namespace: "haproxy"
alias: "management_vip"
-
id: "public/vip"
default_mapping: "public"
properties:
subnet: true
gateway: true
vip:
-
name: "vrouter_pub"
namespace: "vrouter"
alias: "public_vrouter_vip"
vendor_specific:
iptables_rules:
ns_start:
- "iptables -t nat -A POSTROUTING -o <%INT%> -j MASQUERADE"
ns_stop:
- "iptables -t nat -D POSTROUTING -o <%INT%> -j MASQUERADE"
-
name: "public"
namespace: "haproxy"
alias: "public_vip"
-
id: "neutron/private"
default_mapping: "private"
properties:
subnet: false
gateway: false
vip: []
-
id: "neutron/mesh"
default_mapping: "private"
properties: *default_network_roles_metadata_properties
-
id: "neutron/floating"
default_mapping: "public"
properties:
subnet: false
gateway: false
vip: []
-
id: "swift/replication"
default_mapping: "storage"
properties: *default_network_roles_metadata_properties
-
id: "ceph/public"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "ceph/radosgw"
default_mapping: "public"
properties: *default_network_roles_metadata_properties
-
id: "ceph/replication"
default_mapping: "storage"
properties: *default_network_roles_metadata_properties
-
id: "cinder/iscsi"
default_mapping: "storage"
properties: *default_network_roles_metadata_properties
-
id: "mongo/db"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "fw-admin"
default_mapping: "fuelweb_admin"
properties:
subnet: true
gateway: true
vip: []
-
id: "management"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "ex"
default_mapping: "public"
properties:
subnet: true
gateway: true
vip: []
-
id: "storage"
default_mapping: "storage"
properties: *default_network_roles_metadata_properties
-
id: "nova/migration"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "ironic/api"
default_mapping: "management"
properties: *default_network_roles_metadata_properties
-
id: "ironic/baremetal"
default_mapping: "baremetal"
properties:
subnet: true
gateway: false
vip:
-
name: "baremetal"
namespace: "haproxy"
alias: "baremetal_vip"
vendor_specific:
iptables_rules:
ns_start:
- "iptables -A INPUT -i <%INT%> -s <%CIDR%> -d <%IP%> -p tcp -m multiport --dports 6385,8080 -m state --state NEW -j ACCEPT"
- "iptables -A INPUT -i <%INT%> -s <%CIDR%> -d <%IP%> -m state --state ESTABLISHED,RELATED -j ACCEPT"
- "iptables -A INPUT -i <%INT%> -j DROP"
ns_stop:
- "iptables -D INPUT -i <%INT%> -s <%CIDR%> -d <%IP%> -p tcp -m multiport --dports 6385,8080 -m state --state NEW -j ACCEPT"
- "iptables -D INPUT -i <%INT%> -s <%CIDR%> -d <%IP%> -m state --state ESTABLISHED,RELATED -j ACCEPT"
- "iptables -D INPUT -i <%INT%> -j DROP"
networks_metadata:
bonding:
availability:
- linux: "true"
- ovs: "false"
properties:
linux:
mode:
- values: ["balance-rr", "active-backup"]
- values: ["802.3ad"]
condition: "'experimental' in version:feature_groups or
interface:pxe == false"
- values: ["balance-xor", "broadcast", "balance-tlb", "balance-alb"]
condition: "'experimental' in version:feature_groups"
xmit_hash_policy:
- values: ["layer2", "layer2+3", "layer3+4", "encap2+3", "encap3+4"]
for_modes: ["802.3ad", "balance-xor", "balance-tlb", "balance-alb"]
lacp_rate:
- values: ["slow", "fast"]
for_modes: ["802.3ad"]
nova_network:
networks:
- name: "public"
cidr: "172.16.0.0/24"
gateway: "172.16.0.1"
ip_range: ["172.16.0.2", "172.16.0.127"]
vlan_start: null
use_gateway: true
notation: "ip_ranges"
render_type: null
render_addr_mask: "public"
map_priority: 1
configurable: true
vips: ["haproxy", "vrouter"]
- name: "management"
cidr: "192.168.0.0/24"
vlan_start: 101
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: "internal"
map_priority: 2
configurable: true
vips: ["haproxy", "vrouter"]
- name: "storage"
cidr: "192.168.1.0/24"
vlan_start: 102
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: "storage"
map_priority: 2
configurable: true
- name: "fixed"
vlan_start: null
use_gateway: false
notation: null
render_type: null
render_addr_mask: null
map_priority: 2
ext_net_data: ["fixed_networks_vlan_start", "fixed_networks_amount"]
configurable: false
config:
net_manager: "FlatDHCPManager"
fixed_networks_cidr: "10.0.0.0/16"
fixed_networks_vlan_start: 103
fixed_network_size: 256
fixed_networks_amount: 1
floating_ranges: [["172.16.0.128", "172.16.0.254"]]
neutron:
networks:
- name: "public"
cidr: "172.16.0.0/24"
ip_range: ["172.16.0.2", "172.16.0.126"]
vlan_start: null
use_gateway: true
notation: "ip_ranges"
render_type: null
render_addr_mask: "public"
map_priority: 1
configurable: true
floating_range_var: "floating_ranges"
vips: ["haproxy", "vrouter"]
- name: "management"
cidr: "192.168.0.0/24"
vlan_start: 101
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: "internal"
map_priority: 2
configurable: true
vips: ["haproxy", "vrouter"]
- name: "storage"
cidr: "192.168.1.0/24"
vlan_start: 102
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: "storage"
map_priority: 2
configurable: true
- name: "private"
seg_type: "vlan"
vlan_start: null
use_gateway: false
notation: null
render_type: null
render_addr_mask: null
map_priority: 2
neutron_vlan_range: true
configurable: false
- name: "private"
seg_type: "gre"
cidr: "192.168.2.0/24"
vlan_start: 103
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: null
map_priority: 2
configurable: true
- name: "private"
seg_type: "tun"
cidr: "192.168.2.0/24"
vlan_start: 103
use_gateway: false
notation: "cidr"
render_type: "cidr"
render_addr_mask: null
map_priority: 2
configurable: true
- name: "baremetal"
cidr: "192.168.3.0/24"
ip_range: ["192.168.3.1", "192.168.3.50"]
vlan_start: 104
use_gateway: false
notation: "ip_ranges"
render_type: null
map_priority: 2
configurable: true
restrictions:
- condition: "settings:additional_components.ironic.value == false"
config:
vlan_range: [1000, 1030]
gre_id_range: [2, 65535]
base_mac: "fa:16:3e:00:00:00"
internal_name: "admin_internal_net"
internal_cidr: "192.168.111.0/24"
internal_gateway: "192.168.111.1"
floating_name: "admin_floating_net"
floating_ranges: [["172.16.0.130", "172.16.0.254"]]
baremetal_gateway: "192.168.3.51"
baremetal_range: ["192.168.3.52", "192.168.3.254"]
parameters:
amqp:
provider: "rabbitmq"
username: null
passwd: ""
hosts: "hostname1:5672, hostname2:5672"
database:
provider: "mysql"
port: "3306"
database: null
username: null
passwd: ""
keystone:
admin_user: null
admin_password: ""
metadata:
metadata_proxy_shared_secret: ""
volumes_metadata:
volumes_roles_mapping:
controller:
- {allocate_size: "min", id: "os"}
- {allocate_size: "min", id: "logs"}
- {allocate_size: "all", id: "image"}
- {allocate_size: "min", id: "mysql"}
- {allocate_size: "min", id: "horizon"}
compute:
- {allocate_size: "min", id: "os"}
- {allocate_size: "all", id: "vm"}
cinder:
- {allocate_size: "min", id: "os"}
- {allocate_size: "all", id: "cinder"}
cinder-vmware:
- {allocate_size: "min", id: "os"}
ceph-osd:
- {allocate_size: "min", id: "os"}
- {allocate_size: "min", id: "cephjournal"}
- {allocate_size: "full-disk", id: "ceph"}
cinder-block-device:
- {allocate_size: "min", id: "os"}
- {allocate_size: "full-disk", id: "cinder-block-device"}
mongo:
- {allocate_size: "min", id: "os"}
- {allocate_size: "all", id: "mongo"}
other:
- {allocate_size: "all", id: "os"}
# NOTE(eli): it's better to use entire disk
# for OS, but currently we have a bug for
# Ubuntu which doesn't allow to do that:
# https://bugs.launchpad.net/fuel/+bug/1278964
base-os:
- {allocate_size: "min", id: "os"}
virt:
- {allocate_size: "min", id: "os"}
- {allocate_size: "all", id: "vm"}
compute-vmware:
- {allocate_size: "min", id: "os"}
ironic:
- {allocate_size: "min", id: "os"}
- {allocate_size: "min", id: "logs"}
volumes:
- id: "os"
type: "vg"
min_size: {generator: "calc_min_os_size"}
label: "Base System"
volumes:
- mount: "/"
type: "lv"
name: "root"
size: {generator: "calc_total_root_vg"}
file_system: "ext4"
- mount: "swap"
type: "lv"
name: "swap"
size: {generator: "calc_swap_size"}
file_system: "swap"
- id: "logs"
type: "vg"
min_size:
generator: "calc_gb_to_mb"
generator_args: [10]
label: "Logs"
volumes:
- mount: "/var/log"
type: "lv"
name: "log"
size:
generator: "calc_total_vg"
generator_args: ["logs"]
file_system: "ext4"
- id: "mongo"
type: "vg"
label: "MongoDB"
min_size: {generator: "calc_min_mongo_size"}
volumes:
- mount: "/var/lib/mongo"
type: "lv"
name: "mongodb"
size:
generator: "calc_total_vg"
generator_args: ["mongo"]
file_system: "ext4"
- id: "ceph"
type: "partition"
min_size: {generator: "calc_min_ceph_size"}
label: "Ceph"
name: "Ceph"
mount: "none"
partition_guid: "4fbd7e29-9d25-41b8-afd0-062c0ceff05d"
file_system: "none"
- id: "cephjournal"
type: "partition"
min_size: {generator: "calc_min_ceph_journal_size"}
name: "Ceph Journal"
label: "Ceph Journal"
mount: "none"
partition_guid: "45b0969e-9b03-4f30-b4c6-b4b80ceff106"
file_system: "none"
- id: "mysql"
type: "vg"
min_size: {generator: "calc_min_mysql_size"}
label: "Mysql Database"
volumes:
- mount: "/var/lib/mysql"
type: "lv"
name: "root"
size:
generator: "calc_total_vg"
generator_args: ["mysql"]
file_system: "ext4"
- id: "vm"
type: "vg"
min_size: {generator: "calc_min_vm_size"}
label: "Virtual Storage"
volumes:
- mount: "/var/lib/nova"
type: "lv"
name: "nova"
size:
generator: "calc_total_vg"
generator_args: ["vm"]
file_system: "xfs"
- id: "image"
type: "vg"
min_size: {generator: "calc_min_glance_size"}
label: "Image Storage"
volumes:
- mount: "/var/lib/glance"
type: "lv"
name: "glance"
size:
generator: "calc_total_vg"
generator_args: ["image"]
file_system: "xfs"
- id: "horizon"
type: "vg"
min_size:
generator: "calc_gb_to_mb"
generator_args: [11]
label: "Horizon Temp Storage"
volumes:
- mount: "/var/lib/horizon"
type: "lv"
name: "horizontmp"
size:
generator: "calc_total_vg"
generator_args: ["horizon"]
file_system: "xfs"
- id: "cinder"
type: "vg"
label: "Cinder"
min_size: {generator: "calc_min_cinder_size"}
volumes: []
- id: "cinder-block-device"
type: "vg"
label: "Cinder Block Device"
min_size: { generator: "calc_min_cinder_size" }
mount: "none"
volumes: []
attributes_metadata:
editable:
access:
metadata:
label: "OpenStack Access"
weight: 10
group: "general"
user:
value: "admin"
label: "Username"
description: "Username for Administrator"
weight: 10
type: "text"
regex:
source: &user_tenant_blacklist '^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?!ironic$)(?![Gg]uest$)(?!.* +.*$).+'
error: "Invalid username"
email:
value: "admin@localhost"
label: "Email"
description: "Email address for Administrator"
weight: 40
type: "text"
regex:
source: "^\\S+@\\S+$"
error: "Invalid email"
tenant:
value: "admin"
label: "Tenant"
description: "Tenant (project) name for Administrator"
weight: 30
type: "text"
regex:
source: *user_tenant_blacklist
error: "Invalid tenant name"
password:
value: "admin"
label: "Password"
description: "Password for Administrator"
weight: 20
type: "password"
regex:
source: &non_empty_string '\S'
error: "Empty password"
operator_user:
metadata:
label: "Operating System Access"
weight: 15
group: "general"
name:
label: "Username"
description: ""
weight: 50
type: 'text'
value: 'fueladmin'
regex:
source: *non_empty_string
error: "Empty username"
password:
label: "Password"
description: ""
weight: 60
type: 'password'
value: 'fueladmin'
regex:
source: *non_empty_string
error: "Empty password"
homedir:
label: "Home directory"
description: ""
weight: 70
type: 'text'
value: '/home/fueladmin'
regex:
source: '^/\S'
error: "Invalid path"
authkeys:
label: "Authorized SSH keys"
description: ""
weight: 80
type: 'textarea'
value: ''
sudo:
label: "Sudoers configuration"
description: ""
weight: 90
type: 'textarea'
value: ''
service_user:
metadata:
label: "Service user account"
weight: 10
group: "general"
restrictions:
- condition: "true"
action: "hide"
name:
type: 'hidden'
value: 'fuel'
sudo:
type: 'hidden'
value: 'ALL=(ALL) NOPASSWD: ALL'
homedir:
type: 'hidden'
value: '/var/lib/fuel'
workloads_collector:
metadata:
label: "Workloads Collector User"
weight: 10
group: "general"
restrictions:
- condition: "true"
action: "hide"
enabled:
value: true
type: "hidden"
user:
value: "fuel_stats_user"
type: "text"
password:
value:
generator: "password"
type: "password"
tenant:
value: "services"
type: "text"
murano_settings:
metadata:
label: "Murano Settings"
weight: 20
group: "openstack_services"
restrictions:
- condition: "settings:additional_components.murano.value == false"
message: "Murano is not enabled on the Additional Components section"
action: "hide"
murano_repo_url:
value: "http://storage.apps.openstack.org/"
label: "Murano Repository URL"
description: ""
weight: 10
type: "text"
external_mongo:
metadata:
label: "External MongoDB"
weight: 20
group: "openstack_services"
restrictions:
- condition: "settings:additional_components.mongo.value == false"
message: "Ceilometer and MongoDB are not enabled on the Additional Components section"
action: "hide"
hosts_ip:
value: ""
label: "MongoDB hosts IP"
description: "IP Addresses of MongoDB. Use comma to split IPs"
weight: 30
type: "text"
regex:
source: '^(((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?),)*((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'
error: "Invalid hosts ip sequence"
mongo_user:
value: "ceilometer"
label: "Username"
description: "Mongo database username"
weight: 30
type: "text"
regex:
source: '^\w+$'
error: "Empty username"
mongo_password:
value: "ceilometer"
label: "Password"
description: "Mongo database password"
weight: 30
type: "password"
regex:
source: '^\S*$'
error: "Password contains spaces"
mongo_db_name:
value: "ceilometer"
label: "Database name"
description: "Mongo database name"
weight: 30
type: "text"
regex:
source: '^\w+$'
error: "Invalid database name"
mongo_replset:
value: ""
label: "Replset"
description: "Name for Mongo replication set"
weight: 30
type: "text"
additional_components:
metadata:
label: "Additional Components"
weight: 20
group: "openstack_services"
sahara:
value: false
label: "Install Sahara"
description: "If selected, Sahara component will be installed"
weight: 10
type: "checkbox"
murano:
value: false
label: "Install Murano"
description: "If selected, Murano component will be installed"
weight: 20
type: "checkbox"
murano-cfapi:
value: false
label: "Install Murano service broker for Cloud Foundry"
description: "If selected, Murano service broker will be installed"
weight: 30
type: "checkbox"
restrictions:
- condition: "settings:additional_components.murano.value == false"
message: "Murano should be enabled"
- condition: "not ('experimental' in version:feature_groups)"
action: "hide"
murano_glance_artifacts_plugin:
value: false
label: "Enable glance artifact repository"
description: "If selected glance artifact repository will be enabled"
weight: 40
type: "checkbox"
restrictions:
- condition: "settings:additional_components.murano.value == false"
message: "Murano should be enabled"
- condition: "not ('experimental' in version:feature_groups)"
action: "hide"
heat:
value: true
label: ""
description: ""
weight: 50
type: "hidden"
ceilometer:
value: false
label: "Install Ceilometer and Aodh"
description: "If selected, Ceilometer and Aodh components will be installed"
weight: 60
type: "checkbox"
mongo:
value: false
label: "Use external Mongo DB"
description: "If selected, You can use external Mongo DB as ceilometer backend"
weight: 70
type: "checkbox"
restrictions:
- "settings:additional_components.ceilometer.value == false"
ironic:
value: false
label: "Install Ironic"
description: "If selected, Ironic component will be installed"
weight: 80
type: "checkbox"
restrictions:
- "cluster:net_provider != 'neutron' or networking_parameters:segmentation_type != 'vlan'": "Ironic requires Neutron with VLAN segmentation."
- "settings:storage.images_ceph.value == true and settings:storage.objects_ceph.value == false": "Ironic requires Swift or RadosGW for Glance images."
common:
metadata:
label: "Common"
weight: 10
debug:
value: false
label: "OpenStack debug logging"
group: "logging"
description: "Debug logging mode provides more information, but requires more disk space."
weight: 20
type: "checkbox"
puppet_debug:
value: true
label: "Puppet debug logging"
group: "logging"
description: "Debug puppet logging mode provides more information, but requires more disk space."
weight: 20
type: "checkbox"
nova_quota:
value: false
label: "Nova quotas"
group: "compute"
description: "Quotas are used to limit CPU and memory usage for tenants. Enabling quotas will increase load on the Nova database."
weight: 30
type: "checkbox"
auto_assign_floating_ip:
value: false
label: "Auto assign floating IP"
group: "network"
description: "If selected, OpenStack will automatically assign a floating IP to a new instance"
weight: 40
type: "checkbox"
restrictions:
- condition: "cluster:net_provider == 'neutron'"
action: "hide"
use_vcenter:
value: false