Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1188304 - rabbit: more precise iterconsume timeout
rabbit: more precise iterconsume timeout
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: Flavio Percoco
Udi Shkalim
: TestOnly, ZStream
: 1230134 (view as bug list)
Depends On:
Blocks: 1214764
  Show dependency treegraph
 
Reported: 2015-02-02 10:05 EST by John Eckersberg
Modified: 2018-02-08 05:42 EST (History)
11 users (show)

See Also:
Fixed In Version: python-oslo-messaging-1.4.1-4.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, oslo.messaging could enter a loop while waiting for messages, if RabbitMQ had died. This update adds a more precise timeout handling for message consumption, allowing the poll operations on specific connections to end whenever such scenarios occur.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-24 10:48:29 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 161119 None None None Never
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:05:15 EST
There are several ways that oslo.messaging can get hung when trying to reconnect to RabbitMQ.  This upstream change, pending Juno backport, addresses this:

https://review.openstack.org/#/c/143805/

It would be good to get this backport into RHOS-6.0.
Comment 5 Alan Pevec 2015-04-09 05:39:56 EDT
Please use RDO patches branch, I've now rebased it on top of stable/juno:
https://github.com/redhat-openstack/oslo.messaging/commits/juno-patches

Does that include all required patches or we need to cherry-pick something not backported to upstream stable/juno yet?
Comment 6 hguemar 2015-04-09 05:43:36 EDT
@Alan: good enough for me.
Comment 7 Flavio Percoco 2015-04-16 05:29:09 EDT
@Alan, it does provide the patch.

@hguemar, this now needs to be built.

Thank you, both
Comment 19 Udi Shkalim 2015-08-18 09:39:36 EDT
Verified using the following procedure:

 * Start a service that uses oslo.messaging with rabbitmq e.g. nova-compute

 * Stop rabbitmq while tail-F /var/log/nova/nova-compute.log

 * Observe that nova-compute amqp times out and it is trying to reconnect

 * Restart rabbitmq

 * Observe that rabbitmq connection has re-established

Without the fix a reoccurring message in rabbitmq log was showing:
=ERROR REPORT==== 18-Aug-2015::16:15:54 ===
closing AMQP connection <0.792.0> (10.35.160.37:42202 -> 10.35.160.37:5672):
{handshake_timeout,handshake}

Version:
2014.2.3
python-oslo-messaging-1.4.1-5.el7ost.noarch
Comment 20 John Eckersberg 2015-08-18 09:48:57 EDT
(In reply to ushkalim from comment #19)
> Verified using the following procedure:
> 
>  * Start a service that uses oslo.messaging with rabbitmq e.g. nova-compute
> 
>  * Stop rabbitmq while tail-F /var/log/nova/nova-compute.log
> 
>  * Observe that nova-compute amqp times out and it is trying to reconnect
> 
>  * Restart rabbitmq
> 
>  * Observe that rabbitmq connection has re-established
> 
> Without the fix a reoccurring message in rabbitmq log was showing:
> =ERROR REPORT==== 18-Aug-2015::16:15:54 ===
> closing AMQP connection <0.792.0> (10.35.160.37:42202 -> 10.35.160.37:5672):
> {handshake_timeout,handshake}
> 
> Version:
> 2014.2.3
> python-oslo-messaging-1.4.1-5.el7ost.noarch

Awesome news.  I've seen that handshake_timeout before and was wondering what was causing it from the client side.  If this makes that go away, I will be extra happy.
Comment 21 Flavio Percoco 2015-08-19 04:32:14 EDT
*** Bug 1230134 has been marked as a duplicate of this bug. ***
Comment 23 errata-xmlrpc 2015-08-24 10:48:29 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.