Is there somewhere a detailed documentation of the "status" and "desired" status a task can have? And especially how do they affect the task-group and job status?
const (
AllocDesiredStatusRun = "run" // Allocation should run
AllocDesiredStatusStop = "stop" // Allocation should stop
AllocDesiredStatusEvict = "evict" // Allocation should stop, and was evicted
)
const (
AllocClientStatusPending = "pending"
AllocClientStatusRunning = "running"
AllocClientStatusComplete = "complete"
AllocClientStatusFailed = "failed"
AllocClientStatusLost = "lost"
)
When I search the codebase I find all possible States but in particular I don't understand the difference between running and complete or when is a task lost and not failed? Is there a correlation between lost and evict?
Thanks in advance.
Hey I agree we should document this better.
In the mean time to answer your question:
Hey there
Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this.
Thanks!
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem :+1:
Most helpful comment
Hey I agree we should document this better.
In the mean time to answer your question: