reduce idle connect timeout both on haproxy and services 15/4815/3
authorcarey.xu <carey.xuhan@huawei.com>
Fri, 18 Dec 2015 03:48:25 +0000 (11:48 +0800)
committercarey xu <carey.xuhan@huawei.com>
Thu, 24 Dec 2015 02:09:18 +0000 (02:09 +0000)
JIRA: COMPASS-175

Change-Id: I2b500a6814f39a675d5b7f277bc19688ef33a957
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml
deploy/adapters/ansible/roles/heat/templates/heat.j2

index 49a34da..5c04756 100644 (file)
@@ -9,6 +9,7 @@
 
 - name: install ceph for every nodes includes jumpserver
   shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy install {{ ceph_cluster_hosts.stdout_lines[0]}}
+  ignore_errors: true
 
 - name: create monitor node in controller group
   shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --overwrite-conf mon create-initial
index 67beb1c..aec6b2e 100644 (file)
@@ -9,6 +9,9 @@ log_dir = /var/log/heat
 
 [database]
 connection = mysql://heat:{{ HEAT_DBPASS }}@{{ db_host }}/heat
+idle_timeout = 30
+use_db_reconnect = True
+pool_timeout = 10
 
 [ec2authtoken]
 auth_uri = http://{{ internal_vip.ip }}:5000/v2.0