From 132a0c1fd1eb127e393e5794ffa6d4a3a4950567 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Fri, 22 Mar 2013 13:59:14 -0400 Subject: Don't log traceback on rpc timeout. Don't log a traceback in the rpc layer after a timeout() occurs while waiting on a response to a call(). Let the caller get the exception and decide whether it should be logged or not. Fix bug 1158920. Change-Id: I0387ab48899627cbc3eb1d7187067472ddefc1bf --- nova/openstack/common/rpc/amqp.py | 1 - 1 file changed, 1 deletion(-) (limited to 'nova/openstack') diff --git a/nova/openstack/common/rpc/amqp.py b/nova/openstack/common/rpc/amqp.py index c23e36ec8..cc0098cc3 100644 --- a/nova/openstack/common/rpc/amqp.py +++ b/nova/openstack/common/rpc/amqp.py @@ -495,7 +495,6 @@ class MulticallProxyWaiter(object): data = self._dataqueue.get(timeout=self._timeout) result = self._process_data(data) except queue.Empty: - LOG.exception(_('Timed out waiting for RPC response.')) self.done() raise rpc_common.Timeout() except Exception: -- cgit