[ovs-discuss] ovsdb-client connection refused

Flavio Leitner fbl at sysclose.org
Fri Dec 30 15:45:35 UTC 2016


On Fri, 30 Dec 2016 14:59:27 +0530
Shravan S K <sra9449 at gmail.com> wrote:

> Hello,
> 
> set up : 2 machines running OVS 2.5.0.
> 
> m1 - 192.168.20.1
> m2 - 192.168.20.2
> 
> On m2 ->
> $ sudo ovs-vsctl set-manager tcp:192.168.20.1:6640
> $ sudo ovs-vsctl show
> 38bc233b-7431-4aad-aefd-9155aff54ad4
>     Manager "tcp:192.168.20.1:6640"
>     ovs_version: "2.5.0"
> 
> On m1 ->
> $ sudo ovsdb-client -v list-dbs tcp:192.168.20.2:6640
> 2016-12-30T09:23:13Z|00001|poll_loop|DBG|wakeup due to 0-ms timeout
> 2016-12-30T09:23:13Z|00002|poll_loop|DBG|wakeup due to
> [POLLOUT][POLLERR][POLLHUP] on fd 3 (192.168.20.2:36486<->) at
> ../lib/stream-fd.c:151
> ovsdb-client: failed to connect to "tcp:192.168.20.2:6640" (Connection
> refused)

In the first command you are telling to connect to the manager
using tcp at 192.168.20.1 port 6640 where you actually want to
to listen for a connection on that port, i.e.:

# ovs-vsctl set-manager ptcp:6640

-- 
Flavio



More information about the discuss mailing list