Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1293830 - Claim remains in 'Pending' status after it bounds dynamically created Persistent Volume
Claim remains in 'Pending' status after it bounds dynamically created Persist...
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage (Show other bugs)
Unspecified Unspecified
low Severity high
: ---
: ---
Assigned To: Jan Safranek
Liang Xia
Depends On:
  Show dependency treegraph
Reported: 2015-12-23 03:27 EST by Jianwei Hou
Modified: 2016-05-12 12:26 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-05-12 12:26:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 16:19:17 EDT

  None (edit)
Description Jianwei Hou 2015-12-23 03:27:43 EST
Description of problem:
Create a claim requesting dynamically provisioned storage, when the PV is created, it's bound to the PVC, but when getting PVC status, it was 'Pending'. It lasted about 6~7 minutes until PV and PVC status are consistent.

Version-Release number of selected component (if applicable):
openshift v3.1.1.0
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.1.2

How reproducible:

Steps to Reproduce:
1. Create a Persistent Volume Claim requesting dynamically provisioned storage:
  "kind": "PersistentVolumeClaim",
  "apiVersion": "v1",
  "metadata": {
    "name": "cinderc",
    "annotations": {
        "volume.alpha.kubernetes.io/storage-class": "foo"
  "spec": {
    "accessModes": [
    "resources": {
      "requests": {
        "storage": "3Gi"
2. oc get pv
3. oc get pvc

Actual results:
After step 2:
pv-cinder-cg4qe   <none>    3Gi        RWO           Bound     jhou/cinderc             4m

After step 3:
cinderc   <none>    Pending                                      5m

Expected results:
After step 3, should also see pvc status as 'Bound'. Their status should be consistent.

Additional info:
Comment 1 Jianwei Hou 2015-12-23 03:33:24 EST
The PVC's status will eventually become 'Bound', it's just that the first 6~7 minutes, PVC is always shown as 'Pending', so this bug is in low severity.
Comment 2 Jan Safranek 2016-01-25 10:14:46 EST
This bug is tracked upstream as https://github.com/kubernetes/kubernetes/issues/18830 and it has been fixed by this Kubernetes PR: https://github.com/kubernetes/kubernetes/pull/18877.

We need to push this PR also to OpenShift.
Comment 3 Jan Safranek 2016-01-26 11:08:46 EST
We're waiting for next OpenShift rebase of Kubernetes, please re-test when it happens.
Comment 4 Jianwei Hou 2016-02-16 01:05:40 EST
Verified with
openshift v1.1.2-260-gf556adc
kubernetes v1.2.0-origin
etcd 2.2.2+git

Now the PV and PVC status are consistent after PV is dynamically provisioned. The issue is fixed.
Comment 6 errata-xmlrpc 2016-05-12 12:26:19 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.