Bug 1324352 - Create PVC, then create PV takes long time to bind.
Summary: Create PVC, then create PV takes long time to bind.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Storage
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jan Safranek
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 06:57 UTC by Liang Xia
Modified: 2017-02-20 15:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 15:43:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Liang Xia 2016-04-06 06:57:23 UTC
Description of problem:
Create PVC, then create PV takes long time to bind.
As the number of PVC/PV increases, the time get longer.

In the testing, 5~15 PVC and 5~15 PV,
generally take 5~8 minutes to get bound.

While create PV first, then create PVC,
generally take less than 1 second to get bound.

Version-Release number of selected component (if applicable):
openshift v1.1.6-12-ge74de69
kubernetes v1.2.0-36-g4a3f9c5
etcd 2.2.5


How reproducible:
Always

Steps to Reproduce:
1.Create several PVCs.
2.Create several PVs.
3.Check PV/PVC status.

Actual results:
PVC took really long time to get bound.

Expected results:
PVC should get bound within a short time.

Additional info:

Comment 1 Jan Safranek 2016-06-14 13:28:55 UTC
In Kubernetes 1.2 the default sync interval of binder controller is  minutes. In Kubernetes it went down to 15 seconds, so it should be definitely better there. Appropriate fix is already merged into Kubernetes, waiting for rebase in OpenShift.

Comment 2 Jan Safranek 2017-02-20 15:43:10 UTC
Sorry, this has been fixed a long time ago. Default binder sync is 15 seconds since 3.3.


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