From: Ryan Moats Date: Wed, 11 Nov 2015 18:51:21 +0000 (-0600) Subject: Lower l2pop "isn't bound to any segement" log to debug X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=eb09ebc88cd8eb57acdeb39a81674ca7b7a85c5f;p=openstack-build%2Fneutron-build.git 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 --- diff --git a/neutron/plugins/ml2/drivers/l2pop/mech_driver.py b/neutron/plugins/ml2/drivers/l2pop/mech_driver.py index 67d7bcc21..928ca36f2 100644 --- a/neutron/plugins/ml2/drivers/l2pop/mech_driver.py +++ b/neutron/plugins/ml2/drivers/l2pop/mech_driver.py @@ -169,9 +169,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)