summaryrefslogtreecommitdiffstats
path: root/ci/ansible/group_vars/osdsdock.yml
blob: e23a54642af34a7abd74c6e5b78c5ffa1160b37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright (c) 2018 Huawei Technologies Co., Ltd. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
# Dummy variable to avoid error because ansible does not recognize the
# file as a good configuration file when no variable in it.
dummy:


###########
# GENERAL #
###########

# Change it according to your backend, currently support 'lvm', 'ceph', 'cinder'
enabled_backend: lvm
# Change it according to your node type (host or target), currently support
# 'provisioner', 'attacher'
dock_type: provisioner

# These fields are NOT suggested to be modified
dock_endpoint: localhost:50050
dock_log_file: "{{ opensds_log_dir }}/osdsdock.log"


###########
#   LVM   #
###########


# These fields are NOT suggested to be modified
lvm_name: lvm backend
lvm_description: This is a lvm backend service
lvm_driver_name: lvm
lvm_config_path: "{{ opensds_driver_config_dir }}/lvm.yaml"
opensds_volume_group: opensds-volumes



###########
#  CEPH   #
###########

ceph_pools: # Specify pool name randomly
  - rbd
  #- ssd
  #- sas

# These fields are NOT suggested to be modified
ceph_name: ceph backend
ceph_description: This is a ceph backend service
ceph_driver_name: ceph
ceph_config_path: "{{ opensds_driver_config_dir }}/ceph.yaml"


###########
# CINDER  #
###########

# Use block-box install cinder_standalone if true, see details in:
# https://github.com/openstack/cinder/tree/master/contrib/block-box
use_cinder_standalone: true
# If true, you can configure cinder_container_platform,  cinder_image_tag,
# cinder_volume_group.

# Default: debian:stretch, and ubuntu:xenial, centos:7 is also supported.
cinder_container_platform: debian:stretch
# The image tag can be arbitrarily modified, as long as follow the image naming
# conventions, default: debian-cinder
cinder_image_tag: debian-cinder
# The cinder standalone use lvm driver as default driver, therefore `volume_group`
# should be configured, the default is: cinder-volumes. The volume group will be
# removed when use ansible script clean environment.
cinder_volume_group: cinder-volumes
# All source code and volume group file will be placed in the cinder_data_dir:
cinder_data_dir: "/opt/cinder_data_dir"

# These fields are NOT suggested to be modified
cinder_name: cinder backend
cinder_description: This is a cinder backend service
cinder_driver_name: cinder
cinder_config_path: "{{ opensds_driver_config_dir }}/cinder.yaml"