From: Matt Riedemann Date: Thu, 1 Oct 2015 13:55:14 +0000 (-0700) Subject: Do not log an error when deleting a linuxbridge does not exist X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=08971b0fb61170e86319c6801d6b1021d5944e3c;p=openstack-build%2Fneutron-build.git Do not log an error when deleting a linuxbridge does not exist When you're racing to teardown and relying on RPC, it should not be considered an error that a bridge does not exist when you're trying to delete it anyway. This is better served as debug level information. For context, this shows up over 1000 times in successful gate-tempest-dsvm-neutron-linuxbridge job runs in a week so it's probably safe to say it's not contributing to test failures. Closes-Bug: #1501779 Change-Id: I8e9b27e010d033291497f4e660a97bbae92e75b1 (cherry picked from commit a9dc48f5a4616a505824c3e8520c3dce7436f1b1) --- diff --git a/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py b/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py index 5c0949840..028acc290 100644 --- a/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py +++ b/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py @@ -530,7 +530,7 @@ class LinuxBridgeManager(object): LOG.debug("Done deleting bridge %s", bridge_name) else: - LOG.error(_LE("Cannot delete bridge %s, does not exist"), + LOG.debug("Cannot delete bridge %s; it does not exist", bridge_name) def remove_empty_bridges(self):