Bug 2094460 - Duplicated IPs can be assigned to multiple Pods
Summary: Duplicated IPs can be assigned to multiple Pods
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: All
OS: All
high
high
Target Milestone: ---
: 4.11.0
Assignee: Martin Kennelly
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks: 2095193
TreeView+ depends on / blocked
 
Reported: 2022-06-07 16:14 UTC by Martin Kennelly
Modified: 2024-04-30 18:04 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2095193 (view as bug list)
Environment:
Last Closed: 2024-04-30 18:04:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ovn-org ovn-kubernetes pull 2928 0 None Merged duplicated IPs can be assigned to multiple Pods 2022-06-07 16:14:33 UTC

Description Martin Kennelly 2022-06-07 16:14:34 UTC
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

Comment 1 Martin Kennelly 2022-06-07 16:22:14 UTC
Fix merged downstream. Pending release of 4.11.

Comment 2 Rory Thrasher 2024-04-30 18:04:53 UTC
OCP is no longer using Bugzilla and this bug appears to have been left in an orphaned state. If the bug is still relevant, please open a new issue in the OCPBUGS Jira project: https://issues.redhat.com/projects/OCPBUGS/summary


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