[ovs-discuss] "ovs-vsctl get openvswitch . other_config" results in "WARN connection dropped"

Ben Pfaff blp at ovn.org
Mon Feb 1 22:38:38 UTC 2021


Probably, some debugging of the situation could lead to figuring out
what's going on and thereby avoiding the messages.  I don't have the
necessary cycles to do that myself.

On Mon, Feb 01, 2021 at 10:33:58PM +0000, Tobias Hofmann (tohofman) wrote:
> I just see the warning, however on our system we periodically run “ovs-vsctl get openvswitch . other_config” which bloats the log file over time. I’d like to prevent that.
> 
> From: Ben Pfaff <blp at ovn.org>
> Date: Monday, 1. February 2021 at 22:09
> To: Tobias Hofmann (tohofman) <tohofman at cisco.com>
> Cc: ovs-discuss at openvswitch.org <ovs-discuss at openvswitch.org>
> Subject: Re: [ovs-discuss] "ovs-vsctl get openvswitch . other_config" results in "WARN connection dropped"
> On Mon, Feb 01, 2021 at 01:41:05PM +0000, Tobias Hofmann (tohofman) via discuss wrote:
> > Hello everybody,
> >
> > I have Open vSwitch 2.11.1 installed with DPDK 18.11.0 and DB Schema 7.16.1.
> > Every time I execute: “ovs-vsctl get open_vswitch . other_config”. I get the following WARN message in ovsdb-server.log:
> > 2021-02-01T13:31:21.773Z|07709|jsonrpc|WARN|unix#7443: receive error: Connection reset by peer
> > 2021-02-01T13:31:21.774Z|07710|reconnect|WARN|unix#7443: connection dropped (Connection reset by peer)
> >
> > When running: ”ovs-vsctl show” I don’t see any of these WARN logs.
> > Interestingly, when running: “ovs-vsctl -vjsonrpc get open_vswitch . other_config”. I also DO NOT see any WARN log messages.
> >
> > Does anyone have an idea what causes this issue and how to fix it?
> 
> Do you see some actual issue, or just a warning message in the log?  The
> most probable reason for the message is that ovsdb-server has some RPC
> message queued up to send ovs-vsctl, but ovs-vsctl is done and exits
> without reading it.  Probably, adding -vjsonrpc slows ovs-vsctl down
> enough that it reads that RPC, suppressing the log.


More information about the discuss mailing list