Removal of empty bridges have been disabled [1] to fix a race condition
between Nova and Neutron where a bridge would be removed if
the only instance using it is rebooted. This means empty bridges
will pile up over time.
This script can be used to periodically remove empty bridges by running it
on compute nodes.
Note: Usage of this script can still trigger the original race condition.
It should be used when you don't expect anyone do be doing operations
on their instances.
Reviewed: https:/ /review. openstack. org/221508 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=27f60c314bc 9de5d81571de143 7f93ca232f1382
Committed: https:/
Submitter: Jenkins
Branch: master
commit 27f60c314bc9de5 d81571de1437f93 ca232f1382
Author: Mathieu Gagné <email address hidden>
Date: Tue Sep 8 17:07:07 2015 -0400
Add neutron- linuxbridge- cleanup util
Removal of empty bridges have been disabled [1] to fix a race condition
between Nova and Neutron where a bridge would be removed if
the only instance using it is rebooted. This means empty bridges
will pile up over time.
This script can be used to periodically remove empty bridges by running it
on compute nodes.
Note: Usage of this script can still trigger the original race condition.
It should be used when you don't expect anyone do be doing operations
on their instances.
[1] Commit 8dd8a7d93564168 b98fa2350eedf56 acede42b0f
DocImpact: Add neutron- linuxbridge- cleanup util 295abf361ce483d 979a53d2bd6
Related-bug: #1328546
Closes-bug: #1497027
Co-Authored-By: Cedric Brandily <email address hidden>
Change-Id: Ieb2796381579ad