Merge "Set connect_timeout in mysql"
This commit is contained in:
commit
be5fa9744f
|
@ -240,6 +240,7 @@ tripleo::profile::base::database::mysql::mysql_server_options:
|
||||||
'mysqld':
|
'mysqld':
|
||||||
bind-address: "%{hiera('controller_host')}"
|
bind-address: "%{hiera('controller_host')}"
|
||||||
innodb_file_per_table: 'ON'
|
innodb_file_per_table: 'ON'
|
||||||
|
connect_timeout: 60
|
||||||
mysql::server::restart: true
|
mysql::server::restart: true
|
||||||
mysql::server::root_password: {{UNDERCLOUD_DB_PASSWORD}}
|
mysql::server::root_password: {{UNDERCLOUD_DB_PASSWORD}}
|
||||||
|
|
||||||
|
|
|
@ -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).
|
Loading…
Reference in New Issue