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