-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xhyve driver not working anymore on MacOS 10.12 sierra #646
Comments
I just tried with xhyve and seems to be working for me.. Im sure its provisioning at the moment, so i think its past your stage.
|
I can confirm this – had the same issue and it's the Or I could upload the fixed plugin binary somewhere. Alas, that would mean you trusting me. |
I don't see this problem and can run minikube successfully with everything installed by homebrew:
Installation procedure for xhyve/docker-machine/docker-machine-driver-xhyve:
Maybe it's an issue with docker-machine-driver-xhyve when installed with GO?
|
@annismckenzie thanks, that makes sense, will try recompiling the plugin from source. |
Holler if you need help. :) Sent from my iPhone SE
|
@shushen I see, hmm, will try again, maybe something is borked in my system, as mine is also installed with brew. Maybe it's the local go version, that one seems to be outdated, will try installing go with homebrew. |
So after seeing that my local go version was set to 1.4.2 by Sierra I installed a recent go 1.7.1 with homebrew. After a reboot suddenly things are working. So there's no real need for a recompile, you just need a recent go version running. Thanks @shushen for the hint. |
None of the above workarounds (build plugin from source, ensure Go 1.7+) seem to help us. Still seeing this consistently: $ minikube start --cpus=2 --disk-size=40g --memory=4096 --logtostderr --show-libmachine-logs --vm-driver=xhyve
W1017 12:53:45.062066 7668 root.go:127] Error reading config file at /Users/matt/.minikube/config/config.json: open /Users/matt/.minikube/config/config.json: no such file or directory
I1017 12:53:45.062272 7668 notify.go:111] Checking for updates...
Starting local Kubernetes cluster...
Running pre-create checks...
Creating machine...
(minikube) Downloading /Users/matt/.minikube/cache/boot2docker.iso from file:///Users/matt/.minikube/cache/iso/minikube-0.7.iso...
(minikube) Creating VM...
(minikube) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(minikube) /dev/disk2 /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) "disk2" unmounted.
(minikube) "disk2" ejected.
(minikube) Generating 40000MB disk image...
(minikube) created: /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) Creating SSH key...
(minikube) Fix file permission...
(minikube) Using Supplied UUID: 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847
(minikube) Convert UUID to MAC address...
(minikube) Starting minikube...
(minikube) Waiting for VM to come online...
E1017 12:56:07.155903 7668 start.go:87] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting. Retrying.
I1017 12:56:07.155991 7668 cluster.go:75] Machine exists!
I1017 12:56:07.180160 7668 cluster.go:82] Machine state: Error
(minikube) Waiting for VM to come online...
E1017 12:58:08.581202 7668 start.go:87] Error starting host: Error starting stopped host: Machine didn't return an IP after 120 seconds, aborting. Retrying.
I1017 12:58:08.581262 7668 cluster.go:75] Machine exists!
I1017 12:58:08.599697 7668 cluster.go:82] Machine state: Error
(minikube) Waiting for VM to come online...
E1017 13:00:10.014103 7668 start.go:87] Error starting host: Error starting stopped host: Machine didn't return an IP after 120 seconds, aborting. Retrying.
E1017 13:00:10.014177 7668 start.go:93] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting
Error starting stopped host: Machine didn't return an IP after 120 seconds, aborting
Error starting stopped host: Machine didn't return an IP after 120 seconds, aborting
========================================An error has occurred. Would you like to opt in to sending anonymized crash information to minikube to help prevent future errors?(To opt out of these messages, run the command)
minikube config set WantReportErrorPrompt false========================================
Please enter your response [Y/n]: Virtualbox works, but is noticeably slower than xhyve for this purpose. Would really love to help troubleshoot or fix this, just not sure where to dig in. |
Ah, just to confirm have you tried building the docker-machine-driver-xhyve binary from source? @zchee what version of Go did you use to build this? |
Yes, but I realize I hadn't used I1017 13:05:21.995939 10322 notify.go:111] Checking for updates...
Starting local Kubernetes cluster...
Running pre-create checks...
Creating machine...
(minikube) Downloading /Users/matt/.minikube/cache/boot2docker.iso from file:///Users/matt/.minikube/cache/iso/minikube-0.7.iso...
(minikube) Creating VM...
(minikube) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(minikube) /dev/disk3 /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) "disk3" unmounted.
(minikube) "disk3" ejected.
(minikube) Generating 40000MB disk image...
(minikube) created: /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) Creating SSH key...
(minikube) Fix file permission...
(minikube) Generate UUID...
(minikube) Convert UUID to MAC address...
(minikube) Starting minikube...
(minikube) Waiting for VM to come online...
(minikube) Waiting on a pseudo-terminal to be ready... done
(minikube) Hook up your terminal emulator to /dev/ttys000 in order to connect to your VM
E1017 13:07:31.309276 10322 start.go:87] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting. Retrying.
I1017 13:07:31.309382 10322 cluster.go:75] Machine exists!
I1017 13:07:31.335096 10322 cluster.go:82] Machine state: Running
Waiting for SSH to be available...
[timeouts] I'll try also building docker-machine-driver-xhyve from source now, in conjunction with Update: no joy, still times out. Weird... |
Ah, yeah. docker-machine-driver-xhyve fully bundles it's own version of xhyve. It's basically standalone. |
@mboersma try adding |
$ minikube start --v=5 --logtostderr --show-libmachine-logs --vm-driver=xhyve
I1017 14:45:26.177041 17082 notify.go:111] Checking for updates...
Starting local Kubernetes cluster...
Found binary path at /Users/matt/Projects/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:57383
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) DBG | ===== Docker Machine xhyve Driver Version 0.2.3 (HEAD) =====
(minikube) DBG |
(minikube) DBG | executing: /usr/local/bin/VBoxManage -v
(minikube) DBG | STDOUT: 5.1.6r110634
(minikube) DBG |
(minikube) DBG | STDERR:
(minikube) Calling .GetConfigRaw
Creating machine...
(minikube) Calling .Create
(minikube) Downloading /Users/matt/.minikube/cache/boot2docker.iso from file:///Users/matt/.minikube/cache/iso/minikube-0.7.iso...
(minikube) Creating VM...
(minikube) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(minikube) DBG | Mounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/matt/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/matt/.minikube/machines/minikube/b2d-image] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/matt/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) /dev/disk8 /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) DBG | Extracting vmlinuz64 into /Users/matt/.minikube/machines/minikube
(minikube) DBG | Extracting initrd.img into /Users/matt/.minikube/machines/minikube
(minikube) DBG | Unmounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/matt/.minikube/machines/minikube/b2d-image] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) "disk8" unmounted.
(minikube) "disk8" ejected.
(minikube) Generating 20000MB disk image...
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/matt/.minikube/machines/minikube/root-volume] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/matt/.minikube/machines/minikube/root-volume
(minikube) created: /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) Creating SSH key...
(minikube) Fix file permission...
(minikube) DBG | /Users/matt/.minikube/machines/minikube/boot2docker.iso
(minikube) DBG | /Users/matt/.minikube/machines/minikube/config.json
(minikube) DBG | /Users/matt/.minikube/machines/minikube/id_rsa
(minikube) DBG | /Users/matt/.minikube/machines/minikube/id_rsa.pub
(minikube) DBG | /Users/matt/.minikube/machines/minikube/initrd.img
(minikube) DBG | /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) DBG | /Users/matt/.minikube/machines/minikube/vmlinuz64
(minikube) Using Supplied UUID: 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847
(minikube) Convert UUID to MAC address...
(minikube) DBG | Running command: /Users/matt/Projects/bin/docker-machine-driver-xhyve [xhyve -A -U 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk8 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -M]
(minikube) DBG | Converted MAC address: a6:4a:e0:e:cb:64
(minikube) Starting minikube...
(minikube) DBG | [xhyve -A -U 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk8 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -F /Users/matt/.minikube/machines/minikube/minikube.pid -s 5,virtio-9p,host=/Users]
(minikube) Waiting for VM to come online...
(minikube) DBG |
(minikube) DBG | Not there yet 1/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG | operation not supported by device
(minikube) DBG | pci slot 5:0: unknown device "virtio-9p"
(minikube) DBG | exit status 1 &{0xc4200101e0} &{0xc420010200}
(minikube) DBG |
(minikube) DBG | Not there yet 2/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG |
(minikube) DBG | Not there yet 3/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG |
... [continues] |
@mboersma We enable the 9p filesystem by default with the xhyve driver. This is responsible for mounting your Can you try rebuilding minikube with this set to Additionally, increasing loglevel in the bootcmd will show even more logs from the xhyve driver [Maybe we should pass our --v level into this loglevel, however it might be too much info for most issues debugging] |
@dlorenc @mboersma @r2d4 short reply and probably (because browsing iPhone...)
I will more detail comment later. |
btw, my success with that go update was only temporary. I guess I'll just wait for @zchee to make the next release. |
@puja108 Sorry 🙇 @mboersma
It seems its binary is not installed by the
Maybe you installed by The short answer: go get -u -d github.com/zchee/docker-machine-driver-xhyve
cd $GOPATH/src/github.com/zchee/docker-machine-driver-xhyve
# just in case
git submodule update --init
# build and install
make install
# or if want verbose
make install V=1 I was added small trick to
So, And now, my driver has been not supported And, _why does not support Also, If not add So, I think you're binary not static linked pci slot 5:0: unknown device "virtio-9p" Please try nm $(which docker-machine-driver-xhyve) | grep _l9p If anything does not appear, it is not linked. |
@zchee thank you so much for the help! I followed your build instructions above but things still aren't working: $ nm $(which docker-machine-driver-xhyve) | grep _l9p
000000000438b580 T _l9p_backend_fs_init
00000000043890f0 T _l9p_connection_alloc_fid
0000000004389010 T _l9p_connection_close
0000000004388dd0 T _l9p_connection_free
0000000004388c70 T _l9p_connection_init
0000000004388e70 T _l9p_connection_on_get_response_buffer
0000000004388e40 T _l9p_connection_on_send_response
0000000004388ea0 T _l9p_connection_recv
0000000004389190 T _l9p_connection_remove_fid
000000000438aaf0 T _l9p_describe_fcall
000000000438a960 T _l9p_describe_qid
000000000438aa20 T _l9p_describe_stat
00000000043891f0 T _l9p_dispatch_request
0000000004388680 T _l9p_freefcall
00000000043887f0 T _l9p_freestat
0000000004389520 T _l9p_pack_stat
0000000004387eb0 T _l9p_pufcall
0000000004387950 T _l9p_pustat
0000000004389290 T _l9p_respond
000000000438a700 T _l9p_seek_iov
0000000004388b90 T _l9p_server_init
0000000004387b40 T _l9p_sizeof_stat
000000000438a870 T _l9p_truncate_iov
$ minikube start --v=5 --logtostderr --show-libmachine-logs --vm-driver=xhyve
W1018 10:59:23.674434 828 root.go:127] Error reading config file at /Users/matt/.minikube/config/config.json: open /Users/matt/.minikube/config/config.json: no such file or directory
I1018 10:59:23.675267 828 notify.go:111] Checking for updates...
Starting local Kubernetes cluster...
Found binary path at /usr/local/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:49646
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Creating CA: /Users/matt/.minikube/certs/ca.pem
Creating client certificate: /Users/matt/.minikube/certs/cert.pem
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) DBG | ===== Docker Machine xhyve Driver Version 0.2.3 (8b542eb) =====
(minikube) DBG |
(minikube) DBG | executing: /usr/local/bin/VBoxManage -v
(minikube) DBG | STDOUT: 5.1.6r110634
(minikube) DBG |
(minikube) DBG | STDERR:
(minikube) Calling .GetConfigRaw
Creating machine...
(minikube) Calling .Create
(minikube) Downloading /Users/matt/.minikube/cache/boot2docker.iso from file:///Users/matt/.minikube/cache/iso/minikube-0.7.iso...
(minikube) Creating VM...
(minikube) Extracting vmlinuz64 and initrd.img from boot2docker.iso...
(minikube) DBG | Mounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/matt/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/matt/.minikube/machines/minikube/b2d-image] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/matt/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) /dev/disk2 /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) DBG | Extracting vmlinuz64 into /Users/matt/.minikube/machines/minikube
(minikube) DBG | Extracting initrd.img into /Users/matt/.minikube/machines/minikube
(minikube) DBG | Unmounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/matt/.minikube/machines/minikube/b2d-image] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/matt/.minikube/machines/minikube/b2d-image
(minikube) "disk2" unmounted.
(minikube) "disk2" ejected.
(minikube) Generating 20000MB disk image...
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/matt/.minikube/machines/minikube/root-volume] [] <nil> 0xc42002a010 0xc42002a018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/matt/.minikube/machines/minikube/root-volume
(minikube) created: /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) Creating SSH key...
(minikube) Fix file permission...
(minikube) DBG | /Users/matt/.minikube/machines/minikube/boot2docker.iso
(minikube) DBG | /Users/matt/.minikube/machines/minikube/config.json
(minikube) DBG | /Users/matt/.minikube/machines/minikube/id_rsa
(minikube) DBG | /Users/matt/.minikube/machines/minikube/id_rsa.pub
(minikube) DBG | /Users/matt/.minikube/machines/minikube/initrd.img
(minikube) DBG | /Users/matt/.minikube/machines/minikube/root-volume.sparsebundle
(minikube) DBG | /Users/matt/.minikube/machines/minikube/vmlinuz64
(minikube) Using Supplied UUID: 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847
(minikube) Convert UUID to MAC address...
(minikube) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk2 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -M]
(minikube) DBG | Converted MAC address: a6:4a:e0:e:cb:64
(minikube) Starting minikube...
(minikube) DBG | [xhyve -A -U 57FD2012-FA4A-4FF7-AEFF-26E1A1D76847 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk2 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -F /Users/matt/.minikube/machines/minikube/minikube.pid -s 5,virtio-9p,host=/Users]
(minikube) Waiting for VM to come online...
(minikube) DBG |
(minikube) DBG | Not there yet 1/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG | operation not supported by device
(minikube) Waiting on a pseudo-terminal to be ready... done
(minikube) Hook up your terminal emulator to /dev/ttys001 in order to connect to your VM
(minikube) DBG |
(minikube) DBG | Not there yet 2/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG |
(minikube) DBG | Not there yet 3/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG |
(minikube) DBG | Not there yet 4/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG | rdmsr to register 0x34 on vcpu 0
(minikube) DBG |
(minikube) DBG | Not there yet 5/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
(minikube) DBG |
...
(minikube) DBG | Not there yet 60/60, error: IP not found for MAC a6:4a:e0:e:cb:64 in DHCP leases
E1018 11:01:40.520364 828 start.go:87] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting. Retrying.
I1018 11:01:40.520480 828 cluster.go:75] Machine exists!
Found binary path at /usr/local/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:49677
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetState
I1018 11:01:40.540580 828 cluster.go:82] Machine state: Running
Waiting for SSH to be available...
Getting to WaitForSSH function...
(minikube) Calling .GetSSHHostname
(minikube) DBG |
Error getting ssh command 'exit 0' : IP not found for MAC in DHCP leases
Getting to WaitForSSH function...
(minikube) Calling .GetSSHHostname
(minikube) DBG |
... [times out] Let me know if there are other options I should try. (For now, I can use virtualbox, so this isn't urgent.) |
@mboersma Okay, so it seems solved pci slot 5:0: unknown device "virtio-9p" Next, it seems to not found IP from Rebuilding minikube is sometimes slow if needs build diff --git a/xhyve/xhyve.go b/xhyve/xhyve.go
index 4a98fe3..4d03cd0 100644
--- a/xhyve/xhyve.go
+++ b/xhyve/xhyve.go
@@ -402,13 +402,9 @@ func (d *Driver) Create() error {
os.Chown(d.ResolveStorePath(f.Name()), syscall.Getuid(), syscall.Getegid())
}
- if d.UUID == "" {
- log.Infof("Generate UUID...")
- d.UUID = uuidgen()
- log.Debugf("Generated UUID: %s", d.UUID)
- } else {
- log.Infof("Using Supplied UUID: %s", d.UUID)
- }
+ log.Infof("Generate UUID...")
+ d.UUID = uuidgen()
+ log.Debugf("Generated UUID: %s", d.UUID)
log.Infof("Convert UUID to MAC address...")
rawUUID, err := d.getMACAdress() Please try re-build Edit:
Ah, so try it if you have time :) |
I rebuilt docker-machine-xhyve-binary with the above patch, but it ends up the same: ...
(minikube) Generate UUID....
(minikube) DBG | Generated UUID: 274755CE-F166-4A09-B5FF-3500E3D33468
(minikube) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U 274755CE-F166-4A09-B5FF-3500E3D33468 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk4 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -M]
(minikube) Convert UUID to MAC address...
(minikube) DBG | Converted MAC address: 2a:dc:42:6c:24:b3
(minikube) Starting minikube...
(minikube) DBG | [xhyve -A -U 274755CE-F166-4A09-B5FF-3500E3D33468 -c 1 -m 1024M -l com1,autopty -s 0:0,hostbridge -s 31,lpc -s 2:0,virtio-net -s 3:0,ahci-cd,/Users/matt/.minikube/machines/minikube/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk4 -f kexec,/Users/matt/.minikube/machines/minikube/vmlinuz64,/Users/matt/.minikube/machines/minikube/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=minikube -F /Users/matt/.minikube/machines/minikube/minikube.pid -s 5,virtio-9p,host=/Users]
(minikube) Waiting for VM to come online...
(minikube) DBG |
(minikube) DBG | Not there yet 1/60, error: IP not found for MAC 2a:dc:42:6c:24:b3 in DHCP leases
(minikube) DBG | operation not supported by device
(minikube) Waiting on a pseudo-terminal to be ready... done
(minikube) Hook up your terminal emulator to /dev/ttys004 in order to connect to your VM
(minikube) DBG |
(minikube) DBG | Not there yet 2/60, error: IP not found for MAC 2a:dc:42:6c:24:b3 in DHCP leases
(minikube) DBG |
(minikube) DBG | Not there yet 3/60, error: IP not found for MAC 2a:dc:42:6c:24:b3 in DHCP leases
(minikube) DBG |
(minikube) DBG | Not there yet 4/60, error: IP not found for MAC 2a:dc:42:6c:24:b3 in DHCP leases
(minikube) DBG | rdmsr to register 0x34 on vcpu 0
(minikube) DBG |
... |
@mboersma Hmm... :( OK, I'll debug it at tomorrow(today? now AM5:30 in Japan lol) will going to bed... |
@zchee your latest version, built the way you've described (i.e.
|
Just to update, I'm still seeing the same xhyve problems with |
For those looking for a solution, here's how you can get going with minikube + xhyve right now.
|
I have same problem on this issue. |
I also still have this problem, sadly, I couldn't find what causes it, yet. Still forced to use vbox |
I'm having this problem as well, but the error I'm getting is quite a bit different, I think. The "SSH command" seems to be misinterpreted as Error Log
Homebrew Version of Docker Machine Xhyve Driver
|
For me this has been solved by now with some latest updates. Not sure which one actually fixed it, but my current versions are:
|
I can't get this to work at all... On OS X 10.11 El Capitan. It seems to try to start VirtualBox no matter what I pass for $ minikube version
minikube version: v0.16.0
$ brew ls --versions | grep -E 'xhyve|docker'
docker-machine 0.9.0
docker-machine-driver-xhyve 0.3.1
xhyve 0.2.0
$ ls -lah /usr/local/opt/docker-machine-driver-xhyve/bin/
-r-sr-xr-x 1 root wheel 13M Dec 4 23:25 docker-machine-driver-xhyve
$ minikube config view
- WantReportError: true
- v: 10
- vm-driver: xhyve
$ minikube start --show-libmachine-logs
--show-libmachine-logs is deprecated.
Please use --v=3 to show libmachine logs, and --v=7 for debug level libmachine logs
Starting local Kubernetes cluster...
Found binary path at /usr/local/bin/docker-machine-driver-xhyve
Launching plugin server for driver xhyve
Plugin server listening at address 127.0.0.1:49706
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) DBG | ===== Docker Machine xhyve Driver Version 0.3.1 (Homebrewab0aeba) =====
(minikube) DBG |
(minikube) DBG | executing: /usr/local/bin/VBoxManage -v
(minikube) DBG | STDOUT:
(minikube) DBG | STDERR: /usr/local/bin/VBoxManage: line 2: /Applications/VirtualBox.app/Contents/MacOS/VBoxManage: No such file or directory
(minikube) DBG | /usr/local/bin/VBoxManage: line 2: exec: /Applications/VirtualBox.app/Contents/MacOS/VBoxManage: cannot execute: No such file or directory
(minikube) DBG |
E0224 14:14:04.438626 5020 start.go:107] Error starting host: Error creating host: Error with pre-create check: "Error detecting VBox version: exit status 126".
Retrying.
E0224 14:14:04.439327 5020 start.go:113] Error starting host: Error creating host: Error with pre-create check: "Error detecting VBox version: exit status 126" |
@shakefu I had the same error message, which was caused by an incomplete VirtualBox uninstallation. Removing |
@simonguest that was my issue, i had to delete |
I was having this same issue. Clearing out .minikube ( |
I am also getting an the error described above. I couldn't tell whether there was a fix from reading through the thread. System Version: macOS 10.12.5 (16F73)
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@shushen it worked for me |
Minikube version (use
minikube version
): 0.10.0Environment:
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): xhyvedocker -v
): Docker version 1.12.2-rc1, build 45bed2c, experimental (because of Sierra, but also tried previous and stable version, all Docker for Mac)What happened:
minikube start --vm-driver=xhyve Starting local Kubernetes cluster... E0930 11:28:13.241885 36469 start.go:85] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting. Retrying.
What you expected to happen:
Starting local Kubernetes cluster... Running pre-create checks... Creating machine... Starting local Kubernetes cluster...
or similarHow to reproduce it (as minimally and precisely as possible):
Run
minikube start --vm-driver=xhyve
on an environment similar to the one above.Anything else do we need to know:
The vbox driver works, so it must be something with the xhyve or docker-machine. Also looking at the error.
Installed versions are:
docker-machine version 0.8.2, build e18a919
docker-machine-driver-xhyve-0.2.3
The latter hasn't been updated since August.
The text was updated successfully, but these errors were encountered: