8b1ec76321
A new script to remove the duplicated port bindings was added. This script will list all ``ml2_port_bindings`` records in the database, finding those ones with the same port ID. Then the script removes those ones with status=INACTIVE. This script is useful to remove those leftovers that remain in the database after a failed live migration. "dry_run" mode is possible if selected in "[cli_script] dry_run" boolean config option. The duplicated port bindings are printed in the shell but not deleted. Related-Bug: #1979072 Conflicts: neutron/conf/common.py neutron/objects/ports.py setup.cfg Change-Id: I0de5fbb70eb852f82bd311616557985d1ce89bbf (cherry picked from commitc5b76a8393
) (cherry picked from commit3d307ef8f8
)
11 lines
491 B
YAML
11 lines
491 B
YAML
---
|
|
features:
|
|
- |
|
|
A new script to remove the duplicated port bindings was added. This script
|
|
will list all ``ml2_port_bindings`` records in the database, finding those
|
|
ones with the same port ID. Then the script removes those ones with
|
|
status=INACTIVE. This script is useful to remove those leftovers that
|
|
remain in the database after a failed live migration. It is important to
|
|
remark that this script should not be executed during any live migration
|
|
process.
|