-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cannot delete job when it has an allocation that was evicted from the node no longer available. #6624
Comments
Hi @jacobomarquis, I'm looking into this and have a few questions to help reproduce the issue. Do you mind sharing the job file for this? Are you running an enterprise version of nomad or just open source? The reason I ask is that I believe an allocation status of |
Just wanted to follow up that I was able to reproduce this by preempting a job and immediately terminating the node before the job was able to complete or be evicted.
|
Nice to hear you were able to reproduce the issue. This is exactly what happened in our infrastructure. |
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. |
Nomad version: 0.10.1
Ubuntu:16.04.6
Issue
Cannot delete job when it has an allocation that was evicted from the node and then node is no longer available.
Reproduction steps
job gets evicted and then the node disappears
output of nomad job status
ID = api
Name = api
Submit Date = 2019-11-06T10:58:53+01:00
Type = service
Priority = 50
Datacenters = northeurope,westeurope
Status = dead (stopped)
Periodic = false
Parameterized = false
Summary
Task Group Queued Starting Running Failed Complete Lost
api 0 0 1 52 121 25
Allocations
ID Node ID Task Group Version Desired Status Created Modified
28e6a071 098775f0 api 31 evict running 12d18h ago 12d18h ago
Node 098775f0 no longer exists and this alloc lingers for ever even after a Garbage Collector.
Job file (if appropriate)
N/A
The text was updated successfully, but these errors were encountered: