Bug 2097018 - Duplicated IPs can be assigned to multiple Pods
Summary: Duplicated IPs can be assigned to multiple Pods
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: All
OS: All
high
high
Target Milestone: ---
: 4.8.z
Assignee: Martin Kennelly
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On: 2096802
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-14 17:42 UTC by Martin Kennelly
Modified: 2022-10-27 05:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2096802
Environment:
Last Closed: 2022-10-27 05:44:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 1137 0 None open [release-4.8] Bug 2097018: Duplicated IPs can be assigned to multiple Pods 2022-08-31 12:19:42 UTC
Red Hat Product Errata RHBA-2022:7034 0 None None None 2022-10-27 05:45:03 UTC

Description Martin Kennelly 2022-06-14 17:42:50 UTC
+++ This bug was initially created as a clone of Bug #2096802 +++

+++ This bug was initially created as a clone of Bug #2095193 +++

+++ This bug was initially created as a clone of Bug #2094460 +++

Description of problem:

When addNode() failed in addNodeAnnotations(), the node's IPAM can be
overwritten by subsequent addNode() retry attempts. As the result, the
same IP can be allocated to multiple pods.

retryPod worker is started too soon, which could start to handle add Pod
request and allocate duplicate Pod IPs before IPs of the existing Pods are
reserved in syncPods().

Version-Release number of selected component (if applicable):
4.11

How reproducible:
Unknown

Steps to Reproduce:
1.
2.
3.

Actual results:



Expected results:
No duplicate IPs

Additional info:
Fixed in upstream PR: https://github.com/ovn-org/ovn-kubernetes/pull/2928
We may also need

--- Additional comment from Martin Kennelly on 2022-06-07 16:22:14 UTC ---

Fix merged downstream. Pending release of 4.11.

--- Additional comment from Martin Kennelly on 2022-06-13 13:56:55 UTC ---

Can you put 'cherry-pick-approved' label on the PR?
Thank you.

Comment 8 errata-xmlrpc 2022-10-27 05:44:55 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 (OpenShift Container Platform 4.8.52 bug fix 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/RHBA-2022:7034


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