Skip to content
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

Nomad deployments getting stuck with allocations that fail due to client issues #4738

Closed
dgonzalezruiz opened this issue Oct 1, 2018 · 2 comments

Comments

@dgonzalezruiz
Copy link

dgonzalezruiz commented Oct 1, 2018

Nomad version

Nomad v0.8.1 (46aa11b)

Operating system and Environment details

Ubuntu 14.04.5 LTS

Issue

When a deployment is being performed and is in running state, a failed allocation due to an error inherent to the client makes the deployment get stuck, and not even draininly the failed client makes the deployment go on; manually failing such deployment and triggering it again is required.

In my specific case, this happens because I have some nodes that have networking issues and end up with read-only filesystems, which esentially generates this issue in the end:

Client Status       = failed
Client Description  = failed to build task dirs for 'your_fancy_service'

I haven't found anything useful in the logs for the matter.

Does anyone have a clue/tip re: what happens? Could nomad implement (if it does not do it already, in some form or shape) some logic in order to handle these issues more gracefully?

@dadgar
Copy link
Contributor

dadgar commented Oct 1, 2018

Hey with Nomad 0.8.4 or greater the allocation will get rescheduled and the deployment will continue until the progress deadline is hit. I suggest you update to 0.8.6!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants