Bug 2100220 - Completed pods may not be correctly cleaned up
Summary: Completed pods may not be correctly cleaned up
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.12.0
Assignee: Tim Rozet
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On:
Blocks: 2104991
TreeView+ depends on / blocked
 
Reported: 2022-06-22 18:28 UTC by Tim Rozet
Modified: 2023-01-17 19:50 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2104991 (view as bug list)
Environment:
Last Closed: 2023-01-17 19:50:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 1158 0 None open Bug 2100220: Fix completed pods releasing IP address on update 2022-06-22 19:01:19 UTC
Github ovn-org ovn-kubernetes pull 3045 0 None Merged Fixes handing terminal pods during update event + test case fixes 2022-06-22 18:29:41 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:50:45 UTC

Description Tim Rozet 2022-06-22 18:28:47 UTC
Description of problem:
Due to the generic watcher/retry refactor in ovnk, during pod update the old version of the object is passed to the pod delete handler. The delete handler will check if the pod is completed, but since it has the old version of the pod this check will fail. The consequence of this is that the IP will not be freed for a completed pod, so the node may run out of IP addresses.

Comment 5 errata-xmlrpc 2023-01-17 19:50:29 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 (Moderate: OpenShift Container Platform 4.12.0 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.

https://access.redhat.com/errata/RHSA-2022:7399


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