diff options
Diffstat (limited to 'ci/config_tpl/bundle_tpl/cinder.yaml')
-rw-r--r-- | ci/config_tpl/bundle_tpl/cinder.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ci/config_tpl/bundle_tpl/cinder.yaml b/ci/config_tpl/bundle_tpl/cinder.yaml index 4c1b8623..175c67e4 100644 --- a/ci/config_tpl/bundle_tpl/cinder.yaml +++ b/ci/config_tpl/bundle_tpl/cinder.yaml @@ -2,14 +2,18 @@ charm: "local:{{ ubuntu.release }}/cinder" num_units: {{ unit_qty() }} options: +{% if os.ha.mode == 'ha' %} + haproxy-server-timeout: 10000 + haproxy-client-timeout: 10000 + haproxy-queue-timeout: 10000 + haproxy-connect-timeout: 10000 + 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 }}" |