{"action":"created","issue":{"url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/113","repository_url":"https://api.github.com/repos/luxas/kubernetes-on-arm","labels_url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/113/comments","events_url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/113/events","html_url":"https://github.com/luxas/kubernetes-on-arm/issues/113","id":166654802,"number":113,"title":"Include nfs-common in hypercube","user":{"login":"mitchese","id":4692173,"avatar_url":"https://avatars.githubusercontent.com/u/4692173?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchese","html_url":"https://github.com/mitchese","followers_url":"https://api.github.com/users/mitchese/followers","following_url":"https://api.github.com/users/mitchese/following{/other_user}","gists_url":"https://api.github.com/users/mitchese/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchese/subscriptions","organizations_url":"https://api.github.com/users/mitchese/orgs","repos_url":"https://api.github.com/users/mitchese/repos","events_url":"https://api.github.com/users/mitchese/events{/privacy}","received_events_url":"https://api.github.com/users/mitchese/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T18:52:37Z","updated_at":"2016-07-22T21:56:11Z","closed_at":null,"body":"I am trying to use NFS for a persistent volume in a container. I am getting the error \"wrong fstype\" when trying to deploy the container.\r\n\r\nI've installed nfs-common in both the container itself, as well as the base OS with no luck. After hopping into the hypercube image via docker exec exec and installing it, it seems to be working.\r\n\r\nMounting the nfs share on the host works fine, so it's not that it's missing on the host.\r\n\r\nRelevant section of the error log: \r\n```\r\nEvents:\r\n  FirstSeen\tLastSeen\tCount\tFrom\t\t\t\tSubobjectPath\tType\t\tReason\t\tMessage\r\n  ---------\t--------\t-----\t----\t\t\t\t-------------\t--------\t------\t\t-------\r\n  15s\t\t15s\t\t1\t{default-scheduler }\t\t\t\tNormal\t\tScheduled\tSuccessfully assigned gitlab-o5iay to 192.168.141.42\r\n  15s\t\t1s\t\t2\t{kubelet 192.168.141.42}\t\t\tWarning\t\tFailedMount\tUnable to mount volumes for pod \"gitlab-o5iay_default(c052ee18-4ea6-11e6-8652-b827ebb55e21)\": Mount failed: exit status 32\r\nMounting arguments: 192.168.141.41:/media/docker/gitlab /var/lib/kubelet/pods/c052ee18-4ea6-11e6-8652-b827ebb55e21/volumes/kubernetes.io~nfs/data nfs []\r\nOutput: mount: wrong fs type, bad option, bad superblock on 192.168.141.41:/media/docker/gitlab,\r\n       missing codepage or helper program, or other error\r\n       (for several filesystems (e.g. nfs, cifs) you might\r\n       need a /sbin/mount.<type> helper program)\r\n\r\n       In some cases useful info is found in syslog - try\r\n       dmesg | tail or so.\r\n\r\n\r\n  15s\t1s\t2\t{kubelet 192.168.141.42}\t\tWarning\tFailedSync\tError syncing pod, skipping: Mount failed: exit status 32\r\nMounting arguments: 192.168.141.41:/media/docker/gitlab /var/lib/kubelet/pods/c052ee18-4ea6-11e6-8652-b827ebb55e21/volumes/kubernetes.io~nfs/data nfs []\r\n``` \r\n\r\nFrom the Dockerfile of the container: \r\n```\r\n      volumes:\r\n      - name: data\r\n        nfs:\r\n            server: 192.168.141.41\r\n            path: /media/docker/gitlab\r\n```\r\n\r\nWould this be an acceptable solution for mounting persistent volumes, or is there a better way that I'm missing? "},"comment":{"url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/comments/234666874","html_url":"https://github.com/luxas/kubernetes-on-arm/issues/113#issuecomment-234666874","issue_url":"https://api.github.com/repos/luxas/kubernetes-on-arm/issues/113","id":234666874,"user":{"login":"luxas","id":5442475,"avatar_url":"https://avatars.githubusercontent.com/u/5442475?v=3","gravatar_id":"","url":"https://api.github.com/users/luxas","html_url":"https://github.com/luxas","followers_url":"https://api.github.com/users/luxas/followers","following_url":"https://api.github.com/users/luxas/following{/other_user}","gists_url":"https://api.github.com/users/luxas/gists{/gist_id}","starred_url":"https://api.github.com/users/luxas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxas/subscriptions","organizations_url":"https://api.github.com/users/luxas/orgs","repos_url":"https://api.github.com/users/luxas/repos","events_url":"https://api.github.com/users/luxas/events{/privacy}","received_events_url":"https://api.github.com/users/luxas/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T21:56:11Z","updated_at":"2016-07-22T21:56:11Z","body":"Thanks for the issue.\r\nI'm gonna use the official hyperkube images now in the next release, so I suggest you should make a PR against official Kubernetes and add `nfs-common` there."}}
{"actor":{"display_login":"luxas"}}