From b05038929c469cc5eabafbd75d4c79f1e856cf43 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Fri, 14 Feb 2020 11:44:49 +0100 Subject: [PATCH] CI: Fine tune Galera gmcast.peer_timeout to 15 seconds In some resource-constrained environments, particularly during service bootstrap Galera cluster nodes can experience timeouts in inter-node communication. This change sets the gmcast.peer_timeout based on the galera cluster documentation: https://galeracluster.com/library/documentation/galera-parameters.html We are observing peer timeout issues on some CI runs - therefore raising it to PT15S as in similar Ubuntu charms jobs. Change-Id: Id036e41b62a88bab486c35a5f1fde5cfc2fa4803 --- tests/templates/globals-default.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 664be05b24..2ee9b0af8f 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -19,6 +19,10 @@ docker_custom_config: # in the CI gate. keepalived_virtual_router_id: "{{ 250 | random(1) }}" +# MariaDB/Galera - fine tune gmcast.peer_timeout +mariadb_wsrep_extra_provider_options: + - "gmcast.peer_timeout=PT15S" + enable_openstack_core: "{{ openstack_core_enabled }}" enable_horizon: "{{ dashboard_enabled }}" enable_heat: "{{ openstack_core_tested }}"