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: 1.0.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
50 interfaces: interfaces_1
53 interfaces: interfaces_1
56 interfaces: interfaces_1
57 role: compute,ceph-osd
59 interfaces: interfaces_1
60 role: compute,ceph-osd
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)
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)
75 - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
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)
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.
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)
94 - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
96 condition: not ('experimental' in version:feature_groups)
102 label: Storage Backends
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)
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
114 error: Invalid number
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
123 - settings:storage.volumes_ceph.value == true
128 description: Configures Cinder to store volumes in Ceph RBD images.
129 label: Ceph RBD for volumes (Cinder)
131 - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
136 description: It is recommended to have at least one Storage - Cinder LVM node.
137 label: Cinder LVM over iSCSI for volumes
139 - settings:storage.volumes_ceph.value == true
147 libvirtName: controller1
148 libvirtTemplate: templates/virtual_environment/vms/controller.xml
150 libvirtName: controller2
151 libvirtTemplate: templates/virtual_environment/vms/controller.xml
153 libvirtName: controller3
154 libvirtTemplate: templates/virtual_environment/vms/controller.xml
156 libvirtName: compute1
157 libvirtTemplate: templates/virtual_environment/vms/compute.xml
159 libvirtName: compute2
160 libvirtTemplate: templates/virtual_environment/vms/compute.xml
162 libvirtName: fuel-master
163 libvirtTemplate: templates/virtual_environment/vms/fuel.xml
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