Skip to content

Commit

Permalink
Fix flows not removed in ha migration
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
  • Loading branch information
simonartxavier authored and dceara committed Nov 17, 2023
1 parent c81c305 commit 4848bbc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions controller/binding.c
Original file line number Diff line number Diff line change
Expand Up @@ -1840,8 +1840,10 @@ consider_nonvif_lport_(const struct sbrec_port_binding *pb,
b_ctx_out->postponed_ports);
}

if (pb->chassis == b_ctx_in->chassis_rec ||
is_additional_chassis(pb, b_ctx_in->chassis_rec)) {
if (pb->chassis == b_ctx_in->chassis_rec
|| is_additional_chassis(pb, b_ctx_in->chassis_rec)
|| if_status_is_port_claimed(b_ctx_out->if_mgr,
pb->logical_port)) {
return release_lport(pb, b_ctx_in->chassis_rec,
!b_ctx_in->ovnsb_idl_txn,
b_ctx_out->tracked_dp_bindings,
Expand Down

0 comments on commit 4848bbc

Please sign in to comment.