Bug 2094460 - Duplicated IPs can be assigned to multiple Pods
Summary: Duplicated IPs can be assigned to multiple Pods
Keywords:
Status: RELEASE_PENDING
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: 2022-06-14 17:44 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:
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.


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