Bug 2094460

Summary: Duplicated IPs can be assigned to multiple Pods
Product: OpenShift Container Platform Reporter: Martin Kennelly <mkennell>
Component: NetworkingAssignee: Martin Kennelly <mkennell>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED WONTFIX Docs Contact:
Severity: high    
Priority: high    
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2095193 (view as bug list) Environment:
Last Closed: 2024-04-30 18:04:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2095193    

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