From db896c4533cc9bd06cde18208728c98ab0eb4a81 Mon Sep 17 00:00:00 2001 From: Ryan Moats Date: Wed, 11 Nov 2015 12:51:21 -0600 Subject: [PATCH] Lower l2pop "isn't bound to any segement" log to debug Per the discussion in bug 1362242, the log statement doesn't appear to be associated with anything bad happening. Therefore, this patch lowers the log level from WARNING to DEBUG to avoid polluting operator's logs. Change-Id: I55b6d1d30ed2ed55659c9a6809531cfcbc57f17c Signed-off-by: Ryan Moats Closes-Bug: 1362242 (cherry picked from commit eb09ebc88cd8eb57acdeb39a81674ca7b7a85c5f) --- neutron/plugins/ml2/drivers/l2pop/mech_driver.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/neutron/plugins/ml2/drivers/l2pop/mech_driver.py b/neutron/plugins/ml2/drivers/l2pop/mech_driver.py index 6ed294e210a..14dab900f6b 100644 --- a/neutron/plugins/ml2/drivers/l2pop/mech_driver.py +++ b/neutron/plugins/ml2/drivers/l2pop/mech_driver.py @@ -167,9 +167,8 @@ class L2populationMechanismDriver(api.MechanismDriver, segment = context.bottom_bound_segment if not segment: - LOG.warning(_LW("Port %(port)s updated by agent %(agent)s " - "isn't bound to any segment"), - {'port': port['id'], 'agent': agent}) + LOG.debug("Port %(port)s updated by agent %(agent)s isn't bound " + "to any segment", {'port': port['id'], 'agent': agent}) return network_types = self.get_agent_l2pop_network_types(agent)