[ovs-dev] [PATCH] vtep-ctl: Exit if database connection fails.

Daniele Di Proietto diproiettod at vmware.com
Fri Oct 23 00:31:25 UTC 2015



On 22/10/2015 16:11, "Justin Pettit" <jpettit at nicira.com> wrote:

>> 
>> On Oct 22, 2015, at 2:37 PM, Daniele Di Proietto
>><diproiettod at vmware.com> wrote:
>> 
>> 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>
>
>Thanks!
>
>Acked-by: Justin Pettit <jpettit at nicira.com>
>
>--Justin

Thanks for the review! I applied this to master with your ack.




More information about the dev mailing list