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 a9dc48f5a4)
This commit is contained in:
Matt Riedemann 2015-10-01 06:55:14 -07:00 committed by Kyle Mestery
parent 83885dee20
commit 08971b0fb6
1 changed files with 1 additions and 1 deletions

View File

@ -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):