diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-08 18:28:30 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-08 18:29:21 -0500 |
commit | a32d1f2092a6455edd2f4289f68ab3430f9779dd (patch) | |
tree | e6e8aa29f3ea7d7bafaef57eaaa4028fbea147c0 /ci/config_tpl/bundle_tpl/cinder.yaml | |
parent | ce29674c1a721508004edcd1c412642dfcace882 (diff) |
qtuning the HA mode of cluster to respond for apis.
Change-Id: I070b62f063ec6ecb1ea7501139dfcf1c34593a42
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 | 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 }}" |