Bug 1279344
| Summary: | Inconsistent PV and PVC bound displayed | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jianwei Hou <jhou> |
| Component: | Storage | Assignee: | Mark Turansky <mturansk> |
| Status: | CLOSED ERRATA | QA Contact: | Liang Xia <lxia> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.1.0 | CC: | aos-bugs, bchilds, jkrieger, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-12 16:25:17 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
Jianwei Hou
2015-11-09 08:56:27 UTC
The bug here is the controller looking at the claim namespace and name when comparing what a volume is bound to. The 2nd claim used in the example above has the same name/namespace, so the volume sees the existing claim and thinks it is still bound. The solution is to compare object UIDs instead of namespace/name. Bug fix is upstream: https://github.com/kubernetes/kubernetes/pull/20197 I verified #20197 is in Origin after the most recent rebase. Verified on: openshift v3.1.1.903 kubernetes v1.2.0-origin etcd 2.2.2+git The issue is not reproducible, the bug is fixed 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-2016:1064 |