Hervé Beraud 661bdd7f41 Drop a python 2 exception management
Previously (when python 2 was supported) we introduced some specific
exception management to detect connections issues when a rabbitmq
cluster node disappearing.

The original issue was that a ConnectionRefusedError is thrown and not
managed by oslo.messaging to detect heartbeat issue and call ensure_connection
for switching the connection destination (cluster node).

`ConnectionRefusedError` is only a python 3 exception [2].

Now that we only support python 3 we don't need to continue to
wrap/emulate this kind of exceptions (ConnectionRefusedError) [2] and
so we can drop the python 2 compatibility code to only support python 3 code.

[1] 9d8b1430e5
[2] https://docs.python.org/3/library/exceptions.html#ConnectionRefusedError

Change-Id: I4c459d8c947dac213a1866c0d37e8f3d547aa82e
2020-06-18 13:25:24 +02:00
2020-06-04 15:27:58 +08:00
2015-09-24 18:11:22 +08:00
2019-12-02 07:54:34 -05:00
2020-05-11 10:21:58 +02:00
2019-04-19 19:31:51 +00:00
2018-07-04 08:33:49 +07:00
2020-04-14 10:15:32 +00:00
2014-06-05 22:48:44 +02:00
2017-04-08 22:39:02 +08:00
2020-05-11 10:21:58 +02:00
2020-04-24 08:23:12 -05:00
2020-02-10 18:33:15 +01:00
2020-05-11 10:21:58 +02: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.

Description
OpenStack library for messaging
Readme 36 MiB
Languages
Python 99.8%
Shell 0.2%