Bug 2039253 - ovnkube-node crashes on duplicate endpoints
Summary: ovnkube-node crashes on duplicate endpoints
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.11.0
Assignee: Joel Takvorian
QA Contact: Mehul Modi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-11 11:07 UTC by Mario Macias
Modified: 2022-08-10 10:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:41:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 930 0 None open Bug 2039253: avoid passing duplicate Flow endpoints to ovs-vsctl 2022-01-26 08:44:48 UTC
Github ovn-org ovn-kubernetes pull 2745 0 None open Bug 2039253: avoid passing duplicate Flow endpoints to ovs-vsctl 2022-01-12 14:58:50 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:42:09 UTC

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


Note You need to log in before you can comment on or make changes to this bug.