]> git.proxmox.com Git - mirror_ovs.git/commitdiff
sandbox: disable ssl for backup ovn southbound db
authorLance Richardson <lrichard@redhat.com>
Tue, 13 Jun 2017 17:51:06 +0000 (13:51 -0400)
committerBen Pfaff <blp@ovn.org>
Tue, 13 Jun 2017 19:43:24 +0000 (12:43 -0700)
Since the sandbox environment was changed to enable SSL usage for
OVN_Southbound connections, the backup southbound server emits
the log message "socket_util|ERR|6642: bind: Address already in use"
every 2.5 seconds.

Fix by configuring the backup db server to not use remote configuration
from the database (the unix: socket can still be used, as was the
case before SSL was enabled).

Fixes: 0ced2a5c5e47 ("sandbox: use ssl for ovn-controller to sb db connection")
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
tutorial/ovs-sandbox

index 15a3a0a10a412428dfc43e1133380ebf46d95c6c..258ea9b87db6c27ee1deb1b64644d68f5f6448ce 100755 (executable)
@@ -372,7 +372,6 @@ if $ovn; then
     rungdb $gdb_ovsdb $gdb_ovsdb_ex ovsdb-server --detach --no-chdir \
         --pidfile="$sandbox"/ovnsb_db2.pid  -vconsole:off \
         --log-file="$sandbox"/ovnsb_db2.log \
-        --remote=db:OVN_Southbound,SB_Global,connections \
         --private-key=db:OVN_Southbound,SSL,private_key \
         --certificate=db:OVN_Southbound,SSL,certificate \
         --ca-cert=db:OVN_Southbound,SSL,ca_cert \