summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-23 16:27:20 +0000
committerGerrit Code Review <review@openstack.org>2012-08-23 16:27:20 +0000
commit035967f89af58faf614afa8d09d6cfec092516f6 (patch)
tree8f020b6908a3bec717996ea6a1953de88dc40c22
parent9fecad9e6f7803f3422e7769c01ba3b9076ed308 (diff)
parent7c87f262c9cb19ed452e96c3ce8c2b524f74cb90 (diff)
downloadnova-035967f89af58faf614afa8d09d6cfec092516f6.tar.gz
nova-035967f89af58faf614afa8d09d6cfec092516f6.tar.xz
nova-035967f89af58faf614afa8d09d6cfec092516f6.zip
Merge "continue deleting instance even if quantum port delete fails"
-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):