]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Lower l2pop "isn't bound to any segement" log to debug
authorRyan Moats <rmoats@us.ibm.com>
Wed, 11 Nov 2015 18:51:21 +0000 (12:51 -0600)
committerRyan Moats <rmoats@us.ibm.com>
Wed, 11 Nov 2015 18:53:26 +0000 (12:53 -0600)
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 <rmoats@us.ibm.com>
Closes-Bug: 1362242

neutron/plugins/ml2/drivers/l2pop/mech_driver.py

index 67d7bcc21eb4364ed276092568ad87476c2d3cae..928ca36f24a79661d517523d5a9b20dc007833e5 100644 (file)
@@ -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)