diff options
author | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | 2022-07-07 06:31:22 +0000 |
---|---|---|
committer | Rodolfo Alonso <ralonsoh@redhat.com> | 2022-08-18 08:13:56 +0000 |
commit | c5b76a8393a21adb87447c925da2ede4a75dd11a (patch) | |
tree | a2d96c19b689c6df3f0133c00eea8d4d1d080f4e /releasenotes | |
parent | 8ab5ee1d174388c9ae31f083ec656f6f95adcc14 (diff) | |
download | neutron-c5b76a8393a21adb87447c925da2ede4a75dd11a.tar.gz |
Script to remove duplicated port bindings
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
Change-Id: I0de5fbb70eb852f82bd311616557985d1ce89bbf
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/remove-duplicated-port-bindings-83b58060f3adb403.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/releasenotes/notes/remove-duplicated-port-bindings-83b58060f3adb403.yaml b/releasenotes/notes/remove-duplicated-port-bindings-83b58060f3adb403.yaml new file mode 100644 index 0000000000..34f101ac8a --- /dev/null +++ b/releasenotes/notes/remove-duplicated-port-bindings-83b58060f3adb403.yaml @@ -0,0 +1,10 @@ +--- +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. |