summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'nova/openstack')
-rw-r--r--nova/openstack/common/rpc/impl_qpid.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/nova/openstack/common/rpc/impl_qpid.py b/nova/openstack/common/rpc/impl_qpid.py
index 2863f23a5..efcc52264 100644
--- a/nova/openstack/common/rpc/impl_qpid.py
+++ b/nova/openstack/common/rpc/impl_qpid.py
@@ -384,7 +384,13 @@ class Connection(object):
"""Close/release this connection"""
self.cancel_consumer_thread()
self.wait_on_proxy_callbacks()
- self.connection.close()
+ try:
+ self.connection.close()
+ except Exception:
+ # NOTE(dripton) Logging exceptions that happen during cleanup just
+ # causes confusion; there's really nothing useful we can do with
+ # them.
+ pass
self.connection = None
def reset(self):