-
Notifications
You must be signed in to change notification settings - Fork 14
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
pots left behind in case job is dying #19
Comments
There is already a workaround for this, even if not fully documented. |
Is the pot marked prunable before or after launch? I'm wondering if there is a possibility for bad timing leading to accidental destruction of a pot that is in the middle of getting provisioned if |
The mechanism is implemented in 2 steps to avoid the situation you described. |
It might make sense to integrate this feature into the pot driver (maybe configurable?). |
There is a garbage collection feature in nomad and the idea is to run |
@pizzamig I think the changes in bsdpot/pot#200 and #30 might actually solve this one as well. |
comment moved to #35 (as new issue) |
I think this has been overcome by events |
In case the process of a pot dies (e.g.
killall nginx
) the task is restarted automatically by nomad as expected, but the pot is left behind (pot list
). When doing a graceful stop of a job (nomad stop job
) this isn't the case.The text was updated successfully, but these errors were encountered: