diff options
author | Russell Bryant <rbryant@redhat.com> | 2013-03-01 11:47:40 -0500 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2013-03-02 10:59:08 -0500 |
commit | 386a6fa8c96c1e6be43cc64e51d82a129ba5918f (patch) | |
tree | b193cf55ad63ae410297597c7ec36e2b1a34e53b /openstack/common/rpc/impl_kombu.py | |
parent | c312fd6742c035677347a6987fb17b67e2c72087 (diff) | |
download | oslo-386a6fa8c96c1e6be43cc64e51d82a129ba5918f.tar.gz oslo-386a6fa8c96c1e6be43cc64e51d82a129ba5918f.tar.xz oslo-386a6fa8c96c1e6be43cc64e51d82a129ba5918f.zip |
Don't log a traceback on rpc call timeout.
There are cases where an rpc call is gracefully handled. The rpc
drivers should just let the caller deal with this and decide whether it
is an error worth logging a traceback over. Otherwise, we unnecessarily
raise alarm by leaving a mess in the log file.
Fix bug 1137994.
Change-Id: I0e831ddcc43ffea78aae1fb5e46c5037c461b2a1
Diffstat (limited to 'openstack/common/rpc/impl_kombu.py')
-rw-r--r-- | openstack/common/rpc/impl_kombu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/common/rpc/impl_kombu.py b/openstack/common/rpc/impl_kombu.py index b63edea..aa0a2d5 100644 --- a/openstack/common/rpc/impl_kombu.py +++ b/openstack/common/rpc/impl_kombu.py @@ -624,8 +624,8 @@ class Connection(object): def _error_callback(exc): if isinstance(exc, socket.timeout): - LOG.exception(_('Timed out waiting for RPC response: %s') % - str(exc)) + LOG.debug(_('Timed out waiting for RPC response: %s') % + str(exc)) raise rpc_common.Timeout() else: LOG.exception(_('Failed to consume message from queue: %s') % |