Bug 2039253

Summary: ovnkube-node crashes on duplicate endpoints
Product: OpenShift Container Platform Reporter: Mario Macias <mmaciasl>
Component: NetworkingAssignee: Joel Takvorian <jtakvori>
Networking sub component: NetObs QA Contact: Mehul Modi <memodi>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: anbhat, aos-bugs, bpickard, davegord, memodi, mkennell, rbrattai
Version: 4.10Keywords: Reopened
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:41:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mario Macias 2022-01-11 11:07:28 UTC
Description of problem:

When IPFix target is configured using exportNetworkFlows  and also when CNO configures the "ovs-flows-config" configmap with the same endpoint, ovnkube-node crashes with below error:

I0110 22:16:46.293721 775310 ovs.go:208] exec(3): stderr: "ovs-vsctl: [\"172.30.231.149:2055\",\"172.30.231.149:2055\"]: set contains duplicate value\n"
I0110 22:16:46.293728 775310 ovs.go:210] exec(3): err: exit status 1
F0110 22:16:46.293750 775310 ovnkube.go:133] error setting ovs flow targets: "error setting IPFIX: exit status 1\n \"ovs-vsctl: [\\\"172.30.231.149:2055\\\",\

Comment 1 Mario Macias 2022-01-12 14:58:50 UTC
Provided a fix in: https://github.com/ovn-org/ovn-kubernetes/pull/2745

Comment 4 zhaozhanqi 2022-01-25 03:18:19 UTC
@rbrattai Could you help verified this bug?

Comment 7 Mehul Modi 2022-01-26 18:29:09 UTC
tested and verified downstream PR: https://github.com/openshift/ovn-kubernetes/pull/930 with cluster-bot.

Comment 8 Mehul Modi 2022-01-26 18:29:10 UTC
tested and verified downstream PR: https://github.com/openshift/ovn-kubernetes/pull/930 with cluster-bot.

Comment 12 Mehul Modi 2022-02-02 15:40:58 UTC
Marking Verified again.

Comment 14 errata-xmlrpc 2022-08-10 10:41:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5069