[ovs-git] [ovn-org/ovn] 512b88: Add northd and ovn-controller cluster status reset...

Mark Michelson noreply at github.com
Wed Jun 10 19:10:41 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 512b884dea3f85791eca44fd1d92956e8282be6d
  Author: Mark Michelson <mmichels at redhat.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M controller/ovn-controller.8.xml
    M controller/ovn-controller.c
    M northd/ovn-northd.8.xml
    M northd/ovn-northd.c

  Log Message:
  Add northd and ovn-controller cluster status reset commands.

During the course of debugging a clustered DB environment, all members
of the southbound database cluster were destroyed (i.e. the .db files
were removed from disk) and then restarted. Once this happened,
ovn-northd and ovn-controller could not interact with the southbound
database because they both detected all members of the cluster as having
"stale" data. The only course of action was to reset ovn-northd and all
ovn-controllers. It is possible to have this happen with the northbound
database as well if it is clustered.

This patch offers new ovn-appctl commands for ovn-northd and
ovn-controller that allows for it to reset its clustered status. This
allows for it to interact with the database successfully after a cluster
teardown and restart.

Signed-off-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Han Zhou <hzhou at ovn.org>
Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1829109

More information about the git mailing list