summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@hp.com>2014-08-21 19:36:22 +0100
committerKiall Mac Innes <kiall@hp.com>2014-08-25 10:42:08 +0100
commit4cc77d768cc9a0ee8b9e9d80615d659e7a2a0239 (patch)
treedab681fc9040dc6b5fc4cc1a4a4eeeb9f537e747
parent316a89f0b4cf9c7b21771947deb5e7ad7bf39453 (diff)
MySQL connections via HAProxy should not timeout
With the default 60 second timeout, many services will periodically log "MySQL has gone away" as HAProxy has closed the connection. Change-Id: Ied67344fbabcd77def4483be37a4706190ab28a0
-rw-r--r--overcloud-source.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 6b172e77..5e6a2eef 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -658,6 +658,9 @@ resources:
port: 3306
extra_server_params:
- backup
+ options:
+ - timeout client 0
+ - timeout server 0
- name: nova_ec2
port: 8773
- name: nova_osapi