Add retry logic to minikub SSH connectivity check #5834
Labels
area/networking
networking issues
co/virtualbox
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
The exact command to reproduce the issue:
minikube start
The full output of the command that failed:
X minikube is unable to connect to the VM: dial tcp 192.168.99.100:22: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
This is likely due to one of two reasons:
Suggested workarounds:
panic: exit status 74
The operating system version: Windows 7
Hello, it seems the trySSH method in validateNetwork in start.go seems a little bit aggressive when testing connectivity to VM. Immediately after the failure, I tried minikube ssh but it was not responding. When I tried 10s later, everything was working well
The text was updated successfully, but these errors were encountered: