Bug 2096802 - Duplicated IPs can be assigned to multiple Pods
Summary: Duplicated IPs can be assigned to multiple Pods
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.9
Hardware: All
OS: All
Target Milestone: ---
: 4.9.z
Assignee: Martin Kennelly
QA Contact: Anurag saxena
Depends On: 2095193
Blocks: 2097018
TreeView+ depends on / blocked
Reported: 2022-06-14 10:30 UTC by Martin Kennelly
Modified: 2022-08-31 16:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2095193
: 2097018 (view as bug list)
Last Closed: 2022-08-31 16:39:49 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 1136 0 None open [release-4.9] Bug 2096802: duplicated IPs can be assigned to multiple Pods 2022-06-27 13:50:15 UTC
Red Hat Product Errata RHSA-2022:6147 0 None None None 2022-08-31 16:40:54 UTC

Description Martin Kennelly 2022-06-14 10:30:27 UTC
+++ 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):

How reproducible:

Steps to Reproduce:

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 6 errata-xmlrpc 2022-08-31 16:39:49 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.9.47 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.


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