{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36280","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36280/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36280/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36280/events","html_url":"https://github.com/kubernetes/kubernetes/pull/36280","id":187470187,"number":36280,"title":"Better messaging for missing volume binaries on host","user":{"login":"rkouj","id":22875497,"avatar_url":"https://avatars.githubusercontent.com/u/22875497?v=3","gravatar_id":"","url":"https://api.github.com/users/rkouj","html_url":"https://github.com/rkouj","followers_url":"https://api.github.com/users/rkouj/followers","following_url":"https://api.github.com/users/rkouj/following{/other_user}","gists_url":"https://api.github.com/users/rkouj/gists{/gist_id}","starred_url":"https://api.github.com/users/rkouj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkouj/subscriptions","organizations_url":"https://api.github.com/users/rkouj/orgs","repos_url":"https://api.github.com/users/rkouj/repos","events_url":"https://api.github.com/users/rkouj/events{/privacy}","received_events_url":"https://api.github.com/users/rkouj/received_events","type":"User","site_admin":false},"labels":[{"id":176978828,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf","default":false},{"id":261005360,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/api-change","name":"kind/api-change","color":"c7def8","default":false},{"id":349530192,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-label-needed","name":"release-note-label-needed","color":"db5a64","default":false},{"id":253450978,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900","default":false}],"state":"open","locked":false,"assignee":{"login":"saad-ali","id":10052848,"avatar_url":"https://avatars.githubusercontent.com/u/10052848?v=3","gravatar_id":"","url":"https://api.github.com/users/saad-ali","html_url":"https://github.com/saad-ali","followers_url":"https://api.github.com/users/saad-ali/followers","following_url":"https://api.github.com/users/saad-ali/following{/other_user}","gists_url":"https://api.github.com/users/saad-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/saad-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saad-ali/subscriptions","organizations_url":"https://api.github.com/users/saad-ali/orgs","repos_url":"https://api.github.com/users/saad-ali/repos","events_url":"https://api.github.com/users/saad-ali/events{/privacy}","received_events_url":"https://api.github.com/users/saad-ali/received_events","type":"User","site_admin":false},"assignees":[{"login":"saad-ali","id":10052848,"avatar_url":"https://avatars.githubusercontent.com/u/10052848?v=3","gravatar_id":"","url":"https://api.github.com/users/saad-ali","html_url":"https://github.com/saad-ali","followers_url":"https://api.github.com/users/saad-ali/followers","following_url":"https://api.github.com/users/saad-ali/following{/other_user}","gists_url":"https://api.github.com/users/saad-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/saad-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saad-ali/subscriptions","organizations_url":"https://api.github.com/users/saad-ali/orgs","repos_url":"https://api.github.com/users/saad-ali/repos","events_url":"https://api.github.com/users/saad-ali/events{/privacy}","received_events_url":"https://api.github.com/users/saad-ali/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-11-05T01:58:40Z","updated_at":"2016-11-08T00:09:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/36280","html_url":"https://github.com/kubernetes/kubernetes/pull/36280","diff_url":"https://github.com/kubernetes/kubernetes/pull/36280.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/36280.patch"},"body":"**What this PR does / why we need it**:\r\nWhen mount binaries are not present on a host, the error returned is a generic one.\r\nThis change is to check the mount binaries before the mount and return a user-friendly error message.\r\n\r\nThis change is specific to GCI and the flag is experimental now.\r\n\r\n\r\n**Release note**:\r\n`NONE`\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/36280)\r\n<!-- Reviewable:end -->\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nSample output post change :\r\n\r\n\r\nrkouj@rkouj0:~/go/src/k8s.io/kubernetes$ kubectl create -f ~/nfsrc.yaml \r\nreplicationcontroller \"sleepyrc\" created\r\nrkouj@rkouj0:~/go/src/k8s.io/kubernetes$ kubectl describe pods\r\nName:\t\tsleepyrc-zy3lb\r\nNamespace:\tdefault\r\nNode:\t\te2e-test-rkouj-minion-group-tc0h/10.240.0.5\r\nStart Time:\tMon, 07 Nov 2016 12:08:05 -0800\r\nLabels:\t\tname=sleepy\r\nStatus:\t\tPending\r\nIP:\t\t\r\nControllers:\tReplicationController/sleepyrc\r\nContainers:\r\n  sleepycontainer1:\r\n    Container ID:\t\r\n    Image:\t\tgcr.io/google_containers/busybox\r\n    Image ID:\t\t\r\n    Port:\t\t\r\n    Command:\r\n      sleep\r\n      6000\r\n    QoS Tier:\r\n      cpu:\tBurstable\r\n      memory:\tBestEffort\r\n    Requests:\r\n      cpu:\t\t100m\r\n    State:\t\tWaiting\r\n      Reason:\t\tContainerCreating\r\n    Ready:\t\tFalse\r\n    Restart Count:\t0\r\n    Environment Variables:\r\nConditions:\r\n  Type\t\tStatus\r\n  Initialized \tTrue \r\n  Ready \tFalse \r\n  PodScheduled \tTrue \r\nVolumes:\r\n  data:\r\n    Type:\tNFS (an NFS mount that lasts the lifetime of a pod)\r\n    Server:\t127.0.0.1\r\n    Path:\t/export\r\n    ReadOnly:\tfalse\r\n  default-token-r1h3t:\r\n    Type:\tSecret (a volume populated by a Secret)\r\n    SecretName:\tdefault-token-r1h3t\r\nEvents:\r\n  FirstSeen\tLastSeen\tCount\tFrom\t\t\t\t\t\tSubobjectPath\tType\t\tReason\t\tMessage\r\n  ---------\t--------\t-----\t----\t\t\t\t\t\t-------------\t--------\t------\t\t-------\r\n  6s\t\t6s\t\t1\t{default-scheduler }\t\t\t\t\t\tNormal\t\tScheduled\tSuccessfully assigned sleepyrc-zy3lb to e2e-test-rkouj-minion-group-tc0h\r\n  6s\t\t2s\t\t4\t{kubelet e2e-test-rkouj-minion-group-tc0h}\t\t\tWarning\t\tFailedMount\tUnable to mount volume kubernetes.io/nfs/e4b03b84-a525-11e6-b906-42010af00002-data (spec.Name: data) on pod sleepyrc-zy3lb (UID: e4b03b84-a525-11e6-b906-42010af00002). Binary required for mounting, does not exist on the node machine. Verify that your node machine has the required binaries before attempting to mount this volume type Required binary /sbin/mount.nfs is missing\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/259005035","html_url":"https://github.com/kubernetes/kubernetes/pull/36280#issuecomment-259005035","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/36280","id":259005035,"user":{"login":"k8s-ci-robot","id":20407524,"avatar_url":"https://avatars.githubusercontent.com/u/20407524?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T00:09:55Z","updated_at":"2016-11-08T00:09:55Z","body":"Jenkins unit/integration [**failed**](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/36280/pull-kubernetes-unit/4111/) for commit a6de94f402d1ec8833892c5540290beca98d358a. [Full PR test history](http://pr-test.k8s.io/36280).\n\nThe magic incantation to run this job again is `@k8s-bot unit test this`. Please help us cut down flakes by linking to an [open flake issue](https://github.com/kubernetes/kubernetes/issues?q=is:issue+label:kind/flake+is:open) when you hit one in your PR."}}
{"actor":{"display_login":"k8s-ci-robot"}}