OpenStack library for messaging
Go to file
Arnaud Morin 8e3c523fd7 Auto-delete the failed quorum rabbit queues
When rabbit is failing for a specific quorum queue, the only thing to
do is to delete the queue (as per rabbit doc, see [1]).

So, to avoid the RPC service to be broken until an operator eventually
do a manual fix on it, catch any INTERNAL ERROR (code 541) and trigger
the deletion of the failed queues under those conditions.
So on next queue declare (triggered from various retries), the queue
will be created again and the service will recover by itself.

Closes-Bug: #2028384
Related-bug: #2031497

[1] https://www.rabbitmq.com/quorum-queues.html#availability

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Change-Id: Ib8dba833542973091a4e0bf23bb593aca89c5905
2023-11-12 00:08:20 +01:00
doc Fix typo in quorum-related variables for RabbitMQ 2023-02-14 15:20:00 +00:00
etc Fix spelling typo in output 2015-09-24 18:11:22 +08:00
oslo_messaging Auto-delete the failed quorum rabbit queues 2023-11-12 00:08:20 +01:00
releasenotes Auto-delete the failed quorum rabbit queues 2023-11-12 00:08:20 +01:00
tools Merge "Deprecate the amqp1 driver and Remove qpid functional tests" 2023-08-13 10:36:35 +00:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:20:09 +05:30
.gitignore Ignore releasenote cache within git untracked files 2019-12-18 17:03:10 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:51 +00:00
.pre-commit-config.yaml update hacking pin to support flake8 3.8.3 2022-05-23 14:39:56 +00:00
.stestr.conf Switch to stestr 2018-07-04 08:33:49 +07:00
.zuul.yaml Move integration jobs to Ubuntu 22.04 (Jammy) 2023-10-13 17:31:11 +09:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
bindep.txt Move integration jobs to Ubuntu 22.04 (Jammy) 2023-10-13 17:31:11 +09:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:25:31 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:54:02 +08:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:31:26 +08:00
requirements.txt Add Support For oslo.metrics 2021-06-08 22:22:37 +08:00
setup.cfg Drop python3.6/3.7 support in testing runtime 2022-05-05 16:06:49 +02:00
setup.py remove outdated header 2020-02-10 18:33:15 +01:00
test-requirements.txt Bump bandit and make oslo.messaging compatible with latest rules 2023-05-17 11:06:34 +02:00
tox.ini Move integration jobs to Ubuntu 22.04 (Jammy) 2023-10-13 17:31:11 +09:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.