neutron/doc/source/admin/neutron_linuxbridge.rst
chenxing 2553f2b131 import the networking guide content from openstack-manuals
Change-Id: Ibcedc9389dbea4a5810f2cecf890f6ba9887a07b
2017-06-29 03:09:59 +00:00

1.0 KiB

neutron-linuxbridge-cleanup utility

Description

Automated removal of empty bridges has been disabled to fix a race condition between the Compute (nova) and Networking (neutron) services. Previously, it was possible for a bridge to be deleted during the time when the only instance using it was rebooted.

Usage

Use this script to remove empty bridges on compute nodes by running the following command:

$ neutron-linuxbridge-cleanup

Important

Do not use this tool when creating or migrating an instance as it throws an error when the bridge does not exist.

Note

Using this script can still trigger the original race condition. Only run this script if you have evacuated all instances off a compute node and you want to clean up the bridges. In addition to evacuating all instances, you should fence off the compute node where you are going to run this script so new instances do not get scheduled on it.