From 31ab71ac405404b3744f1fd65cfbfec644ebe5bb Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 10 Dec 2024 21:29:16 +0100 Subject: [PATCH] CI: Increase mariadb_monitor_read_only_interval and RMQ timeouts Since we switched to proxysql as default - we've been seeing healthy mariadb nodes being marked as OFFLINE_HARD by proxysql due to timeouts. This seems to fix that. Change-Id: I969db1f2b6c7a7ea821ec51c73e9e9a519febc4c --- tests/templates/globals-default.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 5492d94862..6e35d2abe9 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -145,6 +145,10 @@ cinder_cluster_name: "kolla_ceph" glance_backend_ceph: "yes" cinder_backend_ceph: "yes" nova_backend_ceph: "yes" +# RabbitMQ tuning +rabbitmq_cluster_partition_handling: "autoheal" +rabbitmq_extra_config: + cluster_keepalive_interval: 50000 # Redis for coordination enable_redis: "yes" @@ -261,3 +265,7 @@ enable_skyline: "yes" enable_skyline: "yes" skyline_enable_sso: "yes" {% endif %} + +{% if groups['all'] | length > 1 %} +mariadb_monitor_read_only_interval: "30000" +{% endif %}