modified to fix the opencontrail bundle issue for nonha.
[joid.git] / ci / config_tpl / bundle_tpl / cinder.yaml
index 4c41747..82e1873 100644 (file)
@@ -1,7 +1,12 @@
     cinder:
       charm: "local:{{ ubuntu.release }}/cinder"
+{% if opnfv.storage_dict.scaleio is defined %}
+      num_units: 1
+{% else %}
       num_units: {{ unit_qty() }}
+{% endif %}
       options:
+        openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
 {% if os.ha.mode == 'ha' %}
         vip: {{ opnfv.vip.cinder }}
 {% endif %}
         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 %}