7c56e4bae45e285ca76402987ec3d7d94e0be5ae
[fuel.git] / deploy / config / dea_base.yaml
1 dea-base-config-metadata:
2   title: 'Deployment Environment Adapter Base configuration'
3   # DEA API version supported
4   version: '0.2'
5   created: 'Mon Jan 26 2016'
6   comment: 'Rebased for Fuel 8'
7 environment:
8   net_segment_type: tun
9 fuel:
10   FUEL_ACCESS:
11     password: admin
12     user: admin
13 wanted_release: Liberty on Ubuntu 14.04
14 settings:
15   editable:
16     access:
17       email:
18         description: Email address for Administrator
19         label: Email
20         regex:
21           error: Invalid email
22           source: ^\S+@\S+$
23         type: text
24         value: admin@localhost
25         weight: 40
26       metadata:
27         group: general
28         label: Access
29         weight: 10
30       password:
31         description: Password for Administrator
32         label: Password
33         regex:
34           error: Empty password
35           source: \S
36         type: password
37         value: admin
38         weight: 20
39       tenant:
40         description: Tenant (project) name for Administrator
41         label: Tenant
42         regex:
43           error: Invalid tenant name
44           source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?!ironic$)(?![Gg]uest$)(?!.*
45             +.*$).+
46         type: text
47         value: admin
48         weight: 30
49       user:
50         description: Username for Administrator
51         label: Username
52         regex:
53           error: Invalid username
54           source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?!ironic$)(?![Gg]uest$)(?!.*
55             +.*$).+
56         type: text
57         value: admin
58         weight: 10
59     additional_components:
60       ceilometer:
61         description: If selected, Ceilometer component will be installed
62         label: Install Ceilometer
63         type: checkbox
64         value: true
65         weight: 60
66       heat:
67         description: ''
68         label: ''
69         type: hidden
70         value: true
71         weight: 50
72       ironic:
73         description: If selected, Ironic component will be installed
74         label: Install Ironic
75         restrictions:
76         - cluster:net_provider != 'neutron' or networking_parameters:segmentation_type != 'vlan': Ironic
77             requires Neutron with VLAN segmentation.
78         - settings:storage.images_ceph.value == true and settings:storage.objects_ceph.value == false: Ironic
79             requires Swift or RadosGW for Glance images.
80         type: checkbox
81         value: false
82         weight: 80
83       metadata:
84         group: openstack_services
85         label: Additional Components
86         weight: 20
87       mongo:
88         description: If selected, You can use external Mongo DB as ceilometer backend
89         label: Use external Mongo DB
90         restrictions:
91         - settings:additional_components.ceilometer.value == false
92         type: checkbox
93         value: false
94         weight: 70
95       murano:
96         description: If selected, Murano component will be installed
97         label: Install Murano
98         type: checkbox
99         value: false
100         weight: 20
101       murano-cfapi:
102         description: If selected, Murano service broker will be installed
103         label: Install Murano service broker for Cloud Foundry
104         restrictions:
105         - condition: settings:additional_components.murano.value == false
106           message: Murano should be enabled
107         - action: hide
108           condition: not ('experimental' in version:feature_groups)
109         type: checkbox
110         value: false
111         weight: 30
112       murano_glance_artifacts_plugin:
113         description: If selected glance artifact repository will be enabled
114         label: Enable glance artifact repository
115         restrictions:
116         - condition: settings:additional_components.murano.value == false
117           message: Murano should be enabled
118         - action: hide
119           condition: not ('experimental' in version:feature_groups)
120         type: checkbox
121         value: false
122         weight: 40
123       sahara:
124         description: If selected, Sahara component will be installed
125         label: Install Sahara
126         type: checkbox
127         value: false
128         weight: 10
129     common:
130       auth_key:
131         description: Public key(s) to include in authorized_keys on deployed nodes
132         group: security
133         label: Public Key
134         type: textarea
135         value: ''
136         weight: 70
137       auto_assign_floating_ip:
138         description: If selected, OpenStack will automatically assign a floating IP
139           to a new instance
140         group: network
141         label: Auto assign floating IP
142         restrictions:
143         - action: hide
144           condition: cluster:net_provider == 'neutron'
145         type: checkbox
146         value: false
147         weight: 40
148       debug:
149         description: Debug logging mode provides more information, but requires more
150           disk space.
151         group: logging
152         label: OpenStack debug logging
153         type: checkbox
154         value: true
155         weight: 20
156       libvirt_type:
157         group: compute
158         label: Hypervisor type
159         type: radio
160         value: kvm
161         values:
162         - data: kvm
163           description: Choose this type of hypervisor if you run OpenStack on hardware
164           label: KVM
165         - data: qemu
166           description: Choose this type of hypervisor if you run OpenStack on virtual
167             hosts.
168           label: QEMU
169         weight: 30
170       metadata:
171         label: Common
172         weight: 10
173       nova_quota:
174         description: Quotas are used to limit CPU and memory usage for tenants. Enabling
175           quotas will increase load on the Nova database.
176         group: compute
177         label: Nova quotas
178         type: checkbox
179         value: false
180         weight: 30
181       puppet_debug:
182         description: Debug puppet logging mode provides more information, but requires
183           more disk space.
184         group: logging
185         label: Puppet debug logging
186         type: checkbox
187         value: true
188         weight: 20
189       resume_guests_state_on_host_boot:
190         description: Whether to resume previous guests state when the host reboots.
191           If enabled, this option causes guests assigned to the host to resume their
192           previous state. If the guest was running a restart will be attempted when
193           nova-compute starts. If the guest was not running previously, a restart
194           will not be attempted.
195         group: compute
196         label: Resume guests state on host boot
197         type: checkbox
198         value: true
199         weight: 50
200       task_deploy:
201         description: Enables new deployment engine based on cross-node dependencies
202           for deployment tasks which allows to deploy all nodes simultaneously. Works
203           only for deployment tasks with version >= 2.0.0.
204         label: Enable task based deploy
205         restrictions:
206         - action: hide
207           condition: not ('experimental' in version:feature_groups)
208         type: checkbox
209         value: false
210         weight: 11
211       use_cow_images:
212         description: For most cases you will want qcow format. If it's disabled, raw
213           image format will be used to run VMs. OpenStack with raw format currently
214           does not support snapshotting.
215         group: storage
216         label: Use qcow format for images
217         type: checkbox
218         value: true
219         weight: 60
220       use_vcenter:
221         type: hidden
222         value: false
223         weight: 30
224     corosync:
225       group:
226         description: ''
227         label: Group
228         type: text
229         value: 226.94.1.1
230         weight: 10
231       metadata:
232         group: general
233         label: Corosync
234         restrictions:
235         - action: hide
236           condition: 'true'
237         weight: 50
238       port:
239         description: ''
240         label: Port
241         type: text
242         value: '12000'
243         weight: 20
244       verified:
245         description: Set True only if multicast is configured correctly on router.
246         label: Need to pass network verification.
247         type: checkbox
248         value: false
249         weight: 10
250     external_mongo:
251       hosts_ip:
252         description: IP Addresses of MongoDB. Use comma to split IPs
253         label: MongoDB hosts IP
254         regex:
255           error: Invalid hosts ip sequence
256           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]?)$
257         type: text
258         value: ''
259         weight: 30
260       metadata:
261         group: openstack_services
262         label: External MongoDB
263         restrictions:
264         - action: hide
265           condition: settings:additional_components.mongo.value == false
266           message: Ceilometer and MongoDB are not enabled on the Additional Components
267             section
268         weight: 20
269       mongo_db_name:
270         description: Mongo database name
271         label: Database name
272         regex:
273           error: Invalid database name
274           source: ^\w+$
275         type: text
276         value: ceilometer
277         weight: 30
278       mongo_password:
279         description: Mongo database password
280         label: Password
281         regex:
282           error: Password contains spaces
283           source: ^\S*$
284         type: password
285         value: ceilometer
286         weight: 30
287       mongo_replset:
288         description: Name for Mongo replication set
289         label: Replset
290         type: text
291         value: ''
292         weight: 30
293       mongo_user:
294         description: Mongo database username
295         label: Username
296         regex:
297           error: Empty username
298           source: ^\w+$
299         type: text
300         value: ceilometer
301         weight: 30
302     kernel_params:
303       kernel:
304         description: Default kernel parameters
305         label: Initial parameters
306         type: text
307         value: console=tty0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset
308       metadata:
309         group: general
310         label: Kernel parameters
311         weight: 60
312     murano_settings:
313       metadata:
314         group: openstack_services
315         label: Murano Settings
316         restrictions:
317         - action: hide
318           condition: settings:additional_components.murano.value == false
319           message: Murano is not enabled on the Additional Components section
320         weight: 20
321       murano_repo_url:
322         description: ''
323         label: Murano Repository URL
324         type: text
325         value: http://storage.apps.openstack.org/
326         weight: 10
327     neutron_advanced_configuration:
328       metadata:
329         group: network
330         label: Neutron Advanced Configuration
331         restrictions:
332         - action: hide
333           condition: cluster:net_provider != 'neutron'
334         weight: 20
335       neutron_dvr:
336         description: Enable Distributed Virtual Routers in Neutron
337         label: Neutron DVR
338         restrictions:
339         - ? networking_parameters:segmentation_type != 'vlan' and settings:neutron_advanced_configuration.neutron_l2_pop.value
340             == false
341           : DVR requires L2 population to be enabled.
342         type: checkbox
343         value: false
344         weight: 20
345       neutron_l2_pop:
346         description: Enable L2 population mechanism in Neutron
347         label: Neutron L2 population
348         restrictions:
349         - action: hide
350           condition: networking_parameters:segmentation_type == 'vlan'
351         type: checkbox
352         value: false
353         weight: 10
354       neutron_l3_ha:
355         description: 'Enable High Availability features for Virtual Routers in Neutron
356
357           Requires at least 2 Controller nodes to function properly
358
359           '
360         label: Neutron L3 HA
361         restrictions:
362         - condition: settings:neutron_advanced_configuration.neutron_dvr.value ==
363             true
364           message: Neutron DVR must be disabled in order to use Neutron L3 HA
365         type: checkbox
366         value: false
367         weight: 30
368     neutron_mellanox:
369       metadata:
370         enabled: true
371         group: network
372         label: Mellanox Neutron components
373         restrictions:
374         - action: hide
375           condition: not ('experimental' in version:feature_groups)
376         toggleable: false
377         weight: 50
378       plugin:
379         label: Mellanox drivers and SR-IOV plugin
380         type: radio
381         value: disabled
382         values:
383         - data: disabled
384           description: If selected, Mellanox drivers, Neutron and Cinder plugin will
385             not be installed.
386           label: Mellanox drivers and plugins disabled
387           restrictions:
388           - settings:storage.iser.value == true
389         - data: drivers_only
390           description: If selected, Mellanox Ethernet drivers will be installed to
391             support networking over Mellanox NIC. Mellanox Neutron plugin will not
392             be installed.
393           label: Install only Mellanox drivers
394           restrictions:
395           - settings:common.libvirt_type.value != 'kvm'
396         - data: ethernet
397           description: If selected, both Mellanox Ethernet drivers and Mellanox network
398             acceleration (Neutron) plugin will be installed.
399           label: Install Mellanox drivers and SR-IOV plugin
400           restrictions:
401           - settings:common.libvirt_type.value != 'kvm' or not (cluster:net_provider
402             == 'neutron' and networking_parameters:segmentation_type == 'vlan')
403         weight: 60
404       vf_num:
405         description: Note that one virtual function will be reserved to the storage
406           network, in case of choosing iSER.
407         label: Number of virtual NICs
408         restrictions:
409         - settings:neutron_mellanox.plugin.value != 'ethernet'
410         type: text
411         value: '16'
412         weight: 70
413     provision:
414       metadata:
415         group: general
416         label: Provision
417         restrictions:
418         - action: hide
419           condition: 'true'
420         weight: 80
421       method:
422         type: hidden
423         value: image
424     public_network_assignment:
425       assign_to_all_nodes:
426         description: When disabled, public network will be assigned to controllers
427           only
428         label: Assign public network to all nodes
429         type: checkbox
430         value: true
431         weight: 10
432       metadata:
433         group: network
434         label: Public network assignment
435         restrictions:
436         - action: hide
437           condition: cluster:net_provider != 'neutron'
438         weight: 10
439     public_ssl:
440       cert_data:
441         description: Certificate and private key data, concatenated into a single
442           file
443         label: Certificate
444         restrictions:
445         - action: hide
446           condition: (settings:public_ssl.cert_source.value != 'user_uploaded') or
447             (settings:public_ssl.horizon.value == false and settings:public_ssl.services.value
448             == false)
449         type: file
450         value: ''
451         weight: 40
452       cert_source:
453         description: From where we'll get certificate and private key
454         label: Select source for certificate
455         restrictions:
456         - action: hide
457           condition: settings:public_ssl.horizon.value == false and settings:public_ssl.services.value
458             == false
459         type: radio
460         value: self_signed
461         values:
462         - data: self_signed
463           description: Generate private key and certificate that will be signed by
464             this key
465           label: Self-signed
466         - data: user_uploaded
467           description: Use pre-generated key and certificate
468           label: I have my own keypair with certificate
469         weight: 30
470       horizon:
471         description: Secure access to Horizon enabling HTTPS instead of HTTP
472         label: HTTPS for Horizon
473         type: checkbox
474         value: false
475         weight: 10
476       hostname:
477         description: Your DNS entries should point to this name. Self-signed certificates
478           also will use this hostname
479         label: DNS hostname for public TLS endpoints
480         restrictions:
481         - action: hide
482           condition: settings:public_ssl.horizon.value == false and settings:public_ssl.services.value
483             == false
484         type: text
485         value: public.fuel.local
486         weight: 50
487       metadata:
488         group: security
489         label: Public TLS
490         weight: 110
491       services:
492         description: Enable TLS termination on HAProxy for OpenStack services
493         label: TLS for OpenStack public endpoints
494         type: checkbox
495         value: false
496         weight: 20
497     repo_setup:
498       metadata:
499         always_editable: true
500         group: general
501         label: Repositories
502         weight: 50
503       repos:
504         description: 'Please note: the first repository will be considered the operating
505           system mirror that will be used during node provisioning.
506
507           To create a local repository mirror on the Fuel master node, please follow
508           the instructions provided by running "fuel-createmirror --help" on the Fuel
509           master node.
510
511           Please make sure your Fuel master node has Internet access to the repository
512           before attempting to create a mirror.
513
514           For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#external-ubuntu-ops).
515
516           '
517         extra_priority: null
518         type: custom_repo_configuration
519         value:
520         - name: ubuntu
521           priority: null
522           section: main universe multiverse
523           suite: trusty
524           type: deb
525           uri: http://archive.ubuntu.com/ubuntu/
526         - name: ubuntu-updates
527           priority: null
528           section: main universe multiverse
529           suite: trusty-updates
530           type: deb
531           uri: http://archive.ubuntu.com/ubuntu/
532         - name: ubuntu-security
533           priority: null
534           section: main universe multiverse
535           suite: trusty-security
536           type: deb
537           uri: http://archive.ubuntu.com/ubuntu/
538         - name: mos
539           priority: 1050
540           section: main restricted
541           suite: mos8.0
542           type: deb
543           uri: http://10.20.0.2:8080/liberty-8.0/ubuntu/x86_64
544         - name: mos-updates
545           priority: 1050
546           section: main restricted
547           suite: mos8.0-updates
548           type: deb
549           uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/
550         - name: mos-security
551           priority: 1050
552           section: main restricted
553           suite: mos8.0-security
554           type: deb
555           uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/
556         - name: mos-holdback
557           priority: 1100
558           section: main restricted
559           suite: mos8.0-holdback
560           type: deb
561           uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/
562         - name: Auxiliary
563           priority: 1150
564           section: main restricted
565           suite: auxiliary
566           type: deb
567           uri: http://10.20.0.2:8080/liberty-8.0/ubuntu/auxiliary
568     storage:
569       ephemeral_ceph:
570         description: Configures Nova to store ephemeral volumes in RBD. This works
571           best if Ceph is enabled for volumes and images, too. Enables live migration
572           of all types of Ceph backed VMs (without this option, live migration will
573           only work with VMs launched from Cinder volumes).
574         label: Ceph RBD for ephemeral volumes (Nova)
575         type: checkbox
576         value: false
577         weight: 75
578       images_ceph:
579         description: Configures Glance to use the Ceph RBD backend to store images.
580           If enabled, this option will prevent Swift from installing.
581         label: Ceph RBD for images (Glance)
582         restrictions:
583         - settings:storage.images_vcenter.value == true: Only one Glance backend could
584             be selected.
585         type: checkbox
586         value: false
587         weight: 30
588       images_vcenter:
589         description: Configures Glance to use the vCenter/ESXi backend to store images.
590           If enabled, this option will prevent Swift from installing.
591         label: VMware vCenter/ESXi datastore for images (Glance)
592         restrictions:
593         - action: hide
594           condition: settings:common.use_vcenter.value != true
595         - condition: settings:storage.images_ceph.value == true
596           message: Only one Glance backend could be selected.
597         type: checkbox
598         value: false
599         weight: 35
600       iser:
601         description: 'High performance block storage: Cinder volumes over iSER protocol
602           (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC,
603           and will use a dedicated virtual function for the storage network.'
604         label: iSER protocol for volumes (Cinder)
605         restrictions:
606         - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value
607           != 'kvm'
608         - action: hide
609           condition: not ('experimental' in version:feature_groups)
610         type: checkbox
611         value: false
612         weight: 11
613       metadata:
614         group: storage
615         label: Storage Backends
616         weight: 60
617       objects_ceph:
618         description: Configures RadosGW front end for Ceph RBD. This exposes S3 and
619           Swift API Interfaces. If enabled, this option will prevent Swift from installing.
620         label: Ceph RadosGW for objects (Swift API)
621         type: checkbox
622         value: false
623         weight: 80
624       osd_pool_size:
625         description: Configures the default number of object replicas in Ceph. This
626           number must be equal to or lower than the number of deployed 'Storage -
627           Ceph OSD' nodes.
628         label: Ceph object replication factor
629         regex:
630           error: Invalid number
631           source: ^[1-9]\d*$
632         type: text
633         value: '3'
634         weight: 85
635       volumes_block_device:
636         description: High performance block device storage. It is recommended to have
637           at least one Storage - Cinder Block Device
638         label: Cinder Block device driver
639         restrictions:
640         - settings:storage.volumes_ceph.value == true
641         type: checkbox
642         value: false
643         weight: 15
644       volumes_ceph:
645         description: Configures Cinder to store volumes in Ceph RBD images.
646         label: Ceph RBD for volumes (Cinder)
647         restrictions:
648         - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value
649           == true
650         type: checkbox
651         value: true
652         weight: 20
653       volumes_lvm:
654         description: It is recommended to have at least one Storage - Cinder LVM node.
655         label: Cinder LVM over iSCSI for volumes
656         restrictions:
657         - settings:storage.volumes_ceph.value == true
658         type: checkbox
659         value: false
660         weight: 10
661     workloads_collector:
662       enabled:
663         type: hidden
664         value: true
665       metadata:
666         group: general
667         label: Workloads Collector User
668         restrictions:
669         - action: hide
670           condition: 'true'
671         weight: 10
672       password:
673         type: password
674         value: AqEF1Aid1T5vGhP2WE7K5Yxx
675       tenant:
676         type: text
677         value: services
678       user:
679         type: text
680         value: fuel_stats_user