NSXv3: Clean up logical port for any nsgroup association error
Closes-bug: #1582177
Change-Id: I924c10d93c88f81c74f8ea2751ab1ed711a48a76
(cherry picked from commit 069334d75b
)
This commit is contained in:
parent
051848e144
commit
94117909b9
|
@ -796,7 +796,7 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
|||
if sgids:
|
||||
security.update_lport_with_security_groups(
|
||||
context, lport['id'], [], sgids)
|
||||
except nsx_exc.SecurityGroupMaximumCapacityReached:
|
||||
except Exception:
|
||||
with excutils.save_and_reraise_exception():
|
||||
LOG.debug("Couldn't associate port %s with "
|
||||
"one or more security-groups, reverting "
|
||||
|
|
Loading…
Reference in New Issue