Bug 1494257
| Summary: | should prevent the deletion of a PVC that is referenced by an active pod | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Josh Foots <jfoots> | |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Liang Xia <lxia> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.5.0 | CC: | aos-bugs, aos-storage-staff, bchilds, byount, jliggitt, jsafrane, lxia, pdwyer, tbielawa, xtian | |
| Target Milestone: | --- | Keywords: | UpcomingRelease | |
| Target Release: | 3.9.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | atomic-openshift-3.9.14-1.git.0.4efa2ca.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
OpenShift did not check if a volume is used by a pod and recycled volumes even though they were used by active pods.
Consequence:
Not all files were recycled and running pod could behave unexpectedly because recycler deleted its data.
Fix:
Recycler does not start recycling until all pods that use the volume are finished.
Result:
No data is deleted from underneath of running pods .
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1533078 1533081 1546086 (view as bug list) | Environment: | ||
| Last Closed: | 2018-04-12 07:37: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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1533078, 1533081, 1546086 | |||
|
Description
Josh Foots
2017-09-21 20:38:37 UTC
Upstream PR is created: https://github.com/kubernetes/kubernetes/pull/55824 Finally, the fix was split into 3 upstream PRs: - https://github.com/kubernetes/kubernetes/pull/55824 - https://github.com/kubernetes/kubernetes/pull/55957 - https://github.com/kubernetes/kubernetes/pull/55873 Finally, all necessary PRs were merged into Kubernetes. Particularly into Kubernetes 1.9: - https://github.com/kubernetes/kubernetes/pull/55873 - https://github.com/kubernetes/kubernetes/pull/55824 Into Kubernetes 1.10: - https://github.com/kubernetes/kubernetes/pull/55957 - https://github.com/kubernetes/kubernetes/pull/56298 Kubernetes documentation was updated here: https://github.com/kubernetes/website/pull/6415 Upstream PR: https://github.com/kubernetes/kubernetes/pull/59350 pvc-protection is working fine on below version, openshift v3.9.3 Move bug to verified. I wonder why the bug was excluded from errata. Closing manually. |