Bug 1360171
Summary: | Prebound pv is bound to request pvc with mismatched volume size | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chao Yang <chaoyang> |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | agoldste, aos-bugs, bchilds, eboyd, eparis, jhou, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
this bug was not in any public OpenShift release.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-27 09:41:46 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
Chao Yang
2016-07-26 07:18:03 UTC
This may be one of the unfortunate side-effects of allowing "pre-bound" volumes. We would like to deprecate this (unintentional) feature at some point. In your case, are you specifying the claim in the PV, or the PV in the claim? Please provide the yaml for PV and PVC. Assigning to jsafrane for further investigation. In current implementation, pre-binding volume to a claim (and claim to a volume) trumps everything, including label checks, size, access modes and storage class in future. User wants a specific volume/claim and he gets it. Erin, is this common understanding or should we do something about it. This is worked as expected. If a PV contains a ClaimRef, access and size should be ignored. Thanks, will udpate the test case re-open this bug according to https://bugzilla.redhat.com/show_bug.cgi?id=1366500#c4 Ok, per the two BZs the updated behavior is here: https://github.com/kubernetes/kubernetes/pull/30690 marking as 'post' while we backport & merge into openshift. Need origin PR... This is passed on openshift v3.3.0.24-dirty kubernetes v1.3.0+507d3a7 etcd 2.3.0+git After create pv and pvc using https://bugzilla.redhat.com/show_bug.cgi?id=1360171#c0 pv is avaiable and pvc is pending 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:1933 |