OpenStack library for messaging
Go to file
Balazs Gibizer 1db6de63a8 Reproduce bug 1917645
The [oslo_messaging_notification]retry parameter is not applied during
connecting to the message bus. But the documentation implies it should[1][2].
The two possible drivers, rabbit and kafka, behaves differently.

1) The rabbit driver will retry the connection forever, blocking the caller
   process.

2) The kafka driver also ignores the retry configuration but the
   notifier call returns immediately even if the notification is not
   (cannot) be delivered.

This patch adds test cases to show the wrong behavior.

[1] https://docs.openstack.org/oslo.messaging/latest/configuration/opts.html#oslo_messaging_notifications.retry
[2] feb72de7b8/oslo_messaging/notify/messaging.py (L31-L36)

Related-Bug: #1917645

Change-Id: Id8557050157aecd3abd75c9114d3fcaecdfc5dc9
2021-11-24 16:01:34 +01:00
doc Correctly handle missing RabbitMQ queues 2021-02-04 09:47:08 +00:00
etc Fix spelling typo in output 2015-09-24 18:11:22 +08:00
oslo_messaging Reproduce bug 1917645 2021-11-24 16:01:34 +01:00
releasenotes Merge "Remove deprecation of heartbeat_in_pthread" 2021-10-21 12:33:29 +00:00
tools Adding pre-commit 2020-09-22 12:35:37 +02: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 Upgrade the pre-commit-hooks version 2021-05-18 11:14:35 +08:00
.stestr.conf Switch to stestr 2018-07-04 08:33:49 +07:00
.zuul.yaml Add Python3 yoga unit tests 2021-09-10 14:35:08 +00:00
babel.cfg Setup for translation 2014-06-05 22:48:44 +02:00
bindep.txt Merge "bindep: Add 'librdkafka-dev' dependency" 2021-04-16 13:11:15 +00: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 setup.cfg: Replace dashes with underscores 2021-05-13 20:29:03 +08:00
setup.py remove outdated header 2020-02-10 18:33:15 +01:00
test-requirements.txt Adding pre-commit 2020-09-22 12:35:37 +02:00
tox.ini Changed minversion in tox to 3.18.0 2021-06-07 16:58:52 +08: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.