Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2113977

Summary: Fix pod stuck in termination state when mount fails or gets skipped after kubelet restart
Product: OpenShift Container Platform Reporter: Ryan Phillips <rphillips>
Component: NodeAssignee: Ryan Phillips <rphillips>
Node sub component: Kubelet QA Contact: Sunil Choudhary <schoudha>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: minmli, nagrawal, qiwan, swghosh
Version: 4.10   
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:54:07 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:

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