{"action":"created","issue":{"url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/135","repository_url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve","labels_url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/135/comments","events_url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/135/events","html_url":"https://github.com/zchee/docker-machine-driver-xhyve/issues/135","id":178040985,"number":135,"title":"alternative boot2docker ISO image (minikube-iso) support","user":{"login":"s-urbaniak","id":375856,"avatar_url":"https://avatars.githubusercontent.com/u/375856?v=3","gravatar_id":"","url":"https://api.github.com/users/s-urbaniak","html_url":"https://github.com/s-urbaniak","followers_url":"https://api.github.com/users/s-urbaniak/followers","following_url":"https://api.github.com/users/s-urbaniak/following{/other_user}","gists_url":"https://api.github.com/users/s-urbaniak/gists{/gist_id}","starred_url":"https://api.github.com/users/s-urbaniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-urbaniak/subscriptions","organizations_url":"https://api.github.com/users/s-urbaniak/orgs","repos_url":"https://api.github.com/users/s-urbaniak/repos","events_url":"https://api.github.com/users/s-urbaniak/events{/privacy}","received_events_url":"https://api.github.com/users/s-urbaniak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-20T12:03:58Z","updated_at":"2016-09-20T15:52:33Z","closed_at":null,"body":"Hi,\r\n\r\nI am building an alternative boot2docker image called minikube-iso https://github.com/coreos/minikube-iso for the https://github.com/kubernetes/minikube project which include systemd, as well as the rkt container runtime. The ISO is built using http://buildroot.org.\r\n\r\nWhen starting using the following command:\r\n```\r\n$ minikube start --show-libmachine-logs=true --v=7 --logtostderr=true --iso-url=https://github.com/coreos/minikube-iso/releases/download/xhyve/minikube-xhyve.iso --vm-driver=xhyve\r\nI0920 13:37:51.313538   78441 notify.go:103] Checking for updates...\r\nStarting local Kubernetes cluster...\r\nFound binary path at /usr/local/bin/docker-machine-driver-xhyve\r\nLaunching plugin server for driver xhyve\r\nPlugin server listening at address 127.0.0.1:65105\r\n() DBG | operation not supported by device\r\n() Calling .GetVersion\r\nUsing API Version  1\r\n() Calling .SetConfigRaw\r\n() Calling .GetMachineName\r\n(minikube) Calling .GetMachineName\r\n(minikube) Calling .DriverName\r\nCreating CA: /Users/sur/.minikube/certs/ca.pem\r\nCreating client certificate: /Users/sur/.minikube/certs/cert.pem\r\nRunning pre-create checks...\r\n(minikube) Calling .PreCreateCheck\r\n(minikube) DBG | ===== Docker Machine xhyve Driver Version 0.2.3 (Homebrew) =====\r\n(minikube) DBG | \r\n(minikube) DBG | executing: /usr/local/bin/VBoxManage -v\r\n(minikube) DBG | STDOUT: 5.0.22r108108\r\n(minikube) DBG | \r\n(minikube) DBG | STDERR: \r\n(minikube) Calling .GetConfigRaw\r\nCreating machine...\r\n(minikube) Calling .Create\r\n(minikube) Downloading /Users/sur/.minikube/cache/boot2docker.iso from file:///Users/sur/.minikube/cache/iso/minikube-xhyve.iso...\r\n(minikube) Creating VM...\r\n(minikube) DBG | Mounting boot2docker.iso\r\n(minikube) Extracting vmlinuz64 and initrd.img from boot2docker.iso...\r\n(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/sur/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/sur/.minikube/machines\r\n/minikube/b2d-image] []  <nil> 0xc820026010 0xc820026018 [] <nil> <nil> <nil> <nil> false [] [] [] [] <nil>} attach /Users/sur/.minikube/machines/minikube/boot\r\n2docker.iso -mountpoint /Users/sur/.minikube/machines/minikube/b2d-image\r\n(minikube) /dev/disk9                                           /Users/sur/.minikube/machines/minikube/b2d-image\r\n(minikube) DBG | Extracting vmlinuz64 into /Users/sur/.minikube/machines/minikube\r\n(minikube) DBG | Extracting initrd.img into /Users/sur/.minikube/machines/minikube\r\n(minikube) DBG | Unmounting boot2docker.iso\r\n(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/sur/.minikube/machines/minikube/b2d-image] []  <nil> 0xc820026010 0xc820026018 [] <nil> <\r\nnil> <nil> <nil> false [] [] [] [] <nil>} detach /Users/sur/.minikube/machines/minikube/b2d-image\r\n(minikube) \"disk9\" unmounted.\r\n(minikube) \"disk9\" ejected.\r\n(minikube) Generating 20000MB disk image...\r\n(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/sur/.minikube/machines/minikube/root-volume] []  <nil\r\n> 0xc820026010 0xc820026018 [] <nil> <nil> <nil> <nil> false [] [] [] [] <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/sur/.minikube/machines/miniku\r\nbe/root-volume\r\n(minikube) created: /Users/sur/.minikube/machines/minikube/root-volume.sparsebundle\r\n(minikube) Creating SSH key...\r\n(minikube) Fix file permission...\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/boot2docker.iso\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/config.json\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/id_rsa\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/id_rsa.pub\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/initrd.img\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/root-volume.sparsebundle\r\n(minikube) DBG | /Users/sur/.minikube/machines/minikube/vmlinuz64\r\n(minikube) Generate UUID...\r\n(minikube) DBG | Generated UUID: 3FDDB05E-2DC8-40BB-AB35-F577EA3A43D2\r\n(minikube) Convert UUID to MAC address...\r\n(minikube) DBG | Converted MAC address: 7a:24:5a:36:cf:32\r\n(minikube) Starting minikube...\r\n(minikube) DBG | [xhyve -A -U 3FDDB05E-2DC8-40BB-AB35-F577EA3A43D2 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3,ahci-cd,/Us\r\ners/sur/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk9 -f kexec,/Users/sur/.minikube/machines/minikube/vmlinuz64,/Users/sur/.minikube/m\r\nachines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -F /Users/sur/.minikube\r\n/machines/minikube/minikube.pid -s 5,virtio-9p,host=/Users]\r\n(minikube) Waiting for VM to come online...\r\n(minikube) DBG | \r\n(minikube) DBG | Not there yet 1/60, error: IP not found for MAC 7a:24:5a:36:cf:32 in DHCP leases\r\n(minikube) DBG | operation not supported by device\r\n(minikube) Waiting on a pseudo-terminal to be ready... done\r\n(minikube) Hook up your terminal emulator to /dev/ttys005 in order to connect to your VM\r\n(minikube) DBG | vm exit[0]\r\n(minikube) DBG |        reason          VMX\r\n(minikube) Hook up a terminal emulator to /dev/ttys005 in order to access your VM\r\n(minikube) DBG |        rip             0xffffffff81908cdd\r\n(minikube) DBG |        inst_length     5\r\n(minikube) DBG |        status          0\r\n(minikube) DBG |        exit_reason     2\r\n(minikube) DBG |        qualification   0x0000000000000000\r\n(minikube) DBG |        inst_type               0\r\n(minikube) DBG |        inst_error              0\r\n(minikube) DBG | signal: abort trap &{0xc82000e140} &{0xc82000e160}\r\n(minikube) DBG | \r\n(minikube) DBG | Not there yet 2/60, error: IP not found for MAC 7a:24:5a:36:cf:32 in DHCP leases\r\n(minikube) DBG | \r\n(minikube) DBG | Not there yet 3/60, error: IP not found for MAC 7a:24:5a:36:cf:32 in DHCP leases\r\n...\r\n```\r\n\r\nEspecially the `vm exit[0]` apparently indicates something, but I am not able to reason about the output. I am sorry, that this lies outside of the \"regular\" boot2docker ISO, but any help/hint would be helpful. Am i missing some kernel module maybe?\r\n\r\nHere is the kernel configuration: https://github.com/s-urbaniak/minikube-iso/blob/xhyve-support/board/coreos/minikube/linux-4.7_defconfig\r\n\r\nPS: Creating a minikube instance using `minikube start --vm-driver=xhyve` works.\r\n\r\nThanks for any hints!"},"comment":{"url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/comments/248344573","html_url":"https://github.com/zchee/docker-machine-driver-xhyve/issues/135#issuecomment-248344573","issue_url":"https://api.github.com/repos/zchee/docker-machine-driver-xhyve/issues/135","id":248344573,"user":{"login":"zchee","id":6366270,"avatar_url":"https://avatars.githubusercontent.com/u/6366270?v=3","gravatar_id":"","url":"https://api.github.com/users/zchee","html_url":"https://github.com/zchee","followers_url":"https://api.github.com/users/zchee/followers","following_url":"https://api.github.com/users/zchee/following{/other_user}","gists_url":"https://api.github.com/users/zchee/gists{/gist_id}","starred_url":"https://api.github.com/users/zchee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zchee/subscriptions","organizations_url":"https://api.github.com/users/zchee/orgs","repos_url":"https://api.github.com/users/zchee/repos","events_url":"https://api.github.com/users/zchee/events{/privacy}","received_events_url":"https://api.github.com/users/zchee/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T15:52:33Z","updated_at":"2016-09-20T15:52:33Z","body":"@s-urbaniak ok :)"}}
{"actor":{"display_login":"zchee"}}