Add dkms package into initial pkgs list
[fuel.git] / deploy / scenario / ha_nfv-kvm_heat_ceilometer_scenario.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 ############################################################################### # Description:
11 # This .yaml configuration file defines the configuration of the fuel
12 # deployment and is passed as an argument to deploy.sh
13 # eg. deploy.sh -c https://artifact.opnfv.org/fuel/config
14 # This will make build.sh fetch this configuration file and configure the
15 # deployment accordingly.
16 # After the deployment, a copy of this file gets uploaded to fuel:
17 # /root/deploy-config.yaml, as well as the sha-1 sum of this file:
18 # /root/deploy-config.sha1
19 ##############################################################################
20
21 ##############################################################################
22 # deployment configuration meta-data
23 deployment-scenario-metadata:
24    title: NFV KVM HA deployment
25    version: 0.0.6
26    created: 27.07.2016
27    comment: Ceph cannot be assigned to compute, ceph is collocated with one of the controllers
28
29 ##############################################################################
30 # Stack extentions are opnfv added value features in form of a fuel-plugin
31 # plug-ins listed below will be enabled and configured according to the
32 # <module-config-base-uri>/<module-config-name>_<module-config-version>.yaml
33 # It does so by copying the config file to the local plugin config directory
34 stack-extensions:
35    - module: fuel-plugin-kvm
36      module-config-name: fuel-nfvkvm
37      module-config-version: 1.0.0
38      module-config-override:
39        # Module config overrides
40
41 ##############################################################################
42 # By editing the override-config sections below, you can override arbitrary
43 # configuration name-space settings
44 dea-override-config:
45   nodes:
46   - id: 1
47     interfaces: interfaces_1
48     role: controller,mongo
49   - id: 2
50     interfaces: interfaces_1
51     role: controller
52   - id: 3
53     interfaces: interfaces_1
54     role: controller
55   - id: 4
56     interfaces: interfaces_1
57     role: compute,ceph-osd
58   - id: 5
59     interfaces: interfaces_1
60     role: compute,ceph-osd
61
62   settings:
63     editable:
64       storage:
65         ephemeral_ceph:
66           description: Configures Nova to store ephemeral volumes in RBD. This works best if Ceph is enabled for volumes and images, too. Enables live migration of all types of Ceph backed VMs (without this option, live migration will only work with VMs launched from Cinder volumes).
67           label: Ceph RBD for ephemeral volumes (Nova)
68           type: checkbox
69           value: false
70           weight: 75
71         images_ceph:
72           description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
73           label: Ceph RBD for images (Glance)
74           restrictions:
75           - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
76           type: checkbox
77           value: false
78           weight: 30
79         images_vcenter:
80           description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
81           label: VMware vCenter/ESXi datastore for images (Glance)
82           restrictions:
83           - action: hide
84             condition: settings:common.use_vcenter.value != true
85           - condition: settings:storage.images_ceph.value == true
86             message: Only one Glance backend could be selected.
87           type: checkbox
88           value: false
89           weight: 35
90         iser:
91           description: 'High performance block storage: Cinder volumes over iSER protocol (iSCSI over RDMA). This feature requires SR-IOV capabilities in the NIC, and will use a dedicated virtual function for the storage network.'
92           label: iSER protocol for volumes (Cinder)
93           restrictions:
94           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
95           - action: hide
96             condition: not ('experimental' in version:feature_groups)
97           type: checkbox
98           value: false
99           weight: 11
100         metadata:
101           group: storage
102           label: Storage Backends
103           weight: 60
104         objects_ceph:
105           description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
106           label: Ceph RadosGW for objects (Swift API)
107           type: checkbox
108           value: false
109           weight: 80
110         osd_pool_size:
111           description: Configures the default number of object replicas in Ceph. This number must be equal to or lower than the number of deployed 'Storage - Ceph OSD' nodes.
112           label: Ceph object replication factor
113           regex:
114             error: Invalid number
115             source: ^[1-9]\d*$
116           type: text
117           value: '2'
118           weight: 85
119         volumes_block_device:
120           description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
121           label: Cinder Block device driver
122           restrictions:
123           - settings:storage.volumes_ceph.value == true
124           type: checkbox
125           value: false
126           weight: 15
127         volumes_ceph:
128           description: Configures Cinder to store volumes in Ceph RBD images.
129           label: Ceph RBD for volumes (Cinder)
130           restrictions:
131           - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
132           type: checkbox
133           value: true
134           weight: 20
135         volumes_lvm:
136           description: It is recommended to have at least one Storage - Cinder LVM node.
137           label: Cinder LVM over iSCSI for volumes
138           restrictions:
139           - settings:storage.volumes_ceph.value == true
140           type: checkbox
141           value: false
142           weight: 10
143
144 dha-override-config:
145   nodes:
146   - id: 1
147     libvirtName: controller1
148     libvirtTemplate: templates/virtual_environment/vms/controller.xml
149   - id: 2
150     libvirtName: controller2
151     libvirtTemplate: templates/virtual_environment/vms/controller.xml
152   - id: 3
153     libvirtName: controller3
154     libvirtTemplate: templates/virtual_environment/vms/controller.xml
155   - id: 4
156     libvirtName: compute1
157     libvirtTemplate: templates/virtual_environment/vms/compute.xml
158   - id: 5
159     libvirtName: compute2
160     libvirtTemplate: templates/virtual_environment/vms/compute.xml
161   - id: 6
162     libvirtName: fuel-master
163     libvirtTemplate: templates/virtual_environment/vms/fuel.xml
164     isFuel: yes
165     username: root
166     password: r00tme
167
168
169 ##############################################################################
170 # The verification pipeline may populate the section below with arbitrary
171 # testing information, which post deploy can be retreived from the fuel master:
172 # /root/deploy-config.yaml
173 test: