machine-drivers / docker-machine-driver-xhyve

docker-machine/minikube/minishift driver plugin for xhyve/hyperkit (native macOS hypervisor.framework)
https://godoc.org/github.com/machine-drivers/docker-machine-driver-xhyve
BSD 3-Clause "New" or "Revised" License
889 stars 73 forks source link

Could not convert the UUID to MAC address: exit status 1 #156

Open j00bar opened 7 years ago

j00bar commented 7 years ago
Big-Kahuna:~ jginsberg$ docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.41-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.951 GiB
Name: moby
ID: PXZU:7L66:LDL6:FSBC:Z4A5:RFF7:GOYI:XPAY:L2GJ:UHI4:YASU:Z5CZ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 16
 Goroutines: 27
 System Time: 2017-01-11T21:32:18.811176929Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Username: j00bar
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support
Insecure Registries:
 127.0.0.0/8
Big-Kahuna:~ jginsberg$ uname -a
Darwin Big-Kahuna.fios-router.home 16.3.0 Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64 x86_64
Big-Kahuna:~ jginsberg$ sw_vers -productVersion
10.12.2
Big-Kahuna:~ jginsberg$ docker-machine --debug create --driver xhyve default
Docker Machine Version:  0.8.2, build e18a919
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:58239
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
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:58243
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(default) Calling .GetMachineName
(default) Calling .DriverName
(default) Calling .GetCreateFlags
(default) Calling .SetConfigFromFlags
Running pre-create checks...
(default) Calling .PreCreateCheck
(default) DBG | ===== Docker Machine xhyve Driver Version 0.3.1 (Homebrewab0aeba) =====
(default) DBG | 
(default) DBG | executing: /usr/local/bin/VBoxManage -v
(default) DBG | STDOUT: 5.1.8r111374
(default) DBG | 
(default) DBG | STDERR: 
(default) Calling .GetConfigRaw
Creating machine...
(default) Calling .Create
(default) DBG | local Boot2Docker ISO version:  v1.12.6
(default) Copying /Users/jginsberg/.docker/machine/cache/boot2docker.iso to /Users/jginsberg/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VM...
(default) DBG | Mounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/jginsberg/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/jginsberg/.docker/machine/machines/default/b2d-image] []  <nil> 0xc420086008 0xc420086010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/jginsberg/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/jginsberg/.docker/machine/machines/default/b2d-image
(default) /dev/disk8                                            /Users/jginsberg/.docker/machine/machines/default/b2d-image
(default) DBG | Extracting Kernel Options...
(default) DBG | Extracted Options "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base"
(default) DBG | Extracting /Users/jginsberg/.docker/machine/machines/default/b2d-image/boot/vmlinuz64 into /Users/jginsberg/.docker/machine/machines/default/vmlinuz64
(default) DBG | Extracting /Users/jginsberg/.docker/machine/machines/default/b2d-image/boot/initrd.img into /Users/jginsberg/.docker/machine/machines/default/initrd.img
(default) DBG | Unmounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/jginsberg/.docker/machine/machines/default/b2d-image] []  <nil> 0xc420086008 0xc420086010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/jginsberg/.docker/machine/machines/default/b2d-image
(default) "disk8" unmounted.
(default) "disk8" ejected.
(default) Generating 20000MB disk image...
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/jginsberg/.docker/machine/machines/default/root-volume] []  <nil> 0xc420086008 0xc420086010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/jginsberg/.docker/machine/machines/default/root-volume
(default) created: /Users/jginsberg/.docker/machine/machines/default/root-volume.sparsebundle
(default) Creating SSH key...
(default) Fix file permission...
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/boot2docker.iso
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/config.json
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/id_rsa
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/id_rsa.pub
(default) Generate UUID...
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/initrd.img
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/root-volume.sparsebundle
(default) DBG | /Users/jginsberg/.docker/machine/machines/default/vmlinuz64
(default) DBG | Generated UUID: DE2DE203-03AB-4ECE-BB9A-BB21FA0FDE16
(default) Convert UUID to MAC address...
(default) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U DE2DE203-03AB-4ECE-BB9A-BB21FA0FDE16 -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/jginsberg/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk8 -f kexec,/Users/jginsberg/.docker/machine/machines/default/vmlinuz64,/Users/jginsberg/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base -M]
(default) DBG | Stderr: 
Error creating machine: Error in driver during machine creation: Could not convert the UUID to MAC address: exit status 1
Opting out of crash reporting.

Halp plx. Thx!

plushgraffiti commented 7 years ago

Encountering the same issue:


⇒  brew info docker-machine-driver-xhyve
docker-machine-driver-xhyve: stable 0.3.1 (bottled), HEAD
⇒  xhyve -v
xhyve: 0.2.0
⇒  docker-machine --debug create --driver xhyve default
Docker Machine Version:  0.8.2, build e18a919
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:53069
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
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:53073
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(default) Calling .GetMachineName
(default) Calling .DriverName
(default) Calling .GetCreateFlags
(default) Calling .SetConfigFromFlags
Running pre-create checks...
(default) Calling .PreCreateCheck
(default) DBG | ===== Docker Machine xhyve Driver Version 0.3.1 (Homebrewab0aeba) =====
(default) DBG |
(default) DBG | executing: /usr/local/bin/VBoxManage -v
(default) DBG | STDOUT: 5.0.16r105871
(default) DBG |
(default) DBG | STDERR:
(default) Calling .GetConfigRaw
Creating machine...
(default) Calling .Create
(default) DBG | local Boot2Docker ISO version:  v1.12.6
(default) Copying /Users/pagriffi/.docker/machine/cache/boot2docker.iso to /Users/pagriffi/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VM...
(default) DBG | Mounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/pagriffi/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/pagriffi/.docker/machine/machines/default/b2d-image] []  <nil> 0xc420030010 0xc420030018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/pagriffi/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/pagriffi/.docker/machine/machines/default/b2d-image
(default) /dev/disk12                                           /Users/pagriffi/.docker/machine/machines/default/b2d-image
(default) DBG | Extracting Kernel Options...
(default) DBG | Extracted Options "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base"
(default) DBG | Extracting /Users/pagriffi/.docker/machine/machines/default/b2d-image/boot/vmlinuz64 into /Users/pagriffi/.docker/machine/machines/default/vmlinuz64
(default) DBG | Extracting /Users/pagriffi/.docker/machine/machines/default/b2d-image/boot/initrd.img into /Users/pagriffi/.docker/machine/machines/default/initrd.img
(default) DBG | Unmounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/pagriffi/.docker/machine/machines/default/b2d-image] []  <nil> 0xc420030010 0xc420030018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/pagriffi/.docker/machine/machines/default/b2d-image
(default) "disk12" unmounted.
(default) "disk12" ejected.
(default) Generating 20000MB disk image...
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/pagriffi/.docker/machine/machines/default/root-volume] []  <nil> 0xc420030010 0xc420030018 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/pagriffi/.docker/machine/machines/default/root-volume
(default) created: /Users/pagriffi/.docker/machine/machines/default/root-volume.sparsebundle
(default) Creating SSH key...
(default) Fix file permission...
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/boot2docker.iso
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/config.json
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/id_rsa
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/id_rsa.pub
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/initrd.img
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/root-volume.sparsebundle
(default) Generate UUID...
(default) DBG | /Users/pagriffi/.docker/machine/machines/default/vmlinuz64
(default) DBG | Generated UUID: 758435FA-A8DF-4306-9757-28C9C2F194DE
(default) Convert UUID to MAC address...
(default) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U 758435FA-A8DF-4306-9757-28C9C2F194DE -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/pagriffi/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk12 -f kexec,/Users/pagriffi/.docker/machine/machines/default/vmlinuz64,/Users/pagriffi/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base -M]
(default) DBG | Stderr:
Error creating machine: Error in driver during machine creation: Could not convert the UUID to MAC address: exit status 1
notifying bugsnag: [Error creating machine: Error in driver during machine creation: Could not convert the UUID to MAC address: exit status 1]```
praveenkumar commented 7 years ago

@j00bar @plushgraffiti I did try with same docker-machine binary and it works for me as expected.

Can you check https://github.com/zchee/docker-machine-driver-xhyve#does-not-clean-up-the-vmnet-when-remove-a-vm or reboot your system once?

 /usr/local/Cellar/docker-machine/0.8.2/bin/docker-machine -D create --driver xhyve default
Docker Machine Version:  0.8.2, build e18a919
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:64302
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
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:64306
() DBG | operation not supported by device
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(default) Calling .GetMachineName
(default) Calling .DriverName
(default) Calling .GetCreateFlags
(default) Calling .SetConfigFromFlags
Running pre-create checks...
(default) Calling .PreCreateCheck
(default) DBG | ===== Docker Machine xhyve Driver Version 0.3.1 (Homebrewab0aeba) =====
(default) DBG | 
(default) DBG | executing: /usr/local/bin/VBoxManage -v
(default) DBG | STDOUT: 5.0.12r104815
(default) DBG | 
(default) DBG | STDERR: 
(default) Calling .GetConfigRaw
Creating machine...
(default) Calling .Create
(default) No default Boot2Docker ISO found locally, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v1.12.6
(default) Downloading /Users/prkumar/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.12.6/boot2docker.iso...
(default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
(default) DBG | Fix boot2docker.iso file permission...
(default) Copying /Users/prkumar/.docker/machine/cache/boot2docker.iso to /Users/prkumar/.docker/machine/machines/default/boot2docker.iso...
(default) Creating VM...
(default) DBG | Mounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/prkumar/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/prkumar/.docker/machine/machines/default/b2d-image] []  <nil> 0xc42007c008 0xc42007c010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/prkumar/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/prkumar/.docker/machine/machines/default/b2d-image
(default) /dev/disk17                                           /Users/prkumar/.docker/machine/machines/default/b2d-image
(default) DBG | Extracting Kernel Options...
(default) DBG | Extracted Options "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base"
(default) DBG | Extracting /Users/prkumar/.docker/machine/machines/default/b2d-image/boot/vmlinuz64 into /Users/prkumar/.docker/machine/machines/default/vmlinuz64
(default) DBG | Extracting /Users/prkumar/.docker/machine/machines/default/b2d-image/boot/initrd.img into /Users/prkumar/.docker/machine/machines/default/initrd.img
(default) DBG | Unmounting boot2docker.iso
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/prkumar/.docker/machine/machines/default/b2d-image] []  <nil> 0xc42007c008 0xc42007c010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/prkumar/.docker/machine/machines/default/b2d-image
(default) "disk17" unmounted.
(default) "disk17" ejected.
(default) Generating 20000MB disk image...
(default) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/prkumar/.docker/machine/machines/default/root-volume] []  <nil> 0xc42007c008 0xc42007c010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} create -megabytes 20000 -type SPARSEBUNDLE /Users/prkumar/.docker/machine/machines/default/root-volume
(default) created: /Users/prkumar/.docker/machine/machines/default/root-volume.sparsebundle
(default) Creating SSH key...
(default) Fix file permission...
(default) DBG | /Users/prkumar/.docker/machine/machines/default/boot2docker.iso
(default) DBG | /Users/prkumar/.docker/machine/machines/default/config.json
(default) DBG | /Users/prkumar/.docker/machine/machines/default/id_rsa
(default) DBG | /Users/prkumar/.docker/machine/machines/default/id_rsa.pub
(default) DBG | /Users/prkumar/.docker/machine/machines/default/initrd.img
(default) DBG | /Users/prkumar/.docker/machine/machines/default/root-volume.sparsebundle
(default) DBG | /Users/prkumar/.docker/machine/machines/default/vmlinuz64
(default) Generate UUID...
(default) DBG | Generated UUID: 826940A9-E46A-4ED2-894C-E286DDFFB565
(default) Convert UUID to MAC address...
(default) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U 826940A9-E46A-4ED2-894C-E286DDFFB565 -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/prkumar/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk17 -f kexec,/Users/prkumar/.docker/machine/machines/default/vmlinuz64,/Users/prkumar/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base -M]
(default) DBG | Converted MAC address: ba:61:8e:bc:cd:69
(default) Starting default...
(default) DBG | [xhyve -A -U 826940A9-E46A-4ED2-894C-E286DDFFB565 -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/prkumar/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk17 -f kexec,/Users/prkumar/.docker/machine/machines/default/vmlinuz64,/Users/prkumar/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10:LABEL=boot2docker-data base -F /Users/prkumar/.docker/machine/machines/default/default.pid]
(default) Waiting for VM to come online...
(default) DBG | 
(default) DBG | Not there yet 1/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | operation not supported by device
(default) Waiting on a pseudo-terminal to be ready... done
(default) Hook up your terminal emulator to /dev/ttys006 in order to connect to your VM
(default) DBG | 
(default) DBG | Not there yet 2/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 3/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 4/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | rdmsr to register 0x34 on vcpu 0
(default) DBG | 
(default) DBG | Not there yet 5/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 6/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 7/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 8/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 9/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 10/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 11/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 12/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 13/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 
(default) DBG | Not there yet 14/60, error: IP not found for MAC ba:61:8e:bc:cd:69 in DHCP leases
(default) DBG | 192.168.64.3
(default) DBG | IP found in DHCP lease table: 192.168.64.3
(default) DBG | Got an ip: 192.168.64.3
(default) DBG | Getting to WaitForSSH function...
(default) DBG | Using SSH client type: external
(default) DBG | Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
(default) DBG | &{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
(default) DBG | About to run SSH command:
(default) DBG | exit 0
(default) DBG | SSH cmd err, output: <nil>: 
(default) Calling .GetConfigRaw
(default) Calling .DriverName
(default) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(default) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: <nil>: 
Detecting the provisioner...
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME=Boot2Docker
VERSION=1.12.6
ID=boot2docker
ID_LIKE=tcl
VERSION_ID=1.12.6
PRETTY_NAME="Boot2Docker 1.12.6 (TCL 7.2); HEAD : 5ab2289 - Wed Jan 11 03:20:40 UTC 2017"
ANSI_COLOR="1;34"
HOME_URL="http://boot2docker.io"
SUPPORT_URL="https://github.com/boot2docker/boot2docker"
BUG_REPORT_URL="https://github.com/boot2docker/boot2docker/issues"

found compatible host: boot2docker
Provisioning with boot2docker...
(default) Calling .GetMachineName
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo /usr/bin/sethostname default && echo "default" | sudo tee /var/lib/boot2docker/etc/hostname
SSH cmd err, output: <nil>: Setting hostname to default Done.
default

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 :::22                   :::*                    LISTEN      

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 :::22                   :::*                    LISTEN      

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 :::2376                 :::*                    LISTEN      
tcp        0      0 :::22                   :::*                    LISTEN      

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo mkdir -p /var/lib/boot2docker
SSH cmd err, output: <nil>: 
(default) Calling .GetMachineName
(default) Calling .GetIP
Copying certs to the local machine directory...
generating server cert: /Users/prkumar/.docker/machine/machines/default/server.pem ca-key=/Users/prkumar/.docker/machine/certs/ca.pem private-key=/Users/prkumar/.docker/machine/certs/ca-key.pem org=prkumar.default san=[192.168.64.3 localhost]
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo /etc/init.d/docker stop
SSH cmd err, output: <nil>: 
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
if [ ! -z "$(ip link show docker0)" ]; then sudo ip link delete docker0; fi
SSH cmd err, output: <nil>: 
Copying certs to the remote machine...
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIC0jCCAbqgAwIBAgIRAJLDP6Zz+mOEw1XvR/Q+faAwDQYJKoZIhvcNAQELBQAw
EjEQMA4GA1UEChMHcHJrdW1hcjAeFw0xNjEwMjUxMjAwMDBaFw0xOTEwMTAxMjAw
MDBaMBIxEDAOBgNVBAoTB3Bya3VtYXIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQDaJQOoOG6EjXk82oGAQvZuJ3KG038QDcF2GaylKMDC9/XYNFiVSInV
6QNiiLb6zwz8dFp9m2cP9em5p3+wUx9l6mBhTZTPDnzPXLmCQS1KqYKu1Ig6CmmD
pvFo9iftGDVL2KkMX/HtmdM7baMnFd59UUCdMDNjE+QAF6N8HP2y+Wn5L2VhI6Bg
GWG+CHnFPYM0NNqqW0zOqi2ZLnAOqsKzaprlcLKKUw+eKTCoxF8e1Ze3WMopHNCg
49o3zV0YrgGx9s3CKBOZR7Q0RUIhTfcvKLz74sQBWWzpfha7xoDWK7Fa/B6QeZ27
3SDO7Y4BfCG6HPZywOjIj5o7y/36UjVjAgMBAAGjIzAhMA4GA1UdDwEB/wQEAwIC
rDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQByIiPKCT5gAzi2
UiC4mt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T5gAzi2
UiC4mtIG20C4hjZWrY/YzYWXsZKmN38EXV9lEv2FI4I7yKEjF9ROby+kmxcS+nVU
Z3+jlqr3dsWlvIlxQYPM/6mTbSggNJ++yjM80iZtWhTBtmbbmdZZ7LSQM3FFkZZV
Zy61Uqbjq/Q10u1xgzMSETqWYmW7nXv5LMzxlh3FSo+Y97JW1SNAir/ZlfMNSSCC
3ILySl8ofLMiQESyKFKSNLuR4Ri2MQh1O/0qIlCxo925/s2Sp1Lppv6b/pVU3d10
7CW06AxuVqpiefIAXn0N5Lig0sFvFZy7ZrSAqSOEq5w65Q6e2Qe7yERNdRXjSmAI
jOxzYpJU
-----END CERTIFICATE-----

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf '%s' '-----BEGIN CERTIFICATE-----
MIIDCDCCAfCgAwIBAgIRAJYrrEmrYtNymv9Zl2M+pjQwDQYJKoZIhvcNAQELBQAw
EjEQMA4GA1UEChMHcHJrdW1hcjAeFw0xNzAxMTgxMTQ5MDBaFw0yMDAxMDMxMTQ5
MDBaMBoxGDAWBgNVBAoTD3Bya3VtYXIuZGVmYXVsdDCCASIwDQYJKoZIhvcNAQEB
BQADggEPADCCAQoCggEBAOBC9T1B6UyAyVmtIlTWrfzeUChVMxmchL/ZLFrMrU+C
lTNx7kfYEfUnSbrwfyJOorcWqYTmdXO8jP+YDij/txweQyBAIyrQh7l9XFEN0uZO
c18Q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EfUnSbrwfyJOorcWqYTmdXO8jP+YDij/txweQyBAIyrQh7l9XFEN0uZO
c18Qi1145HXP/6jz+6yuIfxhRy1lLPvqNGavQ85fekMyu8sD5KWoErE968YXUOZR
kIL6GrgnSfVYE0EY3XVvkHtps9RZabnZnrRqelD2PqMReMD82CpaWW6+y4Yfgas8
nrYyEYjHi1ZhkvE92IJc5+B1hvbNpTdYsLSGegSDubu5atkgFNVLAib7GgQ8PE+u
9IYtKkO/rj4XfrZzh9H0d4l7tiD4IXK+QQ1XY9WC1TMCAwEAAaNRME8wDgYDVR0P
AQH/BAQDAgOoMBMGA1UdJQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwGgYD
VR0RBBMwEYIJbG9jYWxob3N0hwTAqEADMA0GCSqGSIb3DQEBCwUAA4IBAQDS1o9y
dxL9ibTNVc53Zy8XfavVVcILGCcfoGIZB69D8UZRNC8MPRvvMCCf6OQ55uB+q1vp
nbxft8DSiTji33B3xPUKVE2+G4i4PW/mg6ETRTiArqtx4vZbCDS1ATcUEGvnXyh2
f8GVCmR2ET5dxPSWqw+L6Rk1EIqXzI31uWgCBYq8M9JJuB2CzudUo5qXabMkXICE
0UHEl6nr/BCGz24facO60QG2q//EK1aqKCf94bEVTYRpzg0bIPofp9lHrVO9a/mp
E/H2W3B0rPVRYXnp6TaGDtSy+nHJPNupoGc3sFnU5GlvSPs/j20eHGGSZHoeiE7E
/YiTBpBtlVycjgmy
-----END CERTIFICATE-----

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o I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Qq3R3fW48WdYurqVEMBxb3jHtj3SMbrFwqPLGCFejhKQDiFi39W1XZmF/V4DGoz8
UmBpAoGAH9CfsM+fPlbKhXnTe9ZZYczXdFaZmtzZMKJsquG+EDkbwaSAXTnhjEyy
4GItsQwl4WZlXXWqX36AGQiDTa+lxXoD3YQJ9GjKaNOBq8YGyPKnR0aUnoseb5K0
qUj3yYtA5XZzfevNZsbfhLeDiksABgEr6k1bVZeNjteZ3j9uv4M=
-----END RSA PRIVATE KEY-----

(default) Calling .GetURL
(default) DBG | Getting to WaitForSSH function...
(default) DBG | Using SSH client type: external
(default) DBG | Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
(default) DBG | &{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
(default) DBG | About to run SSH command:
(default) DBG | exit 0
(default) DBG | SSH cmd err, output: <nil>: 
(default) Calling .DriverName
Setting Docker configuration on the remote daemon...
(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
printf %s "
EXTRA_ARGS='
--label provider=xhyve

'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem

" | sudo tee /var/lib/boot2docker/profile
SSH cmd err, output: <nil>: 
EXTRA_ARGS='
--label provider=xhyve

'
CACERT=/var/lib/boot2docker/ca.pem
DOCKER_HOST='-H tcp://0.0.0.0:2376'
DOCKER_STORAGE=aufs
DOCKER_TLS=auto
SERVERKEY=/var/lib/boot2docker/server-key.pem
SERVERCERT=/var/lib/boot2docker/server.pem

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
sudo /etc/init.d/docker start
SSH cmd err, output: <nil>: Need TLS certs for default,127.0.0.1,192.168.64.3
-------------------
Device "eth1" does not exist.

(default) Calling .GetSSHHostname
(default) Calling .GetSSHPort
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHKeyPath
(default) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
netstat -tln
SSH cmd err, output: <nil>: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 :::2376                 :::*                    LISTEN      
tcp        0      0 :::22                   :::*                    LISTEN      

(default) Calling .GetIP
Checking connection to Docker...
(default) Calling .GetURL
(default) DBG | Getting to WaitForSSH function...
(default) DBG | Using SSH client type: external
(default) DBG | Using SSH private key: /Users/prkumar/.docker/machine/machines/default/id_rsa (-rw-------)
(default) DBG | &{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none docker@192.168.64.3 -o IdentitiesOnly=yes -i /Users/prkumar/.docker/machine/machines/default/id_rsa -p 22] /usr/bin/ssh <nil>}
(default) DBG | About to run SSH command:
(default) DBG | exit 0
(default) DBG | SSH cmd err, output: <nil>: 
Reading CA certificate from /Users/prkumar/.docker/machine/certs/ca.pem
Reading client certificate from /Users/prkumar/.docker/machine/certs/cert.pem
Reading client key from /Users/prkumar/.docker/machine/certs/key.pem
Docker is up and running!
Reticulating splines...
(default) Calling .GetConfigRaw
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: /usr/local/Cellar/docker-machine/0.8.2/bin/docker-machine env default
Making call to close driver server
(default) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
(default) DBG | Closing plugin on server side
Making call to close driver server
(flag-lookup) Calling .Close
Successfully made call to close driver server
Making call to close connection to plugin binary
plushgraffiti commented 7 years ago

@praveenkumar rebooting fixed the issue for me, thanks!

nhooey commented 7 years ago

Rebooting my machine didn't help.

You need to have docker-machine-driver-xhyve depend on xhyve, and have your driver check for the existence of the xhyve binary before attempting to run it.

You also need to print stdout here: https://github.com/zchee/docker-machine-driver-xhyve/blob/05b3de19f0ae9c2e445158174f558eda8453d759/xhyve/xhyve.go#L1033

Since this was printed to stdout from xhyve in my case:

virtio_net: Could not create vmnet interface, permission denied or no entitlement?

The solution for me was to remove /etc/exports because it had some mapall directives.

sashmit commented 7 years ago

I had to restart and run these again to fix this error: sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

fuse commented 7 years ago

Same problem here, even after rebooting (using docker-machine-driver-xhyve 0.3.2) :

Error creating machine: Error in driver during machine creation: Could not convert the UUID to MAC address: exit status 1

This problem only occurred on my machine running Yosemite, all went fine on Sierra.

fuse commented 7 years ago

This problem still occurs even after upgrading this machine to sierra (not happening an on other machine freshly running sierra).

KIVagant commented 7 years ago

I caught the same too. Any working solutions are exists?

Ok, this combination fixed my problem:

rm -rf ~/.minikube
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

minikube start --vm-driver=xhyve
...
Kubectl is now configured to use the cluster.

Thank you, @sashmit

tiagoroldao commented 7 years ago

This might be useful - I ran into this issue while performing my own "local" installation of the xhyve plugin on a custom version of kubernetes, and realised this shows up as a symptom of not setting the setuid flag correctly.

If the chmod call is skipped of done incorrectly (i.e. before setting it as executable, or before chowning) the plugin will run but fails in the UUID step mentioned

TixieSalander commented 7 years ago

I have the same issue here, and I didn't find how to fix it. I made the chown and chmod commands after rebooting. Didn't worked better.

There is my log below but I can give more info if nee— eeeeeeeeeerrrrr stop stop ALERT: my bad my bad my bad, I'm so stupid… : Intel Virtualization Technology was disabled in my bios >< So everything is working now. Ahahahah I am relieved \o/

oxbits commented 6 years ago

Thank you @nhooey !

removing /etc/exports seemed to be my issue

rdp commented 6 years ago

For followers, it appears this might be related to not having virtualization support at the CPU level: https://github.com/minishift/minishift/issues/2385#issuecomment-392457775 (ex: old macbook)