{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/2433","labels_url":"https://api.github.com/repos/openshift/origin/issues/2433/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/2433/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/2433/events","html_url":"https://github.com/openshift/origin/issues/2433","id":79258268,"number":2433,"title":"Pod can't consume a PVClaim - storage plugins not loaded?","user":{"login":"sosiouxme","id":29690,"avatar_url":"https://avatars.githubusercontent.com/u/29690?v=3","gravatar_id":"","url":"https://api.github.com/users/sosiouxme","html_url":"https://github.com/sosiouxme","followers_url":"https://api.github.com/users/sosiouxme/followers","following_url":"https://api.github.com/users/sosiouxme/following{/other_user}","gists_url":"https://api.github.com/users/sosiouxme/gists{/gist_id}","starred_url":"https://api.github.com/users/sosiouxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sosiouxme/subscriptions","organizations_url":"https://api.github.com/users/sosiouxme/orgs","repos_url":"https://api.github.com/users/sosiouxme/repos","events_url":"https://api.github.com/users/sosiouxme/events{/privacy}","received_events_url":"https://api.github.com/users/sosiouxme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-22T03:08:20Z","updated_at":"2015-05-26T20:00:19Z","closed_at":"2015-05-25T06:06:29Z","body":"I fixed up the docs on creating an example PV + PVC + pod:\r\nhttps://github.com/openshift/openshift-docs/pull/395\r\n\r\n... however something is still not quite working. When I created my pod, it sits in Pending forever and OpenShift has this message in the journal:\r\n\r\n`I0522 03:05:47.267683    1654 event.go:203] Event(api.ObjectReference{Kind:\\\"Pod\\\", Namespace:\\\"whatever\\\", Name:\\\"mypod\\\", UID:\\\"46114970-002d-11e5-ae4e-22000ab3877e\\\", APIVersion:\\\"v1beta3\\\", ResourceVersion:\\\"14869\\\", FieldPath:\\\"\\\"}): reason: 'failedSync' Error syncing pod, skipping: can't use volume plugins for (volume.Spec){Name:(string)myvol VolumeSource:(api.VolumeSource){HostPath:(*api.HostPathVolumeSource)<nil> EmptyDir:(*api.EmptyDirVolumeSource)<nil> GCEPersistentDisk:(*api.GCEPersistentDiskVolumeSource)<nil> AWSElasticBlockStore:(*api.AWSElasticBlockStoreVolumeSource)<nil> GitRepo:(*api.GitRepoVolumeSource)<nil> Secret:(*api.SecretVolumeSource)<nil> NFS:(*api.NFSVolumeSource)<nil> ISCSI:(*api.ISCSIVolumeSource)<nil> Glusterfs:(*api.GlusterfsVolumeSource)<nil> PersistentVolumeClaimVolumeSource:(*api.PersistentVolumeClaimVolumeSource){ClaimName:(string)claim1 ReadOnly:(bool)false}} PersistentVolumeSource:(api.PersistentVolumeSource){GCEPersistentDisk:(*api.GCEPersistentDiskVolumeSource)<nil> AWSElasticBlockStore:(*api.AWSElasticBlockStoreVolumeSource)<nil> HostPath:(*api.HostPathVolumeSource)<nil> Glusterfs:(*api.GlusterfsVolumeSource)<nil> NFS:(*api.NFSVolumeSource)<nil>}}: no volume plugin matched`\r\n\r\n@markturansky Since all the VolumeSource plugins seem to be nil I'm wondering if there is some additional config needed or just a tweak to the code to add the NFSVolumeSource at startup?"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/105648916","html_url":"https://github.com/openshift/origin/issues/2433#issuecomment-105648916","issue_url":"https://api.github.com/repos/openshift/origin/issues/2433","id":105648916,"user":{"login":"sosiouxme","id":29690,"avatar_url":"https://avatars.githubusercontent.com/u/29690?v=3","gravatar_id":"","url":"https://api.github.com/users/sosiouxme","html_url":"https://github.com/sosiouxme","followers_url":"https://api.github.com/users/sosiouxme/followers","following_url":"https://api.github.com/users/sosiouxme/following{/other_user}","gists_url":"https://api.github.com/users/sosiouxme/gists{/gist_id}","starred_url":"https://api.github.com/users/sosiouxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sosiouxme/subscriptions","organizations_url":"https://api.github.com/users/sosiouxme/orgs","repos_url":"https://api.github.com/users/sosiouxme/repos","events_url":"https://api.github.com/users/sosiouxme/events{/privacy}","received_events_url":"https://api.github.com/users/sosiouxme/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T20:00:19Z","updated_at":"2015-05-26T20:00:19Z","body":"@markturansky I'm afraid it still failed, but at least it failed differently. Same scenario:\r\n\r\n```\r\n# osc describe pod/mypod                                                                                                                                                                  \r\nName:                           mypod\r\n[...]Events:\r\n  FirstSeen                             LastSeen                        Count   From                            SubobjectPath   Reason          Message\r\n  Tue, 26 May 2015 19:48:53 +0000       Tue, 26 May 2015 19:48:53 +0000 1       {scheduler }                                    scheduled       Successfully assigned mypod to ip-10-136-62-105\r\n  Tue, 26 May 2015 19:49:06 +0000       Tue, 26 May 2015 19:54:40 +0000 31      {kubelet ip-10-136-62-105}                      failedMount     Unable to mount volumes for pod \"mypod_default\": unsupported volume\r\n type\r\n  Tue, 26 May 2015 19:49:06 +0000       Tue, 26 May 2015 19:54:40 +0000 31      {kubelet ip-10-136-62-105}                      failedSync      Error syncing pod, skipping: unsupported volume type\r\n\r\n# osc get pod/mypod -o json\r\n{\r\n    \"kind\": \"Pod\",\r\n    \"apiVersion\": \"v1beta3\",\r\n    \"metadata\": {\r\n        \"name\": \"mypod\",\r\n        \"namespace\": \"default\",\r\n        [...]\r\n    },\r\n    \"spec\": {\r\n        \"volumes\": [\r\n            {\r\n                \"name\": \"pvol\",\r\n                \"persistentVolumeClaim\": {\r\n                    \"claimName\": \"claim1\"\r\n                }\r\n            },\r\n            [...]\r\n```\r\n\r\nAny pointers what to look for now?"}}