FIX for NTP and for error log fetching from nodes
[fuel.git] / fuel / deploy / templates / hardware_environment / conf / ericsson_montreal_lab / dea.yaml
1 title: Deployment Environment Adapter (DEA)
2 # DEA API version supported
3 version:
4 created:
5 comment: Config for Ericsson Montreal Lab - HA deployment with Ceph and Opendaylight
6 environment:
7   name: opnfv
8   mode: ha
9   net_segment_type: gre
10 wanted_release: Juno on Ubuntu 14.04.1
11 nodes:
12 - id: 1
13   interfaces: interfaces_1
14   transformations: transformations_1
15   role: ceph-osd,controller
16 - id: 2
17   interfaces: interfaces_1
18   transformations: transformations_1
19   role: ceph-osd,controller
20 - id: 3
21   interfaces: interfaces_1
22   transformations: transformations_1
23   role: ceph-osd,controller
24 - id: 4
25   interfaces: interfaces_1
26   transformations: transformations_2
27   role: ceph-osd,compute
28 - id: 5
29   interfaces: interfaces_1
30   transformations: transformations_2
31   role: ceph-osd,compute
32 - id: 6
33   interfaces: interfaces_1
34   transformations: transformations_2
35   role: ceph-osd,compute
36 fuel:
37   ADMIN_NETWORK:
38     ipaddress: 10.20.0.2
39     netmask: 255.255.0.0
40     dhcp_pool_start: 10.20.0.3
41     dhcp_pool_end: 10.20.0.254
42   DNS_UPSTREAM: 10.118.32.193
43   DNS_DOMAIN: opnfvericsson.ca
44   DNS_SEARCH: opnfvericsson.ca
45   FUEL_ACCESS:
46     user: admin
47     password: admin
48   HOSTNAME: opnfv
49   NTP1: 10.118.32.193
50   NTP2: 10.118.34.193
51   NTP3:
52 interfaces_1:
53   eth0:
54   - fuelweb_admin
55   eth2:
56   - public
57   - management
58   - storage
59   - private
60 transformations_1:
61   transformations:
62   - action: add-br
63     name: br-fw-admin
64   - action: add-br
65     name: br-mgmt
66   - action: add-br
67     name: br-storage
68   - action: add-br
69     name: br-ex
70   - action: add-br
71     name: br-floating
72     provider: ovs
73   - action: add-patch
74     bridges:
75     - br-floating
76     - br-ex
77     mtu: 65000
78     provider: ovs
79   - action: add-br
80     name: br-mesh
81   - action: add-port
82     bridge: br-fw-admin
83     name: eth0
84   - action: add-port
85     bridge: br-mgmt
86     name: eth2.320
87   - action: add-port
88     bridge: br-storage
89     name: eth2.220
90   - action: add-port
91     bridge: br-mesh
92     name: eth2.20
93   - action: add-port
94     bridge: br-ex
95     name: eth0
96 transformations_2:
97   transformations:
98   - action: add-br
99     name: br-fw-admin
100   - action: add-br
101     name: br-mgmt
102   - action: add-br
103     name: br-storage
104   - action: add-br
105     name: br-mesh
106   - action: add-port
107     bridge: br-fw-admin
108     name: eth0
109   - action: add-port
110     bridge: br-mgmt
111     name: eth2.320
112   - action: add-port
113     bridge: br-storage
114     name: eth2.220
115   - action: add-port
116     bridge: br-mesh
117     name: eth2.20
118 network:
119   management_vip: 192.168.0.2
120   management_vrouter_vip: 192.168.0.3
121   networking_parameters:
122     base_mac: fa:16:3e:00:00:00
123     dns_nameservers:
124     - 10.118.32.193
125     floating_ranges:
126     - - 10.118.34.226
127       - 10.118.34.230
128     gre_id_range:
129     - 2
130     - 65535
131     internal_cidr: 192.168.111.0/24
132     internal_gateway: 192.168.111.1
133     net_l23_provider: ovs
134     segmentation_type: gre
135     vlan_range:
136     - 2022
137     - 2023
138   networks:
139   - cidr: 10.118.34.192/24
140     gateway: 10.118.34.193
141     ip_ranges:
142     - - 10.118.34.220
143       - 10.118.34.225
144     meta:
145       cidr: 172.16.0.0/24
146       configurable: true
147       floating_range_var: floating_ranges
148       ip_range:
149       - 172.16.0.2
150       - 172.16.0.126
151       map_priority: 1
152       name: public
153       notation: ip_ranges
154       render_addr_mask: public
155       render_type: null
156       use_gateway: true
157       vips:
158       - haproxy
159       - vrouter
160       vlan_start: null
161     name: public
162     vlan_start: null
163   - cidr: 192.168.2.0/24
164     gateway: null
165     ip_ranges:
166     - - 192.168.2.2
167       - 192.168.2.254
168     meta:
169       assign_vip: 192.168.2.0/24
170       configurable: true
171       map_priority: 2
172       name: private
173       notation: cidr
174       render_addr_mask: private
175       render_type: cidr
176       seg_type: gre
177       use_gateway: false
178       vlan_start: 103
179     name: private
180     vlan_start: 20
181   - cidr: 192.168.0.0/24
182     gateway: null
183     ip_ranges:
184     - - 192.168.0.1
185       - 192.168.0.254
186     meta:
187       cidr: 192.168.0.0/24
188       configurable: true
189       map_priority: 2
190       name: management
191       notation: cidr
192       render_addr_mask: internal
193       render_type: cidr
194       use_gateway: false
195       vips:
196       - haproxy
197       - vrouter
198       vlan_start: 101
199     name: management
200     vlan_start: 320
201   - cidr: 192.168.1.0/24
202     gateway: null
203     ip_ranges:
204     - - 192.168.1.2
205       - 192.168.1.254
206     meta:
207       cidr: 192.168.1.0/24
208       configurable: true
209       map_priority: 2
210       name: storage
211       notation: cidr
212       render_addr_mask: storage
213       render_type: cidr
214       use_gateway: false
215       vlan_start: 102
216     name: storage
217     vlan_start: 220
218   - cidr: 10.20.0.0/16
219     gateway: 10.20.0.2
220     ip_ranges:
221     - - 10.20.0.3
222       - 10.20.0.254
223     meta:
224       configurable: false
225       map_priority: 0
226       notation: ip_ranges
227       render_addr_mask: null
228       render_type: null
229       unmovable: true
230       use_gateway: true
231     name: fuelweb_admin
232     vlan_start: null
233   public_vip: 10.118.34.220
234   public_vrouter_vip: 10.118.34.221
235 settings:
236   editable:
237     access:
238       email:
239         description: Email address for Administrator
240         label: Email
241         regex:
242           error: Invalid email
243           source: ^\S+@\S+$
244         type: text
245         value: admin@localhost
246         weight: 40
247       metadata:
248         label: Access
249         weight: 10
250       password:
251         description: Password for Administrator
252         label: Password
253         regex:
254           error: Empty password
255           source: \S
256         type: password
257         value: admin
258         weight: 20
259       tenant:
260         description: Tenant (project) name for Administrator
261         label: Tenant
262         regex:
263           error: Invalid tenant name
264           source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?![Gg]uest$)(?!.*
265             +.*$).+
266         type: text
267         value: admin
268         weight: 30
269       user:
270         description: Username for Administrator
271         label: Username
272         regex:
273           error: Invalid username
274           source: ^(?!services$)(?!nova$)(?!glance$)(?!keystone$)(?!neutron$)(?!cinder$)(?!swift$)(?!ceph$)(?![Gg]uest$)(?!.*
275             +.*$).+
276         type: text
277         value: admin
278         weight: 10
279     additional_components:
280       ceilometer:
281         description: If selected, Ceilometer component will be installed
282         label: Install Ceilometer
283         type: checkbox
284         value: false
285         weight: 40
286       heat:
287         description: ''
288         label: ''
289         type: hidden
290         value: true
291         weight: 30
292       metadata:
293         label: Additional Components
294         weight: 20
295       mongo:
296         description: If selected, You can use external Mongo DB as ceilometer backend
297         label: Use external Mongo DB
298         restrictions:
299         - settings:additional_components.ceilometer.value == false
300         type: checkbox
301         value: false
302         weight: 40
303       murano:
304         description: If selected, Murano component will be installed
305         label: Install Murano
306         restrictions:
307         - cluster:net_provider != 'neutron'
308         type: checkbox
309         value: false
310         weight: 20
311       sahara:
312         description: If selected, Sahara component will be installed
313         label: Install Sahara
314         type: checkbox
315         value: false
316         weight: 10
317     common:
318       auth_key:
319         description: Public key(s) to include in authorized_keys on deployed nodes
320         label: Public Key
321         type: textarea
322         value: ''
323         weight: 70
324       auto_assign_floating_ip:
325         description: If selected, OpenStack will automatically assign a floating IP
326           to a new instance
327         label: Auto assign floating IP
328         restrictions:
329         - action: hide
330           condition: cluster:net_provider == 'neutron'
331         type: checkbox
332         value: false
333         weight: 40
334       debug:
335         description: Debug logging mode provides more information, but requires more
336           disk space.
337         label: OpenStack debug logging
338         type: checkbox
339         value: false
340         weight: 20
341       libvirt_type:
342         label: Hypervisor type
343         type: radio
344         value: kvm
345         values:
346         - data: kvm
347           description: Choose this type of hypervisor if you run OpenStack on hardware
348           label: KVM
349         - data: qemu
350           description: Choose this type of hypervisor if you run OpenStack on virtual
351             hosts.
352           label: QEMU
353         weight: 30
354       metadata:
355         label: Common
356         weight: 30
357       nova_quota:
358         description: Quotas are used to limit CPU and memory usage for tenants. Enabling
359           quotas will increase load on the Nova database.
360         label: Nova quotas
361         type: checkbox
362         value: false
363         weight: 25
364       puppet_debug:
365         description: Debug puppet logging mode provides more information, but requires
366           more disk space.
367         label: Puppet debug logging
368         type: checkbox
369         value: true
370         weight: 20
371       resume_guests_state_on_host_boot:
372         description: Whether to resume previous guests state when the host reboots.
373           If enabled, this option causes guests assigned to the host to resume their
374           previous state. If the guest was running a restart will be attempted when
375           nova-compute starts. If the guest was not running previously, a restart will
376           not be attempted.
377         label: Resume guests state on host boot
378         type: checkbox
379         value: true
380         weight: 60
381       use_cow_images:
382         description: For most cases you will want qcow format. If it's disabled, raw
383           image format will be used to run VMs. OpenStack with raw format currently
384           does not support snapshotting.
385         label: Use qcow format for images
386         type: checkbox
387         value: true
388         weight: 50
389       use_vcenter:
390         type: hidden
391         value: false
392         weight: 30
393     corosync:
394       group:
395         description: ''
396         label: Group
397         type: text
398         value: 226.94.1.1
399         weight: 10
400       metadata:
401         label: Corosync
402         restrictions:
403         - action: hide
404           condition: 'true'
405         weight: 50
406       port:
407         description: ''
408         label: Port
409         type: text
410         value: '12000'
411         weight: 20
412       verified:
413         description: Set True only if multicast is configured correctly on router.
414         label: Need to pass network verification.
415         type: checkbox
416         value: false
417         weight: 10
418     external_dns:
419       dns_list:
420         description: List of upstream DNS servers, separated by comma
421         label: DNS list
422         regex:
423           error: Invalid IP address list
424           source: ^\*$|^(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3}(?:\s*,\s*(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3})*$
425         type: text
426         value: 10.118.32.193
427         weight: 10
428       metadata:
429         label: Host OS DNS Servers
430         weight: 90
431     external_mongo:
432       hosts_ip:
433         description: IP Addresses of MongoDB. Use comma to split IPs
434         label: MongoDB hosts IP
435         regex:
436           error: Invalid hosts ip sequence
437           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]?)$
438         type: text
439         value: ''
440         weight: 30
441       metadata:
442         label: External MongoDB
443         restrictions:
444         - action: hide
445           condition: settings:additional_components.mongo.value == false
446         weight: 20
447       mongo_db_name:
448         description: Mongo database name
449         label: Database name
450         regex:
451           error: Invalid database name
452           source: ^\w+$
453         type: text
454         value: ceilometer
455         weight: 30
456       mongo_password:
457         description: Mongo database password
458         label: Password
459         regex:
460           error: Password contains spaces
461           source: ^\S*$
462         type: password
463         value: ceilometer
464         weight: 30
465       mongo_replset:
466         description: Name for Mongo replication set
467         label: Replset
468         type: text
469         value: ''
470         weight: 30
471       mongo_user:
472         description: Mongo database username
473         label: Username
474         regex:
475           error: Empty username
476           source: ^\w+$
477         type: text
478         value: ceilometer
479         weight: 30
480     external_ntp:
481       metadata:
482         label: Host OS NTP Servers
483         weight: 100
484       ntp_list:
485         description: List of upstream NTP servers, separated by comma
486         label: NTP server list
487         regex:
488           error: Invalid NTP server list
489           source: ^\s*(?:(?:\w+(?:-+\w+)*\.)+[a-z]+|\d{1,3}(?:\.\d{1,3}){3})\s*(?:,\s*(?:(?:\w+(?:-+\w+)*\.)+[a-z]+|\d{1,3}(\.\d{1,3}){3})\s*)*$
490         type: text
491         value: 110.118.32.193, 10.118.34.193
492         weight: 10
493     kernel_params:
494       kernel:
495         description: Default kernel parameters
496         label: Initial parameters
497         type: text
498         value: console=ttyS0,9600 console=tty0 net.ifnames=0 biosdevname=0 rootdelay=90
499           nomodeset
500         weight: 45
501       metadata:
502         label: Kernel parameters
503         weight: 40
504     murano_settings:
505       metadata:
506         label: Murano Settings
507         restrictions:
508         - action: hide
509           condition: settings:additional_components.murano.value == false
510         weight: 20
511       murano_repo_url:
512         description: ''
513         label: Murano Repository URL
514         type: text
515         value: http://storage.apps.openstack.org/
516         weight: 10
517     neutron_mellanox:
518       metadata:
519         enabled: true
520         label: Mellanox Neutron components
521         restrictions:
522         - action: hide
523           condition: not ('experimental' in version:feature_groups)
524         toggleable: false
525         weight: 50
526       plugin:
527         label: Mellanox drivers and SR-IOV plugin
528         type: radio
529         value: disabled
530         values:
531         - data: disabled
532           description: If selected, Mellanox drivers, Neutron and Cinder plugin will
533             not be installed.
534           label: Mellanox drivers and plugins disabled
535           restrictions:
536           - settings:storage.iser.value == true
537         - data: drivers_only
538           description: If selected, Mellanox Ethernet drivers will be installed to support
539             networking over Mellanox NIC. Mellanox Neutron plugin will not be installed.
540           label: Install only Mellanox drivers
541           restrictions:
542           - settings:common.libvirt_type.value != 'kvm'
543         - data: ethernet
544           description: If selected, both Mellanox Ethernet drivers and Mellanox network
545             acceleration (Neutron) plugin will be installed.
546           label: Install Mellanox drivers and SR-IOV plugin
547           restrictions:
548           - settings:common.libvirt_type.value != 'kvm' or not (cluster:net_provider
549             == 'neutron' and networking_parameters:segmentation_type == 'vlan')
550         weight: 60
551       vf_num:
552         description: Note that one virtual function will be reserved to the storage
553           network, in case of choosing iSER.
554         label: Number of virtual NICs
555         restrictions:
556         - settings:neutron_mellanox.plugin.value != 'ethernet'
557         type: text
558         value: '16'
559         weight: 70
560     provision:
561       metadata:
562         label: Provision
563         weight: 80
564       method:
565         description: Which provision method to use for this cluster.
566         label: Provision method
567         type: radio
568         value: image
569         values:
570         - data: image
571           description: Copying pre-built images on a disk.
572           label: Image
573         - data: cobbler
574           description: Install from scratch using anaconda or debian-installer.
575           label: (DEPRECATED) Classic (use anaconda or debian-installer)
576     public_network_assignment:
577       assign_to_all_nodes:
578         description: When disabled, public network will be assigned to controllers only
579         label: Assign public network to all nodes
580         type: checkbox
581         value: false
582         weight: 10
583       metadata:
584         label: Public network assignment
585         restrictions:
586         - action: hide
587           condition: cluster:net_provider != 'neutron'
588         weight: 50
589     repo_setup:
590       metadata:
591         always_editable: true
592         label: Repositories
593         weight: 50
594       repos:
595         description: 'Please note: the first repository will be considered the operating
596           system mirror that will be used during node provisioning.
597
598           To create a local repository mirror on the Fuel master node, please follow
599           the instructions provided by running "fuel-createmirror --help" on the Fuel
600           master node.
601
602           Please make sure your Fuel master node has Internet access to the repository
603           before attempting to create a mirror.
604
605           For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-6.1/operations.html#external-ubuntu-ops).
606
607           '
608         extra_priority: null
609         type: custom_repo_configuration
610         value:
611         - name: ubuntu
612           priority: 2000
613           section: main
614           suite: trusty
615           type: deb
616           uri: http://10.20.0.2:8080/ubuntu-part
617         - name: ubuntu-updates
618           priority: 2000
619           section: main
620           suite: trusty
621           type: deb
622           uri: http://10.20.0.2:8080/ubuntu-part
623         - name: ubuntu-security
624           priority: 2000
625           section: main
626           suite: trusty
627           type: deb
628           uri: http://10.20.0.2:8080/ubuntu-part
629         - name: mos
630           priority: 2050
631           section: main restricted
632           suite: mos6.1
633           type: deb
634           uri: http://10.20.0.2:8080/2014.2.2-6.1/ubuntu/x86_64
635         - name: mos-updates
636           priority: 2050
637           section: main restricted
638           suite: mos6.1-updates
639           type: deb
640           uri: http://10.20.0.2:8080/mos-ubuntu
641         - name: mos-security
642           priority: 2050
643           section: main restricted
644           suite: mos6.1-security
645           type: deb
646           uri: http://10.20.0.2:8080/mos-ubuntu
647         - name: mos-holdback
648           priority: 2100
649           section: main restricted
650           suite: mos6.1-holdback
651           type: deb
652           uri: http://10.20.0.2:8080/mos-ubuntu
653         - name: Auxiliary
654           priority: 2150
655           section: main restricted
656           suite: auxiliary
657           type: deb
658           uri: http://10.20.0.2:8080/2014.2.2-6.1/ubuntu/auxiliary
659     storage:
660       ephemeral_ceph:
661         description: Configures Nova to store ephemeral volumes in RBD. This works best
662           if Ceph is enabled for volumes and images, too. Enables live migration of
663           all types of Ceph backed VMs (without this option, live migration will only
664           work with VMs launched from Cinder volumes).
665         label: Ceph RBD for ephemeral volumes (Nova)
666         type: checkbox
667         value: true
668         weight: 75
669       images_ceph:
670         description: Configures Glance to use the Ceph RBD backend to store images.
671           If enabled, this option will prevent Swift from installing.
672         label: Ceph RBD for images (Glance)
673         restrictions:
674         - settings:storage.images_vcenter.value == true: Only one Glance backend could
675             be selected.
676         type: checkbox
677         value: true
678         weight: 30
679       images_vcenter:
680         description: Configures Glance to use the vCenter/ESXi backend to store images.
681           If enabled, this option will prevent Swift from installing.
682         label: VMWare vCenter/ESXi datastore for images (Glance)
683         restrictions:
684         - action: hide
685           condition: settings:common.use_vcenter.value != true
686         - condition: settings:storage.images_ceph.value == true
687           message: Only one Glance backend could be selected.
688         type: checkbox
689         value: false
690         weight: 35
691       iser:
692         description: 'High performance block storage: Cinder volumes over iSER protocol
693           (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC, and
694           will use a dedicated virtual function for the storage network.'
695         label: iSER protocol for volumes (Cinder)
696         restrictions:
697         - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value
698           != 'kvm'
699         - action: hide
700           condition: not ('experimental' in version:feature_groups)
701         type: checkbox
702         value: false
703         weight: 11
704       metadata:
705         label: Storage
706         weight: 60
707       objects_ceph:
708         description: Configures RadosGW front end for Ceph RBD. This exposes S3 and
709           Swift API Interfaces. If enabled, this option will prevent Swift from installing.
710         label: Ceph RadosGW for objects (Swift API)
711         restrictions:
712         - settings:storage.images_ceph.value == false
713         type: checkbox
714         value: false
715         weight: 80
716       osd_pool_size:
717         description: Configures the default number of object replicas in Ceph. This
718           number must be equal to or lower than the number of deployed 'Storage - Ceph
719           OSD' nodes.
720         label: Ceph object replication factor
721         regex:
722           error: Invalid number
723           source: ^[1-9]\d*$
724         type: text
725         value: '2'
726         weight: 85
727       volumes_ceph:
728         description: Configures Cinder to store volumes in Ceph RBD images.
729         label: Ceph RBD for volumes (Cinder)
730         restrictions:
731         - settings:storage.volumes_lvm.value == true
732         type: checkbox
733         value: true
734         weight: 20
735       volumes_lvm:
736         description: It is recommended to have at least one Storage - Cinder LVM node.
737         label: Cinder LVM over iSCSI for volumes
738         restrictions:
739         - settings:storage.volumes_ceph.value == true
740         type: checkbox
741         value: false
742         weight: 10
743     syslog:
744       metadata:
745         label: Syslog
746         weight: 50
747       syslog_port:
748         description: Remote syslog port
749         label: Port
750         regex:
751           error: Invalid Syslog port
752           source: ^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$
753         type: text
754         value: '514'
755         weight: 20
756       syslog_server:
757         description: Remote syslog hostname
758         label: Hostname
759         type: text
760         value: ''
761         weight: 10
762       syslog_transport:
763         label: Syslog transport protocol
764         type: radio
765         value: tcp
766         values:
767         - data: udp
768           description: ''
769           label: UDP
770         - data: tcp
771           description: ''
772           label: TCP
773         weight: 30
774     workloads_collector:
775       enabled:
776         type: hidden
777         value: true
778       metadata:
779         label: Workloads Collector User
780         restrictions:
781         - action: hide
782           condition: 'true'
783         weight: 10
784       password:
785         type: password
786         value: pBkLbu1k
787       tenant:
788         type: text
789         value: services
790       user:
791         type: text
792         value: fuel_stats_user