47c6c8ebbf
When a heartbeat is missing we call ensure_connection() that runs a dummy method to trigger the reconnection code in kombu. But also the code is triggered only if the channel is None. In case of the heartbeat threads we didn't reset the channel before reconnecting, so the dummy method doesn't do anything. This change sets the channel to None to ensure the connection is reestablished before the dummy method is run. Also it replaces the dummy method by checking the kombu connection object. So we are sure the connection is reestablished. Closes-bug: #1493890 (cherry picked from commit I39f8cd23c5a5498e6f4c1aa3236ed27f3b5d7c9a) Change-Id: Id98d4054ecbc787e0d44884a9e4c48e3fae803b2 |
||
---|---|---|
doc/source | ||
etc | ||
oslo | ||
oslo.messaging/locale | ||
oslo_messaging | ||
tests | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
amqp1-requirements.txt | ||
babel.cfg | ||
openstack-common.conf | ||
requirements-py3.txt | ||
requirements.txt | ||
setup-test-env-qpid.sh | ||
setup-test-env-rabbit.sh | ||
setup-test-env-zmq.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements-py3.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
Oslo Messaging Library
The Oslo messaging API supports RPC and notifications over a number of different messaging transports.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/oslo.messaging
- Source: http://git.openstack.org/cgit/openstack/oslo.messaging
- Bugs: http://bugs.launchpad.net/oslo.messaging