MySQL connections via HAProxy should not timeout
authorKiall Mac Innes <kiall@hp.com>
Thu, 21 Aug 2014 18:36:22 +0000 (19:36 +0100)
committerKiall Mac Innes <kiall@hp.com>
Mon, 25 Aug 2014 09:42:08 +0000 (10:42 +0100)
With the default 60 second timeout, many services will periodically
log "MySQL has gone away" as HAProxy has closed the connection.

Change-Id: Ied67344fbabcd77def4483be37a4706190ab28a0

overcloud-source.yaml

index 6b172e7..5e6a2ee 100644 (file)
@@ -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