emit TaskEvent for task stops blocked by shutdown_delay
#14170
Labels
good first issue
hcc/cst
Admin - internal
help-wanted
We encourage community PRs for these issues!
theme/client
type/enhancement
Milestone
When a task shuts down with a
shutdown_delay
set, there's no Task Event that indicates we're waiting for the task to shut down. It can be useful for debugging what would otherwise look like a "stuck" task to have this in the output ofnomad alloc status
(and the corresponding pages on the UI).We've already got a debug-level log entry at the right spot in
task_runner.go#L931
, so it would be a matter of creating a new Task Event and callingUpdateState
for it (similar totask_runner.go#L1143-L1145
).The text was updated successfully, but these errors were encountered: