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:
Kevin Benton 2016-03-08 11:54:25 -08:00
parent 48649d83aa
commit cb7e70497f
1 changed files with 3 additions and 3 deletions

View File

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