disable heat in HA as seeing few failures in running api.
[joid.git] / ci / config_tpl / bundle_tpl / cinder.yaml
index 4c1b862..4c41747 100644 (file)
@@ -2,14 +2,14 @@
       charm: "local:{{ ubuntu.release }}/cinder"
       num_units: {{ unit_qty() }}
       options:
+{% if os.ha.mode == 'ha' %}
+        vip: {{ opnfv.vip.cinder }}
+{% endif %}
 {% if os.beta.public_api %}
         os-public-hostname: api.{{ opnfv.domain }}
 {% endif %}
         block-device: None
         glance-api-version: 2
-{% if os.ha.mode == 'ha' %}
-        vip: {{ opnfv.vip.cinder }}
-{% endif %}
       to:
 {% for unit_id in to_select() %}
         - "lxc:nodes={{ unit_id }}"