From a32d1f2092a6455edd2f4289f68ab3430f9779dd Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 8 Aug 2016 18:28:30 -0500 Subject: qtuning the HA mode of cluster to respond for apis. Change-Id: I070b62f063ec6ecb1ea7501139dfcf1c34593a42 Signed-off-by: Narinder Gupta --- ci/config_tpl/bundle_tpl/cinder.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ci/config_tpl/bundle_tpl/cinder.yaml') 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 }}" -- cgit 1.2.3-korg