Bug 1501152 - Binding take up to 400+ seconds when pvc is created before creating pv.
Summary: Binding take up to 400+ seconds when pvc is created before creating pv.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.7.0
Assignee: Jan Safranek
QA Contact: Liang Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-12 07:20 UTC by Liang Xia
Modified: 2017-11-28 22:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:16:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Liang Xia 2017-10-12 07:20:12 UTC
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.

Comment 1 Jan Safranek 2017-10-17 14:58:34 UTC
Seems like nobody ported https://bugzilla.redhat.com/show_bug.cgi?id=1470009 back to 3.7.

Comment 2 Jan Safranek 2017-10-18 10:52:16 UTC
Downstream PR: https://github.com/openshift/origin/pull/16927

Comment 4 Jan Safranek 2017-10-20 07:32:49 UTC
PR against master: https://github.com/openshift/origin/pull/16965

Comment 5 Jan Safranek 2017-10-23 11:13:20 UTC
merged to master

Comment 6 Liang Xia 2017-10-24 07:04:02 UTC
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.

Comment 8 Liang Xia 2017-11-02 01:38:45 UTC
Move bug to verified based on #comment 6.

Comment 11 errata-xmlrpc 2017-11-28 22:16:57 UTC
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


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