Description of problem: Create pvc first, then create pv, binding can take up to 400+ seconds. While compared with creating pv first, binding finished in a second. This is really bad user experience. Version-Release number of selected component (if applicable): openshift v3.7.0-0.143.2 kubernetes v1.7.0+80709908fd etcd 3.2.1 How reproducible: Always Steps to Reproduce: 1. Create a pvc, then create a pv, check binding. 2. Create a pv, then create a pvc, check binding. Actual results: Binding take up to 400+ seconds when pvc is created first. While binding finished in a seconds when pv is create first. Expected results: Binding should be done in a reasonable time in either way.
Seems like nobody ported https://bugzilla.redhat.com/show_bug.cgi?id=1470009 back to 3.7.
Downstream PR: https://github.com/openshift/origin/pull/16927
PR against master: https://github.com/openshift/origin/pull/16965
merged to master
Tested again on below version, # openshift version openshift v3.7.0-0.176.0 kubernetes v1.7.6+a08f5eeb62 etcd 3.2.8 binding is much faster now, pvc/pv got bound in 30 seconds, generally 10 seconds or so.
Move bug to verified based on #comment 6.
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-2017:3188