Red Hat Bugzilla – Bug 1054249
Thread consuming qpid messages can die silently
Last modified: 2016-04-26 15:30:55 EDT
+++ This bug was initially created as a clone of Bug #1050214 +++ +++ This bug was initially created as a clone of Bug #1050213 +++ The code for receiving and processing qpid messages runs in its own greenthread. Unfortunately, there is a code path that if it raises an exception, the greenthread will die silently, without any entry in the log file. In particular, the code in question is: https://git.openstack.org/cgit/openstack/nova/tree/nova/openstack/common/rpc/impl_qpid.py?h=stable/grizzly#n468 if self.session.next_receiver() raises an exception other than qpid's Empty or ConnectionError exceptions, the thread will die and no more messages will be received. The fix is to backport the portion of the following change that applies to impl_qpid. That includes the new decorator in excutils and the change to impl_qpid.py. --- Additional comment from Russell Bryant on 2014-01-08 16:12:17 EST --- The change that needs to be backported is: https://review.openstack.org/#/c/32235/13 I also attached a version of the backport for nova to bug 1050213 This is also needed in RHOS 4.0 for Neutron.
Verified on Havana with : Version-Release number of selected component (if applicable): ------------------------------------------------------------- puddle: 2014-01-16.1 python-qpid-0.14-11.el6_3.noarch qpid-cpp-client-0.14-22.el6_3.x86_64 qpid-cpp-server-0.14-22.el6_3.x86_64 openstack-neutron-openvswitch-2013.2.1-4.el6ost.noarch python-neutronclient-2.3.1-2.el6ost.noarch python-neutron-2013.2.1-4.el6ost.noarch openstack-neutron-2013.2.1-4.el6ost.noarch Results: -------- Code is implemented. (Not being verified functionality)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2014-0091.html