[ovs-dev] [PATCH v1] utilities: check datapath exists before conntrack flush
blp at ovn.org
Tue Jul 31 20:56:39 UTC 2018
On Mon, Jul 30, 2018 at 10:47:18PM -0700, Martin Xu wrote:
> As part of "force-reload-kmod," conntrack flush command is issued as
> 'action "ovs-appctl dpctl/flush-conntrack"'. In case no datapath exists
> yet when issuing "force-reload-kmod," there is an error message
> "ovs-vswitchd: no datapaths exist\ ovs-appctl: ovs-vswitchd: server
> returned an error", which is harmless but potentially shows up as "FAILED."
> Add an if condition to check whether datapath exists before running the
> conntrack flush command.
> VMware-BZ: #2170402
> Fixes: 265d70310c69 ("utilities: Fix conntrack flush command")
> Signed-off-by: Martin Xu <martinxu9.ovs at gmail.com>
> CC: Greg Rose <gvrose8192 at gmail.com>
> CC: Aaron Conole <aconole at redhat.com>
> CC: Justin Pettit <jpettit at ovn.org>
Thanks, applied to master and branch-2.10.
More information about the dev