Bug 1640078

Summary: 3.11: Pods stuck in Terminating status when using configmap mounted using subpath volume
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: StorageAssignee: Bradley Childs <bchilds>
Status: CLOSED ERRATA QA Contact: Wenqi He <wehe>
Severity: high Docs Contact:
Priority: high    
Version: 3.11.0CC: aos-bugs, aos-storage-staff, bchilds, jhou, jkaur, jmalde, jsafrane, rekhan
Target Milestone: ---   
Target Release: 3.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1623053 Environment:
Last Closed: 2018-12-12 14:15:51 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: 1623053, 1640079, 1696207, 1696591    
Bug Blocks: 1640077    

Comment 5 Wenqi He 2018-11-29 10:38:57 UTC
Tested on below version:
openshift v3.11.43
kubernetes v1.11.0+d4cacc0

# uname -a
Linux preserver-qe-piqin-1-mrre-1 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)

# systemctl stop atomic-openshift-node.service 
# cd /var/lib/
# mv origin openshift
# ln -s /var/lib/openshift origin
# systemctl start atomic-openshift-node.service

After create a symlink and schedule the subpath pod to this node, and then
delete it

[root@ip-172-18-6-150 ~]# oc get pods
NAME                       READY     STATUS        RESTARTS   AGE
testpod                    1/1       Terminating   0          1m

[root@ip-172-18-6-150 ~]# oc get pods

Pod can be delete immediately.

Comment 7 errata-xmlrpc 2018-12-12 14:15:51 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, 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/RHBA-2018:3743