From 23e961e8b325f2f87bc041a00c0f94144553111b Mon Sep 17 00:00:00 2001
From: Michal Nasiadka <mnasiadka@gmail.com>
Date: Wed, 13 Mar 2024 11:16:26 +0100
Subject: [PATCH] CI: Increase galera node timeouts

Some multinode jobs have been failing due to galera suspecting inactive nodes
Tweak it as per [1].

[1]: https://galeracluster.com/library/documentation/recovery.html

Change-Id: I5577ea2c23d6dbd440bd52899a30ea9531996256
---
 tests/templates/globals-default.j2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2
index 3ef8d0a222..1c95ccd66c 100644
--- a/tests/templates/globals-default.j2
+++ b/tests/templates/globals-default.j2
@@ -50,9 +50,12 @@ docker_custom_config:
 distro_python_version: "{{ kolla_python_version }}"
 {% endif %}
 
-# MariaDB/Galera - fine tune gmcast.peer_timeout
+# MariaDB/Galera - fine tune timeouts
 mariadb_wsrep_extra_provider_options:
   - "gmcast.peer_timeout=PT15S"
+  - "evs.suspect_timeout=PT10S"
+  - "evs.inactive_timeout=PT30S"
+  - "evs.keepalive_period=PT3S"
 
 nova_compute_virt_type: "{{ virt_type }}"