[ovs-discuss] ovsdb-client connection refused
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|1|poll_loop|DBG|wakeup due to 0-ms timeout 2016-12-30T09:23:13Z|2|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) ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] ovsdb-client connection refused
On Fri, 30 Dec 2016 14:59:27 +0530 Shravan S K 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|1|poll_loop|DBG|wakeup due to 0-ms timeout > 2016-12-30T09:23:13Z|2|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 ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] ovsdb-client connection refused
Thanks, Flavio. Shravan On 30 December 2016 at 21:15, Flavio Leitner wrote: > On Fri, 30 Dec 2016 14:59:27 +0530 > Shravan S K 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|1|poll_loop|DBG|wakeup due to 0-ms timeout > > 2016-12-30T09:23:13Z|2|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 > > ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss