[ovs-git] [ovn-org/ovn] 67e2f3: ovn-ctl: Handle cluster db upgrades for run_(nb/sb...
noreply at github.com
Fri Sep 11 11:17:00 UTC 2020
Author: Numan Siddique <numans at ovn.org>
Date: 2020-09-11 (Fri, 11 Sep 2020)
ovn-ctl: Handle cluster db upgrades for run_(nb/sb)_ovsdb
when ovn-ctl run_(nb_sb)_ovsdb is called, the ovsdb-server is started without
passing --detach and --monoitor and the process is exec'd.
For cluster mode, upgrade_cluster is never called and hence the dbs are not upraded
to new schema. CMS has to handle the db upgrade separately.
This patch handles the db upgrade by starting ovsdb-server in background and then
waits on ovsdb-server to complete.
Acked-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
More information about the git