Bug 1324352

Summary: Create PVC, then create PV takes long time to bind.
Product: OKD Reporter: Liang Xia <lxia>
Component: StorageAssignee: Jan Safranek <jsafrane>
Status: CLOSED CURRENTRELEASE QA Contact: Jianwei Hou <jhou>
Severity: low Docs Contact:
Priority: low    
Version: 3.xCC: aos-bugs, bchilds
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 15:43:10 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 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.