Bug 1402310

Summary: [dev-preview-stg] pvc can not be bounded to a pv
Product: OpenShift Online Reporter: yasun
Component: WebsiteAssignee: Stefanie Forrester <dakini>
Status: CLOSED WORKSFORME QA Contact: yasun
Severity: high Docs Contact:
Priority: high    
Version: 3.xCC: aos-bugs, bingli, dakini, jokerman, mmccomas
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 02:57:43 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:

Description yasun 2016-12-07 08:48:03 UTC
Description of problem:
pvc can be not bounded to a pv

Version-Release number of selected component (if applicable):
Server https://api.dev-preview-stg.openshift.com
openshift v3.3.1.4
kubernetes v1.3.0+52492b4

How reproducible:
always

Steps to Reproduce:
1. Login the web console with a normal user
2. Create a new project and select the Storage to choose "request storage"
3. Full fill the name and select a random accessmode with capacity 1GiB
4. Check the pvc status

Actual results:
pvc is in pending status:
[root@ymsun online-test]# oc get pvc testpvc
NAME      STATUS    VOLUME    CAPACITY   ACCESSMODES   AGE
testpvc   Pending                                      3m


Expected results:
4. pvc is bounded to a pv

Additional info:

Comment 1 yasun 2016-12-07 08:55:35 UTC
Checked with Ops team:
1. In master-config.yaml, dynamicProvisioningEnabled is set to "false"
2. online-volume-provisioner pod is not started. Ops team member zhiwliu can not find the dc for this pod.

Comment 2 Stefanie Forrester 2016-12-07 16:34:16 UTC
Since we are no longer using the provisioner pod in Online environments, the dc has been removed. We're using manually-provisioned PVs in Online until 3.4 is released.

I have provisioned some PVs for dev-preview-stg, so this issue should be resolved now.

Comment 3 yasun 2016-12-08 02:06:21 UTC
Testing on dev-preview-stg:
1. request a storage with RWO accessmode:
yasun-test-3 	Bound to volume pv-1-dev-preview-stg-master-defb2-vol-2ed248bf 	1 GiB 	RWO (Read-Write-Once) 	a few seconds
2. request a storage with RWX accessmode:
yasun-test-2 	Pending 	- 	RWX (Read-Write-Many) 	5 minutes
3. request a storage with ROX accessmode:
yasun-test-1 	Pending 	- 	ROX (Read-Only-Many) 	4 minutes

@Stefanie Forrester, About the pending issue in step 2 and step 3, I think it has been mentioned in the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1401356 .  And I assume that PVs you have created on dev-preview-stg are all in RWO accessmode, am I correct?