{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/minikube/issues/2266","repository_url":"https://api.github.com/repos/kubernetes/minikube","labels_url":"https://api.github.com/repos/kubernetes/minikube/issues/2266/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/minikube/issues/2266/comments","events_url":"https://api.github.com/repos/kubernetes/minikube/issues/2266/events","html_url":"https://github.com/kubernetes/minikube/issues/2266","id":278989605,"number":2266,"title":"hyperkit missing runtime dependency","user":{"login":"aecolley","id":6503649,"avatar_url":"https://avatars2.githubusercontent.com/u/6503649?v=4","gravatar_id":"","url":"https://api.github.com/users/aecolley","html_url":"https://github.com/aecolley","followers_url":"https://api.github.com/users/aecolley/followers","following_url":"https://api.github.com/users/aecolley/following{/other_user}","gists_url":"https://api.github.com/users/aecolley/gists{/gist_id}","starred_url":"https://api.github.com/users/aecolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aecolley/subscriptions","organizations_url":"https://api.github.com/users/aecolley/orgs","repos_url":"https://api.github.com/users/aecolley/repos","events_url":"https://api.github.com/users/aecolley/events{/privacy}","received_events_url":"https://api.github.com/users/aecolley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-04T13:07:27Z","updated_at":"2017-12-14T18:58:49Z","closed_at":"2017-12-14T18:58:49Z","author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?** (choose one): BUG REPORT\r\n\r\nPlease provide the following details:\r\n\r\n**Environment**:\r\n\r\n**Minikube version** (use `minikube version`): v0.24.1\r\n- **OS** (e.g. from /etc/os-release): macOS Sierra 10.12.6\r\n- **VM Driver** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep DriverName`): hyperkit\r\n- **ISO version** (e.g. `cat ~/.minikube/machines/minikube/config.json | grep -i ISO` or `minikube ssh cat /etc/VERSION`): v0.23.6\r\n- **Install tools**: homebrew cask\r\n- **Others**:\r\n`docker-machine-driver-hyperkit` downloaded and installed as per instructions\r\n\r\n**What happened**:\r\n`minikube start` fails with error message `Error starting host:  Error creating host: Error creating machine: Error in driver during machine creation: Could not find hyperkit executable`. This is almost certainly because the hyperkit driver depends on something else being installed (such as the \"Docker for Mac\" app), but the dependency is not documented.\r\n\r\n**What you expected to happen**:\r\nNormal start as with now-deprecated xhyve vm-driver.\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n\r\n```\r\n$ minikube version\r\nminikube version: v0.24.1\r\n$ minikube config view\r\n- WantReportErrorPrompt: false\r\n- vm-driver: hyperkit\r\n$ minikube status\r\nminikube:\r\ncluster:\r\nkubectl:\r\n$ command -v docker-machine-driver-hyperkit\r\n/usr/local/bin/docker-machine-driver-hyperkit\r\n$ shasum -a 256 /usr/local/bin/docker-machine-driver-hyperkit\r\n2c355e637c7acfd1b87bf575833902cf124332b0637d640abf474f93423c9c3f  /usr/local/bin/docker-machine-driver-hyperkit\r\n$ ls -ld /usr/local/bin/docker-machine-driver-hyperkit\r\n-rwsr-xr-x  1 root  wheel  25305604  4 Dec 11:49 /usr/local/bin/docker-machine-driver-hyperkit\r\n$ command -v hyperkit\r\n$ command -v com.docker.hyperkit\r\n$ command -v /usr/local/bin/hyperkit\r\n$ command -v /Applications/Docker.app/Contents/Resources/bin/hyperkit\r\n$ command -v /Applications/Docker.app/Contents/MacOS/com.docker.hyperkit\r\n$ minikube start\r\nStarting local Kubernetes v1.8.0 cluster...\r\nStarting VM...\r\nE1204 12:59:53.054546   16073 start.go:150] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Could not find hyperkit executable.\r\n\r\n Retrying.\r\nE1204 12:59:53.057590   16073 start.go:156] Error starting host:  Error creating host: Error creating machine: Error in driver during machine creation: Could not find hyperkit executable\r\n$ minikube status\r\nminikube: Stopped\r\ncluster:\r\nkubectl:\r\n$\r\n```\r\n\r\n**Output of `minikube logs` (if applicable)**:\r\n```\r\nF1204 13:01:03.926269   16103 logs.go:50] Error getting cluster bootstrapper: getting localkube bootstrapper: getting ssh client: Error dialing tcp via ssh client: dial tcp :22: getsockopt: connection refused\r\n```\r\n**Anything else do we need to know**:\r\nThe error message comes from `checkHyperKit` in the `go/hyperkit.go` file of the `moby/hyperkit` repo, when it has failed to find any of the elements of the `defaultHyperKits` array as executable commands on the runtime PATH. In the to-reproduce section of this report, all 5 elements are checked for and they are not present."},"comment":{"url":"https://api.github.com/repos/kubernetes/minikube/issues/comments/351803900","html_url":"https://github.com/kubernetes/minikube/issues/2266#issuecomment-351803900","issue_url":"https://api.github.com/repos/kubernetes/minikube/issues/2266","id":351803900,"user":{"login":"r2d4","id":896032,"avatar_url":"https://avatars1.githubusercontent.com/u/896032?v=4","gravatar_id":"","url":"https://api.github.com/users/r2d4","html_url":"https://github.com/r2d4","followers_url":"https://api.github.com/users/r2d4/followers","following_url":"https://api.github.com/users/r2d4/following{/other_user}","gists_url":"https://api.github.com/users/r2d4/gists{/gist_id}","starred_url":"https://api.github.com/users/r2d4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r2d4/subscriptions","organizations_url":"https://api.github.com/users/r2d4/orgs","repos_url":"https://api.github.com/users/r2d4/repos","events_url":"https://api.github.com/users/r2d4/events{/privacy}","received_events_url":"https://api.github.com/users/r2d4/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T18:58:49Z","updated_at":"2017-12-14T18:58:49Z","author_association":"COLLABORATOR","body":"You should download the hyperkit driver from our releases at https://github.com/kubernetes/minikube/releases/download/v0.24.1/docker-machine-driver-hyperkit\r\n\r\nYou can find the full instructions here:\r\nhttps://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver\r\n\r\n"}}
{"actor":{"display_login":"r2d4"}}