summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Wendlandt <dan@nicira.com>2012-08-22 11:46:07 -0700
committerDan Wendlandt <dan@nicira.com>2012-08-22 11:46:19 -0700
commit7c87f262c9cb19ed452e96c3ce8c2b524f74cb90 (patch)
tree5b9800f3fd0e536fd0a3d309d095c0df27373d45
parente1f774e4328c82d12cd14f9806cb849ef4562653 (diff)
downloadnova-7c87f262c9cb19ed452e96c3ce8c2b524f74cb90.tar.gz
nova-7c87f262c9cb19ed452e96c3ce8c2b524f74cb90.tar.xz
nova-7c87f262c9cb19ed452e96c3ce8c2b524f74cb90.zip
continue deleting instance even if quantum port delete fails
bug 1040385 Change-Id: Idb289437e40c7a1522b3a3f34f6c14ffe420c077
-rw-r--r--nova/network/quantumv2/api.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/nova/network/quantumv2/api.py b/nova/network/quantumv2/api.py
index be288f46e..990af4c37 100644
--- a/nova/network/quantumv2/api.py
+++ b/nova/network/quantumv2/api.py
@@ -144,11 +144,8 @@ class API(base.Base):
try:
quantumv2.get_client(context).delete_port(port['id'])
except Exception as ex:
- with excutils.save_and_reraise_exception():
- msg = _("Fail to delete port %(portid)s with failure:"
- "%(exception)s")
- LOG.debug(msg, {'portid': port['id'],
- 'exception': ex})
+ LOG.exception(_("Failed to delete quantum port %(portid)s ")
+ % {'portid': port['id']})
@refresh_cache
def get_instance_nw_info(self, context, instance, networks=None):