[ovs-git] [openvswitch/ovs] df837d: vtep-ctl: Exit if database connection fails.

GitHub noreply at github.com
Fri Oct 23 00:30:50 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: df837d71ff949953f17841cd72d484c557a9ba19
      https://github.com/openvswitch/ovs/commit/df837d71ff949953f17841cd72d484c557a9ba19
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-10-22 (Thu, 22 Oct 2015)

  Changed paths:
    M vtep/vtep-ctl.c

  Log Message:
  -----------
  vtep-ctl: Exit if database connection fails.

Before this commit vtep-ctl hung forever if it didn't manage to reach
the database.

This caused the testcase "ovn -- 3 HVs, 1 VIFs/HV, 1 GW, 1 LS" to hang
occasionally, because ovsdb-server could be killed before ovs-vtep
called vtep-ctl.

This mimics the behaviour of ovs-vsctl, ovn-nbctl and ovn-sbctl.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Justin Pettit <jpettit at nicira.com>




More information about the git mailing list