NSXv3: Clean up logical port for any nsgroup association error
Closes-bug: #1582177 Change-Id: I924c10d93c88f81c74f8ea2751ab1ed711a48a76
This commit is contained in:
parent
16200ab377
commit
069334d75b
|
@ -1025,7 +1025,7 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||
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