Skip to content
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

docker-env hangs for 2-3 minutes if cluster is stopped #3697

Closed
tstromberg opened this issue Feb 16, 2019 · 0 comments
Closed

docker-env hangs for 2-3 minutes if cluster is stopped #3697

tstromberg opened this issue Feb 16, 2019 · 0 comments
Assignees
Labels
co/runtime/docker Issues specific to a docker runtime

Comments

@tstromberg
Copy link
Contributor

It currently takes 2-3 minutes to run minikube docker-env if the cluster is stopped, because we blindly ssh to it to see if Docker is running. Here's --alsologtostderr -v=8`

 ~  /usr/local/bin/minikube status
host: Stopped
kubelet: 
apiserver: 
kubectl: 
 !  ~  /usr/local/bin/minikube docker-env --alsologtostderr  -v=8
I0215 20:49:55.630462   83671 notify.go:121] Checking for updates...
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x143d0e0] 0x143d0b0  [] 0s} 127.0.0.1 58726 <nil> <nil>}
About to run SSH command:
sudo systemctl is-active docker
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
Error dialing TCP: dial tcp 127.0.0.1:58726: connect: connection refused
SSH cmd err, output: <nil>: 
W0215 20:52:56.181359   83671 exit.go:53] # The docker service is currently not active
💣  # The docker service is currently not active
@tstromberg tstromberg changed the title docker-env should exit immediately if cluster is stopped docker-env hangs for 2-3 minutes if cluster is stopped Feb 16, 2019
@afbjorklund afbjorklund added the co/runtime/docker Issues specific to a docker runtime label Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/runtime/docker Issues specific to a docker runtime
Projects
None yet
Development

No branches or pull requests

2 participants