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

Dumitru Ceara noreply at github.com
Mon Aug 31 14:09:19 UTC 2020


  Branch: refs/heads/branch-20.06
  Home:   https://github.com/ovn-org/ovn
  Commit: d2de07a627721ef443d8929fe04eb888c5086e98
      https://github.com/ovn-org/ovn/commit/d2de07a627721ef443d8929fe04eb888c5086e98
  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
ovn-controller:
- 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
documented.

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>

(cherry-picked from master commit da5d0792c4472a647b61131bd521b7e5298a95b1)

Conflicts:
	controller/ovn-controller.c




More information about the git mailing list