From 7c87f262c9cb19ed452e96c3ce8c2b524f74cb90 Mon Sep 17 00:00:00 2001 From: Dan Wendlandt Date: Wed, 22 Aug 2012 11:46:07 -0700 Subject: continue deleting instance even if quantum port delete fails bug 1040385 Change-Id: Idb289437e40c7a1522b3a3f34f6c14ffe420c077 --- nova/network/quantumv2/api.py | 7 ++----- 1 file 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): -- cgit