[ovs-git] [ovn-org/ovn] da5d07: ovn-controller: Fix incremental processing of Port...

Dumitru Ceara noreply at github.com
Mon Aug 31 13:45:52 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: da5d0792c4472a647b61131bd521b7e5298a95b1
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-08-31 (Mon, 31 Aug 2020)

  Changed paths:
    M controller/ovn-controller.c
    M tests/ovn.at

  Log Message:
  ovn-controller: Fix incremental processing of Port_Binding deletes.

If a Port_Binding is deleted from the Southbound DB and the
corresponding OVS interface is also deleted from the OVS DB, and
if both updates are received and processed by ovn-controller in
the same iteration, ovn-controller should process port_binding
delete operations first.

This commit also adds three new unixctl debug commands for
- debug/pause: pause ovn-controller processing, except unixctl commands.
- debug/resume: resume ovn-controller processing.
- debug/status: return the status of the ovn-controller processing.

These new commands are needed by the test for this scenario as without
them we have no way of ensuring predictable results. Users should not
use these commands in production. This is also why the commands are not

CC: Numan Siddique <numans at ovn.org>
Fixes: 6b0f01116bab ("ovn-controller: Handle runtime data changes in flow output engine")
Reported-by: Tim Rozet <trozet at redhat.com>
Reported-at: https://bugzilla.redhat.com/1871961
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

More information about the git mailing list