-
Notifications
You must be signed in to change notification settings - Fork 87
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
Gets stuck on checking an update #31
Comments
@iangregsondev Well, if it shows 0/1 it is currently flapping/broken. You should have a look in the logs on why it is not starting correctly. That could be a problem why the service update hangs. You can also try the update manually in order to see what goes wrong: docker service update --detach=false --with-registry-auth --image iangregsondev/loop:latest bitcoin-testnet_loop1 |
Hi, thanks @djmaze, yes, in fact, that container was broken. I fixed it and all is working well now. I just thought that shepherd would timeout if that container hadn't finished updating - so it would continue. Anyway all working now! Thanks again, by the way - great little container, thanks for your hard work - it makes my life easier. |
In my case, I'm intentionally having services with
so they run once and exit. It seems that
Regardless of why a service update gets stuck, I think it makes sense for Shepherd to enforce a reasonable timeout and continue its job so that a single service "problem" doesn't stop other updates. Should I send a PR skipping services that use |
@DDuarte Sorry for the late answer. I am using swarm-cronjob for scheduling services. Those have their So I think we should not skip those services if |
It does! In that case I think it would be good to review that timeout. I tried with the builtin
|
Oh, I guess I wanted to write So I think we should not skip those services if About the timeout, I am not sure what would be a good way to implement that. As I currently don't have a need for that myself, I am open for PRs! |
Hi,
Just started to use this, its working great but it seems to stop on a particular container, can you help ?
I mean I have quite a few services - and all isn't listed here but it seems to have stopped on the last run - there is no output saying "no updates...."
Am I doing something wrong?
The only thing I can see with this particular service is that it's not currently deployed. Would this be a problem?
The text was updated successfully, but these errors were encountered: