From 4a279366b9738192a67d1986c85f5cb1449019bc Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 24 Jan 2025 17:31:15 -0600 Subject: [PATCH] add oslo config to designate Signed-off-by: Kevin Carter --- .../designate/designate-helm-overrides.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/base-helm-configs/designate/designate-helm-overrides.yaml b/base-helm-configs/designate/designate-helm-overrides.yaml index 38a49619..a595b3e9 100644 --- a/base-helm-configs/designate/designate-helm-overrides.yaml +++ b/base-helm-configs/designate/designate-helm-overrides.yaml @@ -471,6 +471,31 @@ conf: auth_version: v3 memcache_security_strategy: ENCRYPT service_type: dns + oslo_concurrency: + lock_path: /tmp/designate + oslo_messaging_notifications: + driver: messagingv2 + oslo_messaging_rabbit: + amqp_durable_queues: true + # We define use of quorum queues via kustomize but this was enabling HA queues instead + # ha_queues are deprecated, explicitly set to false and set quorum_queue true + rabbit_ha_queues: false + rabbit_quorum_queue: true + # TODO: Not available until 2024.1, but once it is, we want to enable these! + # new feature ref; https://docs.openstack.org/releasenotes/oslo.messaging/2024.1.html + rabbit_transient_quorum_queue: true + use_queue_manager: true + # Reconnect after a node outage more quickly + rabbit_interval_max: 10 + # Send more frequent heartbeats and fail unhealthy nodes faster + # heartbeat_timeout / heartbeat_rate / 2.0 = 30 / 3 / 2.0 = 5 + # https://opendev.org/openstack/oslo.messaging/commit/36fb5bceabe08a982ebd52e4a8f005cd26fdf6b8 + heartbeat_rate: 3 + heartbeat_timeout_threshold: 30 + # Setting lower kombu_reconnect_delay should resolve isssue with HA failing when one node is down + # https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033314.html + # https://review.opendev.org/c/openstack/oslo.messaging/+/866617 + kombu_reconnect_delay: 0.5 logging: loggers: