Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

[>.12 draft releases]: Long first remote push kills the release process #644

Open
squillace opened this issue Apr 5, 2018 · 7 comments
Open

Comments

@squillace
Copy link
Contributor

On Mac, draft version: &version.Version{SemVer:"canary", GitCommit:"78385afe65500ebb4f546341f229a5f200f1128a", GitTreeState:"clean"}

The image shows you what happens again and again IF you've never pushed before. In this case, pushing to docker.io/squillace. If you immediately rerun draft up, it all succeeds fine, and subsequent rebuilds with changes will push much faster.

image

@bacongobbler
Copy link
Contributor

This one is interesting. I haven't the foggiest idea what caused it, though it looks like it was a connection timeout error with the port-forwarded connection to tiller. I'll see if I can reproduce. :)

Before that error occurred, were you able to confirm that tiller was indeed running? It's possible that the cluster was still trying to start up.

@squillace
Copy link
Contributor Author

same cluster, every time. Here it happens again, with the first time deploying to the same AKS cluster as above but from ACR. Wondering whether we're maybe trying to deploy before the image is ready to be pulled? No idea; just guessing here.

image

@squillace
Copy link
Contributor Author

Remember: I'm on a home network for which the upload is VASTLY slower than most people's.... might have something to do with it. Look at the original upload times.....

@squillace
Copy link
Contributor Author

Yeah: this is a thing. If the push takes too long -- and the initial push often does on a slow upload connection -- the release step fails on this result. the tunnel context has been lost, I think, but it doesn't reconnect/reconstruct the ssh context.

@bacongobbler
Copy link
Contributor

hmm good insight! we establish a connection to tiller the moment we invoke draft up. Perhaps there's a way to keep the connection alive.

@squillace
Copy link
Contributor Author

Or let me set the timeout somewhere..... don't do work FOR me, but in the small number of cases when upload is KNOWN slow, a hard to find timeout setting can be expanded...... ?

@bacongobbler
Copy link
Contributor

labeling as a good first issue. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants