Bug 1640077 - 3.10: Pods stuck in Terminating status when using configmap mounted using subpath volume
Summary: 3.10: Pods stuck in Terminating status when using configmap mounted using sub...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.10.z
Assignee: Bradley Childs
QA Contact: Wenqi He
URL:
Whiteboard:
Depends On: 1623053 1640078 1640079 1696207 1696591
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-17 10:47 UTC by Jan Safranek
Modified: 2020-05-20 19:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1623053
Environment:
Last Closed: 2018-12-13 17:09:08 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3750 0 None None None 2018-12-13 17:09:14 UTC

Comment 5 Wenqi He 2018-11-29 07:25:41 UTC
Tested on below version:
openshift v3.10.79
kubernetes v1.10.0+b81c8f8

# uname -a
Linux ip-172-18-6-150.ec2.internal 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)

[root@ip-172-18-11-14 ~]# systemctl stop atomic-openshift-node.service 
[root@ip-172-18-11-14 ~]# cd /var/lib/
[root@ip-172-18-11-14 lib]# mv origin openshift
[root@ip-172-18-11-14 lib]# ln -s /var/lib/openshift origin
[root@ip-172-18-11-14 lib]# 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
docker-registry-1-tw2qd    1/1       Running       0          4h
registry-console-1-9vf9k   1/1       Running       0          4h
router-1-jd85h             1/1       Running       0          4h
testpod                    1/1       Terminating   0          1m

[root@ip-172-18-6-150 ~]# oc get pods
NAME                       READY     STATUS    RESTARTS   AGE
docker-registry-1-tw2qd    1/1       Running   0          4h
registry-console-1-9vf9k   1/1       Running   0          4h
router-1-jd85h             1/1       Running   0          4h

Pod can be delete immediately. Thanks Jan for the detain verification steps!!

Comment 7 errata-xmlrpc 2018-12-13 17:09:08 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:3750


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