diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-09-15 23:57:41 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-09-16 00:17:49 -0500 |
commit | dfc43c69179c1305be42e524c2bfc357aaf87dfd (patch) | |
tree | f302967341959bdd1a06c5f1db8b9bf4520a1de9 /ci/config_tpl/bundle_tpl/cinder.yaml | |
parent | f375a92d83e9a6d589ff1961e994004afc5d497e (diff) |
modified to accomodate the scaleio bundles and charms.
Change-Id: I1ec22684a67d02c8727cf620cc673aa70cfb0073
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/bundle_tpl/cinder.yaml')
-rw-r--r-- | ci/config_tpl/bundle_tpl/cinder.yaml | 8 |
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 %} |