Set connect_timeout in mysql
This sets the connect_timeout in mysqld, to work around issues with Heat
losing connection to MySQL in the undercloud under load.
Closes-Bug: #1783995
Change-Id: Ia3799cdaf171892431151e4f2f7d2095081b8242
(cherry picked from commit 98592c2b07)
This commit is contained in:
@@ -242,6 +242,7 @@ tripleo::profile::base::database::mysql::mysql_server_options:
|
||||
'mysqld':
|
||||
bind-address: "%{hiera('controller_host')}"
|
||||
innodb_file_per_table: 'ON'
|
||||
connect_timeout: 60
|
||||
mysql::server::restart: true
|
||||
mysql::server::root_password: {{UNDERCLOUD_DB_PASSWORD}}
|
||||
|
||||
|
||||
6
releasenotes/notes/mysql-timeout-ec1444c45da24a1e.yaml
Normal file
6
releasenotes/notes/mysql-timeout-ec1444c45da24a1e.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Set the connect_timeout to 60s for mysql connections. This helps fix an
|
||||
issue where undercloud services lose the mysql connection if it takes more
|
||||
than 10s to complete (eg under high load).
|
||||
Reference in New Issue
Block a user