[ovs-git] [ovn-org/ovn] 512b88: Add northd and ovn-controller cluster status reset...
noreply at github.com
Wed Jun 10 19:10:41 UTC 2020
Author: Mark Michelson <mmichels at redhat.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
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>
More information about the git