Bug 1393207

Summary: Make installer create a default StorageClass for dynamic volume provision
Product: OpenShift Container Platform Reporter: Jianwei Hou <jhou>
Component: InstallerAssignee: Hemant Kumar <hekumar>
Status: CLOSED ERRATA QA Contact: Wenqi He <wehe>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.0CC: aos-bugs, chaoyang, hekumar, jokerman, lxia, mmccomas, smunilla, wehe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The installer now creates a default StorageClass whenever AWS or GCE cloud providers are configured allowing for out of the box dynamic volume creation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 05:15:47 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 Jianwei Hou 2016-11-09 05:58:32 UTC
Description of problem:

OCP-3.4 has a new StorageClass feature, which is used to dynamically provision volumes on aws/gce/openstack. Currently installer didn't create a default StorageClass so manual operations have to be made even if cloud provider is enabled. I think our installer needs to support creating a default StorageClass for the supported IaaSs 。

Comment 3 Liang Xia 2017-06-14 06:48:26 UTC
Works on GCE with version 3.6.106

# oc version
oc v3.6.106
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://qe-lxia-master-1:8443
openshift v3.6.106
kubernetes v1.6.1+5115d708d7


# oc get storageclass
NAME                 TYPE
standard (default)   kubernetes.io/gce-pd

Comment 4 Wenqi He 2017-06-14 07:11:40 UTC
Tested on below version:
openshift v3.6.106
kubernetes v1.6.1+5115d708d7

There is a storage class exist in AWS and GCE installation:

GCE:
# oc get storageclass
NAME                 TYPE
standard (default)   kubernetes.io/gce-pd

AWS:
# oc get storageclass
gp2 (default)   kubernetes.io/aws-ebs

Comment 6 Hemant Kumar 2017-06-14 13:14:07 UTC
Yeah, doc text looks okay.

Comment 8 errata-xmlrpc 2017-08-10 05:15:47 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/RHEA-2017:1716