-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Qemu2 driver, Can not Start after a stop #14171
Comments
Yeah, there is some duplicated check here that doesn't start the ssh tunneling of the 8443 port properly. start, code path 1
APIServerPort:39899 stopThe ssh tunnel is stopped with the node:
start, code path 2
APIServerPort:34455 This will get better when it is moved to the same place as the 22 port, so that it gets started with the vm. |
But it did start ok (second time) on Linux, eventually |
Yeah, it takes a bit longer, but it does eventually start up. I tested on M1 as well. |
Yeah, so the source of the problem is that when there's an existing cluster we're restarting, we check of the api server is healthy or not. Since the config has the updated api server port, but hasn't done the tunneling yet (since that normally happens after everything in the cluster is up on first start), the check just times out over and over and fails. It's not a hard failure, since that causes a hard restart eventually which succeeds. |
Ah, so it was the self-destruct I was seeing |
What Happened?
I just tried Minikube Qemu driver on M1, and it starts nicely, but when I stop and start it again it wont start again
@afbjorklund I suspect this is because the Random Port, here is the log of minikube start (after a stop)
Attach the log file
14 19:26:26.976485 22066 api_server.go:256] stopped: https://localhost:64024/healthz: Get "https://localhost:64024/healthz": dial tcp [::1]:64024: connect: connection refused
I0514 19:26:27.475184 22066 api_server.go:240] Checking apiserver healthz at https://localhost:64024/healthz ...
I0514 19:26:27.476992 22066 api_server.go:256] stopped: https://localhost:64024/healthz: Get "https://localhost:64024/healthz": dial tcp [::1]:64024: connect: connection refused
I0514 19:26:27.975299 22066 api_server.go:240] Checking apiserver healthz at https://localhost:64024/healthz ...
I0514 19:26:27.976082 22066 api_server.go:256] stopped: https://localhost:64024/healthz: Get "https://localhost:64024/healthz": dial tcp [::1]:64024: connect: connection refused
I0514 19:26:28.475373 22066 api_server.go:240] Checking apiserver healthz at https://localhost:64024/healthz ...
I0514 19:26:28.476598 22066 api_server.go:256] stopped: https://localhost:64024/healthz: Get "https://localhost:64024/healthz": dial tcp [::1]:64024: connect: connection refused
I0514 19:26:28.975479 22066 ssh_runner.go:195] Run: docker ps -a --filter=name=k8s_kube-apiserver --format={{.ID}}
I0514 19:26:29.010638 22066 logs.go:274] 2 containers: [2dc1caca367a 3b05de79db6e]
I0514 19:26:29.010718 22066 ssh_runner.go:195] Run: docker ps -a --filter=name=k8s_etcd --format={{.ID}}
Operating System
macOS (Default)
Driver
N/A
The text was updated successfully, but these errors were encountered: