Bug 1339295
Summary: | cinder disk doesn't get detached | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> | |
Component: | Storage | Assignee: | hchen | |
Status: | CLOSED ERRATA | QA Contact: | Jianwei Hou <jhou> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.2.0 | CC: | aos-bugs, bchilds, hchen, jhou, jokerman, misalunk, mmccomas, mwysocki, tdawson | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Previously, containerized installations of OCP would fail to detach cinder volumes due to the method used to find the volume. OCP has been updated to correctly detach cinder volumes when running in a containerized environment.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1359720 (view as bug list) | Environment: | ||
Last Closed: | 2016-08-11 18:38:11 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
Miheer Salunke
2016-05-24 15:18:12 UTC
Upstream issue filed- https://github.com/openshift/origin/issues/8926 Disk detach is triggered by pod deletion. If the pod is not removed, the disk is still attached to the node. Before you scale up to 1, can you check if the Pod is completely removed? The Pod is not immediately removed when it is told to scale down to 0. Yes, oc get pods @hchen, do you need any more information for this ? Containerize kubelet failed to unmount/detach Cinder volume. fix proposed to upstream kubernetes https://github.com/kubernetes/kubernetes/pull/27380 https://github.com/kubernetes/kubernetes/pull/28018 Can we get this into an errata release? Can we get a seperate bugzilla for OSE 3.2 versus 3.3. This has been merged and is in OSE v3.3.0.9 or newer. Verified this on oc v3.3.0.9 kubernetes v1.3.0+57fb9ac Using containerized installation.The cinder volume is detached from the node when the pod is deletedor scale(PV and PVC remaining). Viewing from the openstack console, the volume has 'Available' status. @tdawson I've cloned this as a 3.3 bug and verified it there(bug 1359720).I'll test that this is fixed in 3.2 as well once we have the fix. can we close it now? Verified on containerized installation of openshift v3.2.1.12 kubernetes v1.2.0-36-g4a3f9c5 etcd 2.2.5 The cinder volume is detached from the node when the pod is deleted or scaled to 0. This bug should be in VERIFIED state as the errata has not yet been released. I cannot set that state so I'm setting ON_QA so that QE can move it to VERIFIED. This will be released as part of v3.2.1.13. 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-2016:1608 |