Bug 1588453
| Summary: | CSI: volumes not detached on kubelet error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jan Safranek <jsafrane> | ||||
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Qin Ping <piqin> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.10.0 | CC: | aos-bugs, aos-storage-staff, bchilds | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.10.z | ||||||
| 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: | 2018-08-31 06:18:10 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: | |||||||
| Attachments: |
|
||||||
|
Description
Jan Safranek
2018-06-07 11:44:37 UTC
Created attachment 1448693 [details]
UnmountDevice log
Upstream issue: https://github.com/kubernetes/kubernetes/issues/64875 Easy steps to reproduce (with working Cinder CSI driver): 1. Run a pod with a CSI volume. 2. Wait until it's Running. 3. oc delete pod --grace-period=0 --force What happens: - The volume is still in node.status.volumesInUse - The volume is not detached - VolumeAttachment does not disappear What should happen: - The volume disappears from node.status.volumesInUse - The volume is detached - VolumeAttachment disappears Upstream PR: https://github.com/kubernetes/kubernetes/pull/64882 Additional PR with fixes: https://github.com/kubernetes/kubernetes/pull/65323 OSE 3.10.1 PR: https://github.com/openshift/ose/pull/1341 Sorry, 3.10.1 PR is still open. The fix has been merged into origin/3.10 branch. Verified in OCP: v3.10.34 # uname -a Linux qe-piqin-master-etcd-1 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.5 (Maipo) 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:2376 |