oslo.messaging/oslo_messaging
shenjiatong e05bb37ae2 Catch ConnectionForced Exception
Occasionally I saw large number of connectionforced exceptions.
such exceptions cannot be healed automatically and requires a reboot.
catch it and ensure connection established.

Changes:
  oslo_messaging/_drivers/impl_rabbit.py

NOTE(stephenfin): We need to add the 'absolute_import' future to disable
the legacy import flow. Without this, the import of 'amqp.exceptions' in
'oslo_messaging._drivers.impl_rabbit' attempts to import 'exceptions'
from the sibling module, 'oslo_messaging._drivers.amqp', instead of the
top-level 'amqp' module. Thank God for Python 3.x, eh? More information
is available at [1], for those curious enough.

NOTE(hberaud): conflicts within the cherry-pick on stable/stein due to
removed log translation and i18n on stable/train [2]. I decided to ignore this
patch [2] for stable/stein first to prepare cherry-picking on previous stable
branches (rocky, queens) and secondly because I don't think we want it
on older branches.

[1] https://stackoverflow.com/q/33743880/
[2]
4f385720d7

Change-Id: I5c468d10230f05438df780e045f1e92662edf070
Closes-Bug: #1883038
(cherry picked from commit 26e8bb4cc9)
(cherry picked from commit 360deb89a7)
(cherry picked from commit 54ced5361b)
2021-09-03 09:07:55 +02:00
..
_drivers Catch ConnectionForced Exception 2021-09-03 09:07:55 +02:00
hacking Update hacking version 2019-01-21 19:45:42 -05:00
notify Remove transport aliases support 2018-07-05 15:58:05 +10:00
rpc Update hacking version 2019-01-21 19:45:42 -05:00
tests Update hacking version 2019-01-21 19:45:42 -05:00
__init__.py Remove deprecated localcontext 2016-05-18 09:28:15 +02:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 22:54:02 +08:00
_utils.py Use method fetch_current_thread_functor from oslo.utils 2016-09-24 15:22:44 +08:00
conffixture.py Update hacking version 2019-01-21 19:45:42 -05:00
dispatcher.py Remove useless logging import statements 2016-11-08 10:11:13 +08:00
exceptions.py Update hacking version 2019-01-21 19:45:42 -05:00
opts.py Update hacking version 2019-01-21 19:45:42 -05:00
serializer.py Update hacking version 2019-01-21 19:45:42 -05:00
server.py Update hacking version 2019-01-21 19:45:42 -05:00
target.py Fixups to the inline documentation 2016-09-12 09:49:00 -04:00
transport.py Update hacking version 2019-01-21 19:45:42 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00