Downgrade "device not found" log message
This message is a normal occurence when an agent requests details about a port that was just deleted. It's not a warning condition that the operator can take any action on so this patch downgrades it to debug. Change-Id: I4c19993f03bf4d417bff2d3d45bb40b1b732650d Closes-Bug: #1554696
This commit is contained in:
parent
48649d83aa
commit
cb7e70497f
|
@ -76,9 +76,9 @@ class RpcCallbacks(type_tunnel.TunnelRpcCallbackMixin):
|
|||
host,
|
||||
cached_networks)
|
||||
if not port_context:
|
||||
LOG.warning(_LW("Device %(device)s requested by agent "
|
||||
"%(agent_id)s not found in database"),
|
||||
{'device': device, 'agent_id': agent_id})
|
||||
LOG.debug("Device %(device)s requested by agent "
|
||||
"%(agent_id)s not found in database",
|
||||
{'device': device, 'agent_id': agent_id})
|
||||
return {'device': device}
|
||||
|
||||
segment = port_context.bottom_bound_segment
|
||||
|
|
Loading…
Reference in New Issue