[ovs-git] [ovn-org/ovn] d7db87: ovn-lib: harmonize stop_ovn_daemon() with ovs-lib

Dan Williams noreply at github.com
Wed Apr 21 10:11:44 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: d7db8702e778370a732d8ac0a7771a2905de65a7
      https://github.com/ovn-org/ovn/commit/d7db8702e778370a732d8ac0a7771a2905de65a7
  Author: Dan Williams <dcbw at redhat.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M utilities/ovn-lib.in

  Log Message:
  -----------
  ovn-lib: harmonize stop_ovn_daemon() with ovs-lib

OVN should probably be doing the same things OVS is doing here.

Signed-off-by: Dan Williams <dcbw at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>


  Commit: f4b44655ec8f721c0b3a88969f683488ef60ce3d
      https://github.com/ovn-org/ovn/commit/f4b44655ec8f721c0b3a88969f683488ef60ce3d
  Author: Dan Williams <dcbw at redhat.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M utilities/ovn-ctl
    M utilities/ovn-lib.in

  Log Message:
  -----------
  ovn-ctl: stop databases with stop_ovn_daemon()

Wait for the databases to actually exit before returning to
the caller of ovn-ctl. In containerized use-cases the container
runtime often kills the container when the process calling
ovn-ctl exits, which may not give the DBs time to clean up
after themselves.

Reported-at: https://bugzilla.redhat.com/1944239

Signed-off-by: Dan Williams <dcbw at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
Acked-by: Mark Michelson <mmichels at redhat.com>


Compare: https://github.com/ovn-org/ovn/compare/879ebc8c6419...f4b44655ec8f


More information about the git mailing list