[ovs-git] [ovn-org/ovn] 67e2f3: ovn-ctl: Handle cluster db upgrades for run_(nb/sb...

numansiddique noreply at github.com
Fri Sep 11 11:17:00 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 67e2f386cc838d0b0f9b4b5da7fe611e1113b70c
  Author: Numan Siddique <numans at ovn.org>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M utilities/ovn-ctl

  Log Message:
  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.

Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1868392
Acked-by: Mark Michelson <mmichels at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

More information about the git mailing list