-
Notifications
You must be signed in to change notification settings - Fork 288
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
Hangs on startup, then throws error #6265
Comments
hmmm...i think the warning stack trace is downstream of the problem. i think that might just be the underlying libraries reporting a slow boot sequence. I'm more concerned about the |
does the problem still happen if you have a working docker daemon and kubernetes cluster? |
Hmm yes that might be the issue, however, I'm not sure how to check this.
The logs are from the time when I tried the demo project. |
hmmm i played around with different combos of dead docker daemons and dead clusters, and wasn't able to repro. could you do a sigabrt on tilt while it's hanging and send us the goroutine trace? e.g., run (NOTE: the full goroutine trace may be very large) |
Sure! Here is the output (ran tilt up, waited a few seconds and then aborted it): out.txt |
Thanks! The stack trace shows that the kubectl client libraries are hanging forever waiting on a TCP connection from gcp. You probably have a firewalled or non-functional control plane, as described in this doc: https://cloud.google.com/kubernetes-engine/docs/troubleshooting#kubectl-times-out We should add some checks for this case in tilt. But for now you can work around this by changing your kubectl context to something else. |
this should make tilt faster to load when connecting to a remote or non-responsive k8s cluster fixes tilt-dev#6265 Signed-off-by: Nick Santos <nick.santos@docker.com>
this has been noticed in a few places, including tilt-dev#6265 all users of controller-runtime now need to set a default logger Signed-off-by: Nick Santos <nick.santos@docker.com>
this should make tilt faster to load when connecting to a remote or non-responsive k8s cluster fixes #6265 Signed-off-by: Nick Santos <nick.santos@docker.com>
this has been noticed in a few places, including #6265 all users of controller-runtime now need to set a default logger Signed-off-by: Nick Santos <nick.santos@docker.com>
Expected Behavior
When I run
tilt up
, it should start normally.Current Behavior
When I run
tilt up
, first it hangs for around 30 secs, then throws an error:After the error, it starts and works correctly though.
Steps to Reproduce
Context
tilt doctor
OutputThe text was updated successfully, but these errors were encountered: