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
888 stars 74 forks source link

/var/db/dhcp_lease file is not on the system ... #148

Open youngl98 opened 7 years ago

youngl98 commented 7 years ago

Hi,

Here is the system information

$ system_profiler SPHardwareDataType Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro11,5
  Processor Name: Intel Core i7
  Processor Speed: 2.8 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 6 MB
  Memory: 16 GB
  Boot ROM Version: MBP114.0172.B09
  SMC Version (system): 2.30f2
  Serial Number (system): ************
  Hardware UUID: ********-****-****-****-************

younglee at wm-**** in ~ $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G31

This dhcp lease file is not on my system

$ ls /var/db/dhcpd_leases ls: /var/db/dhcpd_leases: No such file or directory

I am creating a docker-machine with the following command

$ docker-machine --debug create --driver xhyve \ --engine-env http_proxy=http://userproxy.visa.com:80 \ --engine-env https_proxy=http://userproxy.visa.com:443 \ --engine-env no_proxy="$no_proxy" default Docker Machine Version: 0.8.2, build 6253938 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:49958 () 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:49962 () 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.2.3 (9d6adee) ===== (default) DBG | (default) Calling .GetConfigRaw Creating machine... (default) Calling .Create (default) DBG | local Boot2Docker ISO version: v1.12.3 (default) Copying /Users/younglee/.docker/machine/cache/boot2docker.iso to /Users/younglee/.docker/machine/machines/default/boot2docker.iso... (default) Creating VM... (default) Extracting vmlinuz64 and initrd.img from boot2docker.iso... (default) DBG | Mounting boot2docker.iso (default) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/younglee/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/younglee/.docker/machine/machines/default/b2d-image] [] 0xc420034010 0xc420034018 [] false [] [] [] [] } attach /Users/younglee/.docker/machine/machines/default/boot2docker.iso -mountpoint /Users/younglee/.docker/machine/machines/default/b2d-image (default) /dev/disk3 /Users/younglee/.docker/machine/machines/default/b2d-image (default) DBG | Extracting /Users/younglee/.docker/machine/machines/default/b2d-image/boot/vmlinuz64 into /Users/younglee/.docker/machine/machines/default/vmlinuz64 (default) DBG | Extracting /Users/younglee/.docker/machine/machines/default/b2d-image/boot/initrd.img into /Users/younglee/.docker/machine/machines/default/initrd.img (default) DBG | Unmounting boot2docker.iso (default) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/younglee/.docker/machine/machines/default/b2d-image] [] 0xc420034010 0xc420034018 [] false [] [] [] [] } detach /Users/younglee/.docker/machine/machines/default/b2d-image (default) "disk3" unmounted. (default) "disk3" ejected. (default) Generating 20000MB disk image... (default) DBG | executing: &{/usr/bin/hdiutil [hdiutil create -megabytes 20000 -type SPARSEBUNDLE /Users/younglee/.docker/machine/machines/default/root-volume] [] 0xc420034010 0xc420034018 [] false [] [] [] [] } create -megabytes 20000 -type SPARSEBUNDLE /Users/younglee/.docker/machine/machines/default/root-volume (default) created: /Users/younglee/.docker/machine/machines/default/root-volume.sparsebundle (default) Creating SSH key... (default) Fix file permission... (default) DBG | /Users/younglee/.docker/machine/machines/default/boot2docker.iso (default) DBG | /Users/younglee/.docker/machine/machines/default/config.json (default) DBG | /Users/younglee/.docker/machine/machines/default/id_rsa (default) DBG | /Users/younglee/.docker/machine/machines/default/id_rsa.pub (default) DBG | /Users/younglee/.docker/machine/machines/default/initrd.img (default) DBG | /Users/younglee/.docker/machine/machines/default/root-volume.sparsebundle (default) Generate UUID... (default) DBG | /Users/younglee/.docker/machine/machines/default/vmlinuz64 (default) DBG | Generated UUID: 6B04E4A1-BED8-4B6B-9FFE-B9C0D3F2FA86 (default) Convert UUID to MAC address... (default) DBG | Running command: /usr/local/bin/docker-machine-driver-xhyve [xhyve -A -U 6B04E4A1-BED8-4B6B-9FFE-B9C0D3F2FA86 -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/younglee/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk3 -f kexec,/Users/younglee/.docker/machine/machines/default/vmlinuz64,/Users/younglee/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=boot2docker -M] (default) DBG | Converted MAC address: 12:59:1f:7e:cf:32 (default) Starting default... (default) DBG | [xhyve -A -U 6B04E4A1-BED8-4B6B-9FFE-B9C0D3F2FA86 -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/younglee/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk3 -f kexec,/Users/younglee/.docker/machine/machines/default/vmlinuz64,/Users/younglee/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=boot2docker -F /Users/younglee/.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 12:59:1f:7e:cf:32 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/ttys001 in order to connect to your VM (default) DBG | (default) DBG | Not there yet 2/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 3/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | rdmsr to register 0x34 on vcpu 0 (default) DBG | (default) DBG | Not there yet 4/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 5/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 6/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 7/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 8/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 9/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 10/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 11/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 12/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 13/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 14/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 15/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 16/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 17/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 18/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 19/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 20/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 21/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 22/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 23/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 24/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 25/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 26/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 27/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 28/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 29/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 30/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 31/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 32/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 33/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 34/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 35/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 36/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 37/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 38/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 39/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 40/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 41/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 42/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 43/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 44/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 45/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 46/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 47/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 48/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 49/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 50/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 51/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 52/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 53/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 54/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 55/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 56/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 57/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 58/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 59/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases (default) DBG | (default) DBG | Not there yet 60/60, error: IP not found for MAC 12:59:1f:7e:cf:32 in DHCP leases Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting notifying bugsnag: [Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting] bugsnag.Notify: [bugsnag/payload.deliver: Post https://notify.bugsnag.com/: Proxy Authentication Required]

zchee commented 7 years ago

@youngl98 Thanks.

But sorry, I have no time today, so just short question.

  1. Can you create vm after below command?

    sudo touch /var/db/dhcpd_leases
  2. Are you already disable SIP?

    csrutil status

and, I think Serial Number (system) and Hardware UUID is sensitive information. I'll edit your comment.

youngl98 commented 7 years ago

SIP is enabled $ csrutil status System Integrity Protection status: enabled.

I touched the /var/db/dhcpd_leases file, and still getting the same error ...

BTW, this is the xhyve process that is running on my mac os X

/usr/local/bin/docker-machine-driver-xhyve xhyve -A -U *** -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/younglee/.docker/machine/machines/default/boot2docker.iso -s 4:0,ahci-hd,/dev/rdisk4 -f kexec,/Users/younglee/.docker/machine/machines/default/vmlinuz64,/Users/younglee/.docker/machine/machines/default/initrd.img,loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 base host=boot2docker -F /Users/younglee/.docker/machine/machines/default/default.pid

youngl98 commented 7 years ago

Well, I can not disable SIP because this is a company issue mac os x.

SIP is enabled $ csrutil status System Integrity Protection status: enabled.

I don't know if this is related to dhcp not giving out IP address, but also noticed that /usr/libexec/InternetSharing is enabled and I can not unload it as I am getting the following message

$ sudo launchctl unload com.apple.NetworkSharing.plist /System/Library/LaunchDaemons/com.apple.NetworkSharing.plist: Operation not permitted while System Integrity Protection is engaged

Am I out of options?

zchee commented 7 years ago

@youngl98 Hmm...

Well, I can not disable SIP because this is a company issue mac os x

OK, I understand.

I don't know if this is related to dhcp not giving out IP address, but also noticed that /usr/libexec/InternetSharing is enabled and I can not unload it as I am getting the following message

InternetSharing is very related vmnet.framework. so this is a good point.

Could you try it?

  1. build original xhyve, and enable vmnet share(remove # below script), can launch xhyve? https://github.com/mist64/xhyve/blob/master/xhyverun.sh#L15
  2. Similar https://github.com/kubernetes/minikube/issues/708#issuecomment-255955331, open -a Console.app and visual-grep(check with your eyes) to Console.app log. If you are confused by many of the logs, add to search dialog.

    subsystem: com.apple.network
youngl98 commented 7 years ago

OK,

I believe these are the relevant log entries.

11/7/16 5:47:04.810 PM sudo[40627]: younglee : TTY=ttys001 ; PWD=/Users/younglee/gitroot/xhyve ; USER=root ; COMMAND=./xhyverun.sh 11/7/16 5:47:04.868 PM com.apple.xpc.launchd[1]: (com.apple.ftp-proxy) Unknown key for Boolean: ForceEnableHack 11/7/16 5:47:04.893 PM com.apple.xpc.launchd[1]: (com.apple.bootpd) Unknown key for Boolean: ForceEnableHack 11/7/16 5:47:04.000 PM kernel[0]: bridge100: attached with 1 suspended link-layer multicast membership(s) 11/7/16 5:47:04.894 PM InternetSharing[40630]: BCAST is ready [anyExternal, mtu=1500 ] 11/7/16 5:47:04.000 PM kernel[0]: en8: promiscuous mode enable succeeded 11/7/16 5:47:04.000 PM kernel[0]: en2: promiscuous mode enable succeeded 11/7/16 5:47:04.897 PM symptomsd[232]: nw_interface_create_with_name netutil_ifname_to_ifindex(en8) failed, dumping backtrace: [x86_64] libnetcore-583.50.1 0 libsystem_network.dylib 0x00007fff9befcde9 nw_create_backtrace_string + 123 1 libsystem_network.dylib 0x00007fff9bf1f1f3 nw_interface_create_with_name + 179 2 Network 0x00007fff8d5ffedc -[NWInterface initWithInterfaceName:] + 120 3 SymptomEvaluator 0x00007fff936b62fc config_callback + 874 4 SystemConfiguration 0x00007fff88b50faf rlsPerform + 184 5 SystemConfiguration 0x00007fff88b643ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52 6 libdispatch.dylib 0x00007fff8ba7793d _dispatch_call_block_and_release + 12 7 libdispatch.dylib 0x00007fff8ba6c40b _dispatch_client_callout + 8 8 libdispatch.dylib 0x00007fff8ba7103b _dispatch_queue_drain + 754 9 libdispatch.dylib 0x00007fff8ba77707 _dispatch_queue_invoke + 549 10 libdispatch.dylib 0x00007fff8ba6fd53 _dispatch_root_queue_drain + 538 11 libdispatch.dylib 0x00007fff8ba6fb00 _dispatch_worker_thread3 + 91 12 libsystem_pthread.dylib 0x00007fff8a8594de _pthread_wqthread + 1129 13 libsystem_pthread.dylib 0x00007fff8a857341 start_wqthread + 13 11/7/16 5:47:04.897 PM symptomsd[232]: -[NWInterface initWithInterfaceName:] nw_interface_create_with_name(en8) failed, dumping backtrace: [x86_64] libnetcore-583.50.1 0 libsystem_network.dylib 0x00007fff9befcde9 nw_create_backtrace_string + 123 1 Network 0x00007fff8d5fff46 -[NWInterface initWithInterfaceName:] + 226 2 SymptomEvaluator 0x00007fff936b62fc config_callback + 874 3 SystemConfiguration 0x00007fff88b50faf rlsPerform + 184 4 SystemConfiguration 0x00007fff88b643ab __SCDynamicStoreSetDispatchQueue_block_invoke_2 + 52 5 libdispatch.dylib 0x00007fff8ba7793d _dispatch_call_block_and_release + 12 6 libdispatch.dylib 0x00007fff8ba6c40b _dispatch_client_callout + 8 7 libdispatch.dylib 0x00007fff8ba7103b _dispatch_queue_drain + 754 8 libdispatch.dylib 0x00007fff8ba77707 _dispatch_queue_invoke + 549 9 libdispatch.dylib 0x00007fff8ba6fd53 _dispatch_root_queue_drain + 538 10 libdispatch.dylib 0x00007fff8ba6fb00 _dispatch_worker_thread3 + 91 11 libsystem_pthread.dylib 0x00007fff8a8594de _pthread_wqthread + 1129 12 libsystem_pthread.dylib 0x00007fff8a857341 start_wqthread + 13 11/7/16 5:47:04.000 PM kernel[0]: bridge100: successfully restored 1 suspended link-layer multicast membership(s) (err=0) 11/7/16 5:47:04.907 PM ntpd[204]: sigio_handler: sigio_handler_active != 1 11/7/16 5:47:04.907 PM ntpd[204]: sigio_handler: sigio_handler_active != 0 11/7/16 5:47:04.907 PM InternetSharing[40630]: added addr=192.168.64.1 mask=255.255.255.0 on bridge100 11/7/16 5:47:04.907 PM acvpnagent[55]: A new network interface has been detected. 11/7/16 5:47:04.907 PM acvpnagent[55]: Function: logInterfaces File: ../../vpn/AgentUtilities/Routing/InterfaceRouteMonitorCommon.cpp Line: 477 IP Address Interface List: FE80:0:0:0:9A01:A7FF:FE93:74C1 10.0.1.41 FE80:0:0:0:D4FD:50FF:FE74:83DA 192.168.64.1 11/7/16 5:47:04.907 PM acvpnagent[55]: Function: netInterfaceNoticeCategoryHandler File: ../../vpn/Agent/MainThread.cpp Line: 7786 Network Interface change detected, refreshing physical MAC addresses 11/7/16 5:47:04.908 PM acnvmagent[395]: Function: notifyOnNetworkInterfaceChange Thread Id: 0xB0103000 File: /tmp/build/thehoff/Hulk0.857593401563/Hulk/NVM/Agent/osx/../NVMTND.cpp Line: 179 :: Received interface change notification from VPN (2) 11/7/16 5:47:04.918 PM InternetSharing[40630]: started: [DHCP subnet=192.168.64/24 on bridge100 mtu=1500 <---> anyExternal mtu=1500] max-mss=1460 11/7/16 5:47:04.918 PM InternetSharing[40630]: dns: 192.168.64.1 11/7/16 5:47:04.920 PM InternetSharing[40630]: attempted to start dns proxy on anyExternal 11/7/16 5:47:04.920 PM InternetSharing[40630]: xhyve: com.apple.NetworkSharing.broadcast-0 has been started 11/7/16 5:47:04.920 PM InternetSharing[40630]: dns proxy successfully enabled 11/7/16 5:47:04.921 PM mDNSResponder[109]: SetupDNSProxySkts: 46, 56, 59, 60 11/7/16 5:47:04.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:05.219 PM acnvmagent[395]: Function: CallKDFApi Thread Id: 0xB0103000 File: /tmp/build/thehoff/Hulk0.857593401563/Hulk/NVM/Agent/osx/../NVMAgent.cpp Line: 212 :: Success: OpenPlugin(), plugin name=NvmPlugin1.0 11/7/16 5:47:09.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:09.964 PM acvpnagent[55]: Function: GetPrimaryInterfaceIndex File: ../../vpn/Common/Utility/NetInterface_unix.cpp Line: 422 Unable to get global IPv6 information from system configuration. 11/7/16 5:47:09.965 PM acvpnagent[55]: Function: determinePublicAddrCandidateFromDefRoute File: ../../vpn/AgentUtilities/HostConfigMgr.cpp Line: 1814 Invoked Function: CHostConfigMgr::FindDefaultRouteInterface Return Code: -24117215 (0xFE900021) Description: ROUTETABLE_ERROR_GETBESTROUTE_FAILED 11/7/16 5:47:09.965 PM acvpnagent[55]: Function: updatePotentialPublicAddresses File: ../../vpn/AgentUtilities/HostConfigMgr.cpp Line: 1959 Invoked Function: CHostConfigMgr::determinePublicAddrCandidateFromDefRoute Return Code: -24117215 (0xFE900021) Description: ROUTETABLE_ERROR_GETBESTROUTE_FAILED 11/7/16 5:47:09.970 PM acvpnagent[55]: Function: testNetwork File: ../../vpn/Agent/NetEnvironment.cpp Line: 669 Invoked Function: CNetInterface::GetGatewayAddress Return Code: -32636905 (0xFE0E0017) Description: NETINTERFACE_ERROR_SERVICE_ID_NOT_FOUND 11/7/16 5:47:10.834 PM acvpnagent[55]: Function: logProbeFailure File: ../../vpn/Agent/NetEnvironment.cpp Line: 1417 The HTTPS probe to 198.241.217.82 resulted in a redirect. 11/7/16 5:47:10.847 PM acvpnagent[55]: Function: analyzeHttpResponse File: ../../vpn/Agent/NetEnvironment.cpp Line: 1616 SG (198.241.217.82) contacted 11/7/16 5:47:15.600 PM UserEventAgent[1432]: com.apple.TMHelperAgent.SetupOffer enabled 11/7/16 5:47:15.600 PM UserEventAgent[47]: Failed to send message because the port couldn't be created. 11/7/16 5:47:16.002 PM UserEventAgent[1432]: com.apple.TMHelperAgent.SetupOffer enabled 11/7/16 5:47:16.002 PM UserEventAgent[47]: Failed to send message because the port couldn't be created. 11/7/16 5:47:39.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:39.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:39.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:39.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:42.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0002 11/7/16 5:47:59.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:47:59.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003 11/7/16 5:48:06.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Response contains no questions or answers 11/7/16 5:48:08.000 PM kernel[0]: DnsInspectPacket: DnsInspectPacket: Failed DNS Response: 0x0003

zchee commented 7 years ago

@youngl98 Thanks for the information. This problem is a big problem from the past. I'll debug and research that problem.

zchee commented 7 years ago

@youngl98 BTW, Do you have a setting related to the DNS and InternetSharing?

youngl98 commented 7 years ago

How do I know to get it? Please guide me.

zchee commented 7 years ago

@youngl98 Ah,

e.g. In the System Preferences - Sharing, screen shot 2016-11-08 at 11 01 24

or, edited /etc/hosts, or Some setting of System Preferences - Network, or etc.

youngl98 commented 7 years ago

Ahh!

The corporate IT disabled all that :(

screen shot 2016-11-07 at 6 11 14 pm

zchee commented 7 years ago

@youngl98 Ohh... understand. Hmm...OK, I change debugging plan, will try to get the same error.

youngl98 commented 7 years ago

@zchee do you use the gitter chat app? I am on gitter as well.

zchee commented 7 years ago

@youngl98 Ah, sorry. Now I use iPhone for reply. So can't debugging now :( Gitter app can private chat? If so, I'll install later.

youngl98 commented 7 years ago

@zchee Yes gitter supports private chat

tol commented 5 years ago

Hi, I have the same issue .. Did you find a solution?

youngl98 commented 5 years ago

No, I did not . I am not pursuing this anymore.

On Sun, Jun 9, 2019 at 12:11 AM tol notifications@github.com wrote:

Hi, I have the same issue .. Did you find a solution?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/machine-drivers/docker-machine-driver-xhyve/issues/148?email_source=notifications&email_token=AACOUCZGADDQIO257XEID73PZSUK5A5CNFSM4CVH43S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIE45Y#issuecomment-500190839, or mute the thread https://github.com/notifications/unsubscribe-auth/AACOUCYOPGQ4SCAAF3TEZDLPZSUK5ANCNFSM4CVH43SQ .

-- Thanx. - Young (Sent with Gmail. Please forgive typos)