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 ##############################################################################
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 ##############################################################################
21 ##############################################################################
22 # deployment configuration meta-data
23 deployment-scenario-metadata:
24 title: NFV KVM HA deployment
27 comment: Ceph cannot be assigned to compute, ceph is collocated with one of the controllers
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
35 - module: fuel-plugin-qemu
36 module-config-name: fuel-nfvkvm
37 module-config-version: 0.0.2
38 module-config-override:
39 # Module config overrides
41 ##############################################################################
42 # By editing the override-config sections below, you can override arbitrary
43 # configuration name-space settings
49 interfaces: interfaces_1
50 role: mongo,controller
51 transformations: transformations_1
53 interfaces: interfaces_1
54 role: controller,ceph-osd
55 transformations: transformations_1
57 interfaces: interfaces_1
59 transformations: transformations_1
61 interfaces: interfaces_1
63 transformations: transformations_1
65 interfaces: interfaces_1
67 transformations: transformations_1
73 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).
74 label: Ceph RBD for ephemeral volumes (Nova)
79 description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
80 label: Ceph RBD for images (Glance)
82 - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
87 description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
88 label: VMware vCenter/ESXi datastore for images (Glance)
91 condition: settings:common.use_vcenter.value != true
92 - condition: settings:storage.images_ceph.value == true
93 message: Only one Glance backend could be selected.
98 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.'
99 label: iSER protocol for volumes (Cinder)
101 - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
103 condition: not ('experimental' in version:feature_groups)
109 label: Storage Backends
112 description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
113 label: Ceph RadosGW for objects (Swift API)
118 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.
119 label: Ceph object replication factor
121 error: Invalid number
126 volumes_block_device:
127 description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
128 label: Cinder Block device driver
130 - settings:storage.volumes_ceph.value == true
135 description: Configures Cinder to store volumes in Ceph RBD images.
136 label: Ceph RBD for volumes (Cinder)
138 - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
143 description: It is recommended to have at least one Storage - Cinder LVM node.
144 label: Cinder LVM over iSCSI for volumes
146 - settings:storage.volumes_ceph.value == true
154 libvirtName: controller1
155 libvirtTemplate: templates/virtual_environment/vms/controller.xml
157 libvirtName: controller2
158 libvirtTemplate: templates/virtual_environment/vms/controller.xml
160 libvirtName: controller3
161 libvirtTemplate: templates/virtual_environment/vms/controller.xml
163 libvirtName: compute1
164 libvirtTemplate: templates/virtual_environment/vms/compute.xml
166 libvirtName: compute2
167 libvirtTemplate: templates/virtual_environment/vms/compute.xml
169 libvirtName: fuel-master
170 libvirtTemplate: templates/virtual_environment/vms/fuel.xml
176 ##############################################################################
177 # The verification pipeline may populate the section below with arbitrary
178 # testing information, which post deploy can be retreived from the fuel master:
179 # /root/deploy-config.yaml