Description of problem: Trying to create a Persistent Volumes with Fibre Channel, but fc does not recogized as a valid volume type. Version-Release number of selected component (if applicable): openshift v1.0.6-702-g16849ae kubernetes v1.1.0-alpha.1-653-g86b4e77 How reproducible: Always Steps to Reproduce: 1. Setup openshift cluster with latest code. 2. Create pv with Fibre Channel. # oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/wordpress/fc/pv-1.yaml Actual results: # oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/wordpress/fc/pv-1.yaml --config=openshift.local.config/master/admin.kubeconfig The PersistentVolume "pv0001" is invalid. : invalid value '{GCEPersistentDisk:<nil> AWSElasticBlockStore:<nil> HostPath:<nil> Glusterfs:<nil> NFS:<nil> RBD:<nil> ISCSI:<nil> Cinder:<nil> CephFS:<nil>}', Details: exactly 1 volume type is required Expected results: PV created successfully. Additional info: The same command works on kubernetes. Client Version: version.Info{Major:"1", Minor:"2+", GitVersion:"v1.2.0-alpha.2.90+360d0e0a7e92dc", GitCommit:"360d0e0a7e92dcc4d00b4c555e166a2a71a7e713", GitTreeState:"clean"} Server Version: version.Info{Major:"1", Minor:"2+", GitVersion:"v1.2.0-alpha.2.90+360d0e0a7e92dc", GitCommit:"360d0e0a7e92dcc4d00b4c555e166a2a71a7e713", GitTreeState:"clean"}
You are right on the spot. FC landed in k8s 1.2.0-alpha.2. Your Openshift is a few rev behind to catch that feature
Checked on below version, FC can be created now. Please help to move it to ON_QA, so we can move it to verified. Thanks. # openshift version openshift v1.0.6-946-g5954394 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 # oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/wordpress/fc/pv-1.yaml --config=/root/openshift.local.config/master/admin.kubeconfig persistentvolume "pv0001" created # oc get pv --config=/root/openshift.local.config/master/admin.kubeconfig NAME LABELS CAPACITY ACCESSMODES STATUS CLAIM REASON AGE pv0001 <none> 1Gi RWO Available 10s # oc describe pv pv0001 --config=/root/openshift.local.config/master/admin.kubeconfig Name: pv0001 Labels: <none> Status: Available Claim: Reclaim Policy: Retain Access Modes: RWO Capacity: 1Gi Message: Source:
Your kubernetes version is 1.2.0-alpha.1, you need Kubernetes 1.2.0-alpha.2 to get FC support. See commit history at https://github.com/kubernetes/kubernetes/commit/ed9a1bbd3a9b689f4953deb6308d631314edf3f4
This bug track FibreChannel PV creation in origin, based on #comment 2, this has been fixed since PV can be created in origin now. FC support (as in #comment 3) need Kubernetes 1.2.0-alpha.2, we have to wait for origin's re-base since the current one is: openshift v1.0.6-964-g814c05e kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 and we will track it in bug 1275166 So move this bug to verified.