Bug 1599975 - [OSP10] Backport of Suppress excessive debug logs when consume rabbit in oslo-messaging
Summary: [OSP10] Backport of Suppress excessive debug logs when consume rabbit in oslo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-oslo-messaging
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z9
: 10.0 (Newton)
Assignee: Victor Stinner
QA Contact: Udi Shkalim
URL:
Whiteboard:
Depends On:
Blocks: 1600960
TreeView+ depends on / blocked
 
Reported: 2018-07-11 05:04 UTC by Keigo Noha
Modified: 2023-01-13 10:45 UTC (History)
10 users (show)

Fixed In Version: python-oslo-messaging-5.10.2-2.el7ost
Doc Type: Enhancement
Doc Text:
Previously, when an OpenStack service logs at DEBUG level, Oslo Messaging logs the message "Timed out waiting for RPC response" unnecessarily. With this fix, Oslo Messaging no longer logs this message in instances when the timeout is recoverable.
Clone Of:
: 1600960 (view as bug list)
Environment:
Last Closed: 2018-09-17 17:00:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1714558 0 None None None 2018-07-11 05:06:07 UTC
OpenStack gerrit 500210 0 None MERGED Suppress excessive debug logs when consume rabbit 2020-10-28 10:23:15 UTC
Red Hat Issue Tracker OSP-11489 0 None None None 2021-12-10 16:51:42 UTC
Red Hat Product Errata RHBA-2018:2671 0 None None None 2018-09-17 17:01:37 UTC

Description Keigo Noha 2018-07-11 05:04:07 UTC
Description of problem:
If RabbitMQ is used, DEBUG enabled components write excessive time out messages like,
~~~
DEBUG oslo.messaging._drivers.impl_rabbit [-] Timed out waiting for RPC response: timed out _raise_timeout /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py:1049
DEBUG oslo.messaging._drivers.impl_rabbit [-] Timed out waiting for RPC response: Timeout while waiting on RPC response - topic: "<unknown>", RPC method: "<unknown>" info: "<unknown>" _raise_timeout /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py:1049
~~~

Version-Release number of selected component (if applicable):
current python-oslo-messaging

How reproducible:
Always

Steps to Reproduce:
1. Enable DEBUG option in nova, neutron.
2. Restart nova, neutron package.
3. Observe whether the messages is shown.

Actual results:
Too many messages are written to logs.

Expected results:
The message should be surpress.

Additional info:
Upstream LP and gerrit are below.
LP: https://bugs.launchpad.net/oslo.messaging/+bug/1714558
Gerrit: https://review.openstack.org/#/c/500210/

Comment 3 Victor Stinner 2018-07-13 14:09:21 UTC
The package python-oslo-messaging-5.10.2-2.el7ost is now ready for tests!

Comment 11 errata-xmlrpc 2018-09-17 17:00:45 UTC
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://access.redhat.com/errata/RHBA-2018:2671


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