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-kvm
36 module-config-name: fuel-nfvkvm
37 module-config-version: 0.9.0
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
47 interfaces: interfaces_1
48 role: controller,mongo
49 transformations: transformations_1
51 interfaces: interfaces_1
53 transformations: transformations_1
55 interfaces: interfaces_1
57 transformations: transformations_1
59 interfaces: interfaces_1
60 role: compute,ceph-osd
61 transformations: transformations_1
63 interfaces: interfaces_1
64 role: compute,ceph-osd
65 transformations: transformations_1
71 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).
72 label: Ceph RBD for ephemeral volumes (Nova)
77 description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
78 label: Ceph RBD for images (Glance)
80 - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
85 description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
86 label: VMware vCenter/ESXi datastore for images (Glance)
89 condition: settings:common.use_vcenter.value != true
90 - condition: settings:storage.images_ceph.value == true
91 message: Only one Glance backend could be selected.
96 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.'
97 label: iSER protocol for volumes (Cinder)
99 - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
101 condition: not ('experimental' in version:feature_groups)
107 label: Storage Backends
110 description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
111 label: Ceph RadosGW for objects (Swift API)
116 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.
117 label: Ceph object replication factor
119 error: Invalid number
124 volumes_block_device:
125 description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
126 label: Cinder Block device driver
128 - settings:storage.volumes_ceph.value == true
133 description: Configures Cinder to store volumes in Ceph RBD images.
134 label: Ceph RBD for volumes (Cinder)
136 - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
141 description: It is recommended to have at least one Storage - Cinder LVM node.
142 label: Cinder LVM over iSCSI for volumes
144 - settings:storage.volumes_ceph.value == true
152 libvirtName: controller1
153 libvirtTemplate: templates/virtual_environment/vms/controller.xml
155 libvirtName: controller2
156 libvirtTemplate: templates/virtual_environment/vms/controller.xml
158 libvirtName: controller3
159 libvirtTemplate: templates/virtual_environment/vms/controller.xml
161 libvirtName: compute1
162 libvirtTemplate: templates/virtual_environment/vms/compute.xml
164 libvirtName: compute2
165 libvirtTemplate: templates/virtual_environment/vms/compute.xml
167 libvirtName: fuel-master
168 libvirtTemplate: templates/virtual_environment/vms/fuel.xml
174 ##############################################################################
175 # The verification pipeline may populate the section below with arbitrary
176 # testing information, which post deploy can be retreived from the fuel master:
177 # /root/deploy-config.yaml