summaryrefslogtreecommitdiffstats
path: root/nova/rpc.py
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2011-03-20 22:58:49 +0000
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2011-03-20 22:58:49 +0000
commitc7c3fe85186862d9d8989ebe01ad69e6cdaa4ee3 (patch)
tree07671f778c7901e95531ac0bd75ebcdcb2284b1d /nova/rpc.py
parent645bc7a7dea6ba01d76589632200636e243641ec (diff)
downloadnova-c7c3fe85186862d9d8989ebe01ad69e6cdaa4ee3.tar.gz
nova-c7c3fe85186862d9d8989ebe01ad69e6cdaa4ee3.tar.xz
nova-c7c3fe85186862d9d8989ebe01ad69e6cdaa4ee3.zip
No reason to dump a stack trace just because we can't reach the AMQP servire; it ends up being just noise
Diffstat (limited to 'nova/rpc.py')
-rw-r--r--nova/rpc.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/rpc.py b/nova/rpc.py
index 205bb524a..089bf99c1 100644
--- a/nova/rpc.py
+++ b/nova/rpc.py
@@ -95,14 +95,14 @@ class Consumer(messaging.Consumer):
fl_host = FLAGS.rabbit_host
fl_port = FLAGS.rabbit_port
fl_intv = FLAGS.rabbit_retry_interval
- LOG.exception(_("AMQP server on %(fl_host)s:%(fl_port)d is"
+ LOG.error(_("AMQP server on %(fl_host)s:%(fl_port)d is"
" unreachable. Trying again in %(fl_intv)d seconds.")
% locals())
self.failed_connection = True
if self.failed_connection:
- LOG.exception(_("Unable to connect to AMQP server "
- "after %d tries. Shutting down."),
- FLAGS.rabbit_max_retries)
+ LOG.error(_("Unable to connect to AMQP server "
+ "after %d tries. Shutting down."),
+ FLAGS.rabbit_max_retries)
sys.exit(1)
def fetch(self, no_ack=None, auto_ack=None, enable_callbacks=False):