NSX|V remove warning on no dhcp edge
When deleting a network, the plugin delets the rotuer binding entry before deleting the dhcp port. So we should not log a warning about not finding the dhcp edge. Change-Id: I7a58a6789d59055ce1782c987bd359756b8bc16b
This commit is contained in:
parent
fb9f324039
commit
3b0f140c0a
@ -1861,9 +1861,9 @@ class EdgeManager(object):
|
|||||||
{'edge_id': edge_id,
|
{'edge_id': edge_id,
|
||||||
'port_id': port_id})
|
'port_id': port_id})
|
||||||
else:
|
else:
|
||||||
LOG.warning("Failed to find edge_id to delete dhcp "
|
# This happens during network/subnet deletion
|
||||||
"binding for port %(port_id)s",
|
LOG.info("Didn't delete dhcp binding for port %(port_id)s: "
|
||||||
{'port_id': port_id})
|
"No edge id", {'port_id': port_id})
|
||||||
|
|
||||||
@vcns.retry_upon_exception(nsxapi_exc.VcnsApiException, max_delay=10)
|
@vcns.retry_upon_exception(nsxapi_exc.VcnsApiException, max_delay=10)
|
||||||
def _create_dhcp_binding(self, context, edge_id, binding):
|
def _create_dhcp_binding(self, context, edge_id, binding):
|
||||||
|
Loading…
Reference in New Issue
Block a user