From d699a7e053fc34788a6eecc49d3e49e140b8ecfe Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Tue, 8 Mar 2016 11:54:25 -0800 Subject: [PATCH] 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 (cherry picked from commit cb7e70497f68c295080add6c739743e6ea81e824) --- neutron/plugins/ml2/rpc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neutron/plugins/ml2/rpc.py b/neutron/plugins/ml2/rpc.py index 1764cdf367a..819427db8e1 100644 --- a/neutron/plugins/ml2/rpc.py +++ b/neutron/plugins/ml2/rpc.py @@ -73,9 +73,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