summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/cinder.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/bundle_tpl/cinder.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/cinder.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/cinder.yaml b/ci/config_tpl/bundle_tpl/cinder.yaml
index 4c417472..1d703721 100644
--- a/ci/config_tpl/bundle_tpl/cinder.yaml
+++ b/ci/config_tpl/bundle_tpl/cinder.yaml
@@ -1,6 +1,10 @@
cinder:
charm: "local:{{ ubuntu.release }}/cinder"
+{% if opnfv.storage_dict.scaleio is defined %}
+ num_units: 1
+{% else %}
num_units: {{ unit_qty() }}
+{% endif %}
options:
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.cinder }}
@@ -11,6 +15,10 @@
block-device: None
glance-api-version: 2
to:
+{% if opnfv.storage_dict.scaleio is defined %}
+ - "nodes=0"
+{% else %}
{% for unit_id in to_select() %}
- "lxc:nodes={{ unit_id }}"
{% endfor %}
+{% endif %}