Bug 1471630
Summary: | [vSphere][containerized] VMDK not unmounted after deleting Pod | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jianwei Hou <jhou> | |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> | |
Status: | CLOSED ERRATA | QA Contact: | Jianwei Hou <jhou> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.6.1 | CC: | aos-bugs, bchilds, eparis, xtian | |
Target Milestone: | --- | |||
Target Release: | 3.7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: |
undefined
|
Story Points: | --- | |
Clone Of: | ||||
: | 1473338 (view as bug list) | Environment: | ||
Last Closed: | 2017-11-28 22:01:28 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: | ||||
Bug Blocks: | 1473338 |
Description
Jianwei Hou
2017-07-17 06:32:19 UTC
Digging in the node: * /proc/mounts says that /dev/sdb is mounted: /dev/sdb /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/vsphere-volume/mounts/[datastore1]\040kubevols/kubernetes-dynamic-pvc-0a6b27db-6ab5-11e7-8f64-0050569f1b82.vmdk ext4 rw,seclabel,relatime,data=ordered 0 0 Notice a space (\040) in the mount path. There is a directory named "[datastore1] kubevols". * IsLikelyNotMountPoint think that it's not a mount point: IsLikelyNotMountPoint findmnt output for path /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/vsphere-volume/mounts/[datastore1] kubevols/kubernetes-dynamic-pvc-0a6b27db-6ab5-11e7-8f64-0050569f1b82.vmdk: /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/vsphere-volume/mounts/[datastore1]: IsLikelyNotMountPoint: /var/lib/origin/openshift.local.volumes/plugins/kubernetes.io/vsphere-volume/mounts/[datastore1] kubevols/kubernetes-dynamic-pvc-0a6b27db-6ab5-11e7-8f64-0050569f1b82.vmdk is not a mount point Notice that findmnt output is cut at the first space -> bug in Kubernetes NsenterMounter. posted a PR upstream: https://github.com/kubernetes/kubernetes/pull/49111 moved back to ASSIGNED until we have a PR against origin/master (for 3.7) Verified on v3.7.0-0.127.0 Volume is immediately unmounted after Pod is deleted on containerized OCP. 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/RHSA-2017:3188 |