Bug 2113977 - Fix pod stuck in termination state when mount fails or gets skipped after kubelet restart
Summary: Fix pod stuck in termination state when mount fails or gets skipped after kub...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.12.0
Assignee: Ryan Phillips
QA Contact: Sunil Choudhary
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-02 13:17 UTC by Ryan Phillips
Modified: 2023-01-17 19:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:54:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:54:22 UTC

Description Ryan Phillips 2022-08-02 13:17:52 UTC
Need to backport https://github.com/kubernetes/kubernetes/pull/110670

Description of problem:

"""
Keeps tracks of volumes which were skipped during reconstruction with the assumption that since they were present in DSOW, they will make it to ASOW.
Enhances the check that makes volumes uncertain on unmounted - https://github.com/kubernetes/kubernetes/pull/110670/files#diff-3e8f8a6e5eca57db8e84bcc6c896f0a3b10289fe55d8e999b4bdf1cfdc0de394L785 to ensure that, we are not accidentally marking volumes which were added via reconsturction as unmounted because mount is failing after kubelet restart.
"""

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Swarup Ghosh 2022-09-14 14:53:37 UTC
The fix should land in 4.12 after rebase.

Comment 3 Ryan Phillips 2022-10-10 20:11:38 UTC
https://github.com/openshift/kubernetes/pull/1382

Comment 4 Ryan Phillips 2022-10-10 20:12:21 UTC
The fix will be coming in on this rebase.

https://github.com/openshift/kubernetes/pull/1382

Comment 7 MinLi 2022-10-31 03:29:59 UTC
verified! It backports upstream pr https://github.com/kubernetes/kubernetes/pull/110670 , and land as a part of rebase.

Comment 10 errata-xmlrpc 2023-01-17 19:54:07 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.