From a9dc48f5a4616a505824c3e8520c3dce7436f1b1 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 1 Oct 2015 06:55:14 -0700 Subject: [PATCH] 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 --- .../ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2