Get user id without forking a shell.
[fuel.git] / deploy / scenario / no-ha_nfv-kvm_heat_ceilometer_scenario_0.0.4.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 NO-HA deployment
25    version: 0.0.4
26    created: Mar 18 2016
27    comment: Ceph cannot be assigned to compute, using a seperate node for it
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-qemu
36      module-config-name: fuel-nfvkvm
37      module-config-version: 0.0.2
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   environment:
46     net_segment_type: tun
47   nodes:
48   - id: 1
49     interfaces: interfaces_1
50     role: mongo,controller
51     transformations: transformations_1
52   - id: 2
53     interfaces: interfaces_1
54     role: ceph-osd
55     transformations: transformations_1
56   - id: 3
57     interfaces: interfaces_1
58     role: compute
59     transformations: transformations_1
60   - id: 4
61     interfaces: interfaces_1
62     role: compute
63     transformations: transformations_1
64
65   settings:
66     editable:
67       storage:
68         ephemeral_ceph:
69           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).
70           label: Ceph RBD for ephemeral volumes (Nova)
71           type: checkbox
72           value: false
73           weight: 75
74         images_ceph:
75           description: Configures Glance to use the Ceph RBD backend to store images. If enabled, this option will prevent Swift from installing.
76           label: Ceph RBD for images (Glance)
77           restrictions:
78           - settings:storage.images_vcenter.value == true: Only one Glance backend could be selected.
79           type: checkbox
80           value: false
81           weight: 30
82         images_vcenter:
83           description: Configures Glance to use the vCenter/ESXi backend to store images. If enabled, this option will prevent Swift from installing.
84           label: VMware vCenter/ESXi datastore for images (Glance)
85           restrictions:
86           - action: hide
87             condition: settings:common.use_vcenter.value != true
88           - condition: settings:storage.images_ceph.value == true
89             message: Only one Glance backend could be selected.
90           type: checkbox
91           value: false
92           weight: 35
93         iser:
94           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.'
95           label: iSER protocol for volumes (Cinder)
96           restrictions:
97           - settings:storage.volumes_lvm.value != true or settings:common.libvirt_type.value != 'kvm'
98           - action: hide
99             condition: not ('experimental' in version:feature_groups)
100           type: checkbox
101           value: false
102           weight: 11
103         metadata:
104           group: storage
105           label: Storage Backends
106           weight: 60
107         objects_ceph:
108           description: Configures RadosGW front end for Ceph RBD. This exposes S3 and Swift API Interfaces. If enabled, this option will prevent Swift from installing.
109           label: Ceph RadosGW for objects (Swift API)
110           type: checkbox
111           value: false
112           weight: 80
113         osd_pool_size:
114           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.
115           label: Ceph object replication factor
116           regex:
117             error: Invalid number
118             source: ^[1-9]\d*$
119           type: text
120           value: '1'
121           weight: 85
122         volumes_block_device:
123           description: High performance block device storage. It is recommended to have at least one Storage - Cinder Block Device
124           label: Cinder Block device driver
125           restrictions:
126           - settings:storage.volumes_ceph.value == true
127           type: checkbox
128           value: false
129           weight: 15
130         volumes_ceph:
131           description: Configures Cinder to store volumes in Ceph RBD images.
132           label: Ceph RBD for volumes (Cinder)
133           restrictions:
134           - settings:storage.volumes_lvm.value == true or settings:storage.volumes_block_device.value == true
135           type: checkbox
136           value: true
137           weight: 20
138         volumes_lvm:
139           description: It is recommended to have at least one Storage - Cinder LVM node.
140           label: Cinder LVM over iSCSI for volumes
141           restrictions:
142           - settings:storage.volumes_ceph.value == true
143           type: checkbox
144           value: false
145           weight: 10
146
147 dha-override-config:
148 #  disks:
149 #    contrail: 500G
150
151 ##############################################################################
152 # The verification pipeline may populate the section below with arbitrary
153 # testing information, which post deploy can be retreived from the fuel master:
154 # /root/deploy-config.yaml
155 test: