{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12650","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12650/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12650/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12650/events","html_url":"https://github.com/kubernetes/kubernetes/issues/12650","id":100768254,"number":12650,"title":"Make volume.CanSupport return (bool, error)","user":{"login":"markturansky","id":8001968,"avatar_url":"https://avatars.githubusercontent.com/u/8001968?v=3","gravatar_id":"","url":"https://api.github.com/users/markturansky","html_url":"https://github.com/markturansky","followers_url":"https://api.github.com/users/markturansky/followers","following_url":"https://api.github.com/users/markturansky/following{/other_user}","gists_url":"https://api.github.com/users/markturansky/gists{/gist_id}","starred_url":"https://api.github.com/users/markturansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markturansky/subscriptions","organizations_url":"https://api.github.com/users/markturansky/orgs","repos_url":"https://api.github.com/users/markturansky/repos","events_url":"https://api.github.com/users/markturansky/events{/privacy}","received_events_url":"https://api.github.com/users/markturansky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/install","name":"area/install","color":"d4c5f9"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/storage","name":"area/storage","color":"006b75"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/volumes","name":"area/volumes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/component/kubelet","name":"component/kubelet","color":"0052cc"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/cluster","name":"team/cluster","color":"d2b48c"}],"state":"open","locked":false,"assignee":{"login":"markturansky","id":8001968,"avatar_url":"https://avatars.githubusercontent.com/u/8001968?v=3","gravatar_id":"","url":"https://api.github.com/users/markturansky","html_url":"https://github.com/markturansky","followers_url":"https://api.github.com/users/markturansky/followers","following_url":"https://api.github.com/users/markturansky/following{/other_user}","gists_url":"https://api.github.com/users/markturansky/gists{/gist_id}","starred_url":"https://api.github.com/users/markturansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markturansky/subscriptions","organizations_url":"https://api.github.com/users/markturansky/orgs","repos_url":"https://api.github.com/users/markturansky/repos","events_url":"https://api.github.com/users/markturansky/events{/privacy}","received_events_url":"https://api.github.com/users/markturansky/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-08-13T13:23:43Z","updated_at":"2015-11-03T18:07:20Z","closed_at":null,"body":"Many volumes have dependencies on a binary being on the node, such as ISCSI, RBD, Gluster, and even GitRepo.   If the binary is not present, CanSupport returns False and gives the user a \"No plugins found\" error.\r\n\r\nA user has a reasonable expectation for, say, RBD to be supported and it requires debugging to understand the binary isn't present.  A better error message would be something like \"RBD binary not installed\".  CanSupport should return (bool, error) to support that.\r\n\r\n@smarterclayton @thockin @kubernetes/rh-storage  Thoughts on this UX improvement?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/153439531","html_url":"https://github.com/kubernetes/kubernetes/issues/12650#issuecomment-153439531","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/12650","id":153439531,"user":{"login":"markturansky","id":8001968,"avatar_url":"https://avatars.githubusercontent.com/u/8001968?v=3","gravatar_id":"","url":"https://api.github.com/users/markturansky","html_url":"https://github.com/markturansky","followers_url":"https://api.github.com/users/markturansky/followers","following_url":"https://api.github.com/users/markturansky/following{/other_user}","gists_url":"https://api.github.com/users/markturansky/gists{/gist_id}","starred_url":"https://api.github.com/users/markturansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markturansky/subscriptions","organizations_url":"https://api.github.com/users/markturansky/orgs","repos_url":"https://api.github.com/users/markturansky/repos","events_url":"https://api.github.com/users/markturansky/events{/privacy}","received_events_url":"https://api.github.com/users/markturansky/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T18:07:20Z","updated_at":"2015-11-03T18:07:20Z","body":"https://github.com/kubernetes/kubernetes/issues/16727 has the conversation around a solution.\r\n\r\nI'm kind of glad this issue wasn't implemented yet because the bug in #16727 wouldn't have been solved.  With the solution discussed in that issue, we can return better errors, which is what this issue was intended to provide.\r\n\r\n"}}