summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/service.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/openstack/common/service.py b/openstack/common/service.py
index 36cf300..d5c5604 100644
--- a/openstack/common/service.py
+++ b/openstack/common/service.py
@@ -116,7 +116,11 @@ class ServiceLauncher(Launcher):
finally:
self.stop()
if rpc:
- rpc.cleanup()
+ try:
+ rpc.cleanup()
+ except Exception:
+ # We're shutting down, so it doesn't matter at this point.
+ LOG.exception(_('Exception during rpc cleanup.'))
return status