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