Merge "NSXv3: Clean up logical port for any nsgroup association error"

This commit is contained in:
Jenkins 2016-05-19 11:23:40 +00:00 committed by Gerrit Code Review
commit 0b89ff385a
1 changed files with 1 additions and 1 deletions

View File

@ -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 "