Closed ghost closed 6 years ago
I have this same issue. I run the command: minikube mount ./nodejs-express-example:/nodejs-express-example
The output of the above includes:
SSH cmd err, output: Process exited with status 32: umount: /nodejs-express-example: mountpoint not found
And the final line of the putput:
SSH cmd err, output: <nil>: mount: mount [ip] on /nodejs-express-example failed: Connection timed out
I would love some help with this also.
I tried this again after upgrading to minikube 0.24.1 ( minikube-v0.23.6.iso ) and it is working with a manually configured ExternalSwitch
as described above. NOTE: It is not working with the Windows 10 1709 Default Switch
though. Since the Default Switch
is the simplest configuration now I will leave this open.
I'm using minikube 0.24.1 on Windows 10 with HyperV enabled. I'm using the ExternalSwitch setup described above but I'm still unable to mount folders to the minikube host. Always results in Connection timed out
... here's the verbose output ...
C:\Users\Mike\Documents>minikube mount C:\Users\Mike\Documents:/mikedocs --v=10
Mounting C:\Users\Mike\Documents into /mikedocs on the minikube VM
This daemon process needs to stay alive for the mount to still be accessible...
ufs starting
[executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Get-VM minikube ).state
[stdout =====>] : Running
[stderr =====>] :
[executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Get-VM minikube ).networkadapters[0]).ipaddresses[0]
[stdout =====>] : 192.168.4.96
[stderr =====>] :
SSH binary not found, using native Go implementation
&{{{<nil> 0 [] [] []} docker [0x83feb0] 0x83fe60 [] 0s} 192.168.4.96 22 <nil> <nil>}
About to run SSH command:
sudo umount /mikedocs;
SSH cmd err, output: Process exited with status 32: umount: /mikedocs: mountpoint not found
[executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive ( Get-VM minikube ).state
[stdout =====>] : Running
[stderr =====>] :
[executing ==>] : C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Get-VM minikube ).networkadapters[0]).ipaddresses[0]
[stdout =====>] : 192.168.4.96
[stderr =====>] :
SSH binary not found, using native Go implementation
&{{{<nil> 0 [] [] []} docker [0x83feb0] 0x83fe60 [] 0s} 192.168.4.96 22 <nil> <nil>}
About to run SSH command:
sudo mkdir -p /mikedocs || true;
sudo mount -t 9p -o trans=tcp,port=57978,dfltuid=1001,dfltgid=1001,version=9p2000.u,msize=262144 192.168.3.25 /mikedocs;
sudo chmod 775 /mikedocs;
SSH cmd err, output: <nil>: mount: mount 192.168.3.25 on /mikedocs failed: Connection timed out
Any help would be much appreciated :)
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten /remove-lifecycle stale
@Dynamo6 Check your firewall log to see whether connections are being dropped. If that's the case, create a firewall rule allows connections from minikube virtual machine to the minikube program on your host machine.
Thanks @kochinc - it turned out to be our antivirus software that was restricting access in the end
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version (use
minikube version
):minikube version: v0.23.0
OS (e.g. from /etc/os-release): OS Name Microsoft Windows 10 Enterprise Version 10.0.16299 Build 16299
VM Driver (e.g.
cat ~/.minikube/machines/minikube/config.json | grep DriverName
):ISO version (e.g.
cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
):Install tools:
Others: The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
What happened:
PS > minikube mount C:\Users\tapuzzo\Documents:/mnt/laptop DEBUG: 1+ >>>> minikube mount C:\Users\tapuzzo\Documents:/mnt/laptop Mounting C:\Users\tapuzzo\Documents into /mnt/laptop on the minikube VM This daemon process needs to stay alive for the mount to still be accessible... ufs starting
PS > minikube ssh ( ) ( ) (_) ()| |/') | |_ /' `
\| |/' _
| || , < ( ) ( )| '_`\ /'\ | ( ) ( ) || || ( ) || || |\
\ | () || |) )( _/ () () ()()() ()()() (_)\___/'(_,__/'
____)$ ls /mnt/laptop $
PS > New-VMSwitch -SwitchType External -SwitchName ExternalSwitch -NetAdapterName "Ethernet 2" -AllowManagementOS $true PS > minikube start --vm-driver=hyperv --hyperv-virtual-switch=ExternalSwitch --alsologtostderr --cpus=4 --memory=4096 --kubernetes-version=v1.8.0 PS > Start-Job { minikube mount C:\Users\tapuzzo\Documents:/mnt/laptop } PS > minikube ssh
PS > minikube ssh ( ) ( ) (_) ()| |/') | |_ /' `
\| |/' _
| || , < ( ) ( )| '_`\ /'\ | ( ) ( ) || || ( ) || || |\
\ | () || |) )( _/ () () ()()() ()()() (_)\___/'(_,__/'
____)$ ping my.yahoo.com PING my.yahoo.com (98.138.252.38): 56 data bytes 64 bytes from 98.138.252.38: seq=0 ttl=52 time=25.381 ms 64 bytes from 98.138.252.38: seq=1 ttl=52 time=24.630 ms 64 bytes from 98.138.252.38: seq=2 ttl=52 time=25.069 ms ^C --- my.yahoo.com ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss