diff --git a/vmware_nsx/plugins/nsx_v3/plugin.py b/vmware_nsx/plugins/nsx_v3/plugin.py index 56f672fd1e..d120aad74c 100644 --- a/vmware_nsx/plugins/nsx_v3/plugin.py +++ b/vmware_nsx/plugins/nsx_v3/plugin.py @@ -1190,7 +1190,12 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin, if self._has_single_dhcp_enabled_subnet(context, network): super(NsxV3Plugin, self).delete_subnet( context, subnet_id) - self._disable_native_dhcp(context, network['id']) + try: + self._disable_native_dhcp(context, network['id']) + except Exception as e: + LOG.error(_LE("Failed to disable native DHCP for" + "network %(id)s. Exception: %(e)s"), + {'id': network['id'], 'e': e}) return super(NsxV3Plugin, self).delete_subnet(context, subnet_id)