Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1188309 - Declare DirectPublisher exchanges with passive=True
Declare DirectPublisher exchanges with passive=True
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-oslo-messaging (Show other bugs)
6.0 (Juno)
Unspecified Unspecified
unspecified Severity high
: ---
: 6.0 (Juno)
Assigned To: hguemar
Udi Shkalim
: TestOnly, Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-02 10:08 EST by John Eckersberg
Modified: 2016-12-02 11:02 EST (History)
12 users (show)

See Also:
Fixed In Version: python-oslo-messaging-1.4.1-5.el7ost
Doc Type: Bug Fix
Doc Text:
This update addresses potential race conditions involving the 'oslo' messaging backend used in RabbitMQ.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-24 10:48:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bug_1338732_script_resaults (348.65 KB, text/plain)
2015-08-18 10:49 EDT, Udi Shkalim
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1659 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Bug Fix and Enhancement Advisory 2015-08-24 14:47:56 EDT

  None (edit)
Description John Eckersberg 2015-02-02 10:08:59 EST
From upstream change, https://review.openstack.org/#/c/109373/

"If rabbit dies, the consumer can be disconnected before the publisher
sends, and if the consumer hasn't declared the queue, the publisher's
will send a message to an exchange that's not bound to a queue, and
the message wll be lost.  Setting passive=True will cause the
publisher to fail and retry if the consumer hasn't declared the
receiving queue yet."

This change addresses this race condition.  It would be good to have it backported for RHOS-6.0.
Comment 7 Udi Shkalim 2015-08-18 10:49:28 EDT
Created attachment 1064343 [details]
bug_1338732_script_resaults
Comment 8 Udi Shkalim 2015-08-18 10:55:34 EDT
Verified.

Running the script from bug https://bugs.launchpad.net/oslo.messaging/+bug/1338732 before the fix got the same results (bug reproduced)

Running on the new version:
2014.2.3
python-oslo-messaging-1.4.1-5.el7ost.noarch

Script results changed (see attached).

Fix is also related to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1188304
Which also verified.
Comment 10 errata-xmlrpc 2015-08-24 10:48:33 EDT
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.

https://rhn.redhat.com/errata/RHBA-2015-1659.html

Note You need to log in before you can comment on or make changes to this bug.