open-nomad/e2e/nodedrain/input
Tim Gross 5a9abdc469
drain: use client status to determine drain is complete (#14348)
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`,
the node drain is marked as complete prematurely, even though drain monitoring
will continue to report allocation migrations. This impacts the UI or API
clients that monitor node draining to shut down nodes.

This changeset updates the behavior to wait until the client status of all
drained allocs are terminal before marking the node as done draining.
2023-04-13 08:55:28 -04:00
..
drain_deadline.nomad
drain_ignore_system.nomad
drain_killtimeout.nomad drain: use client status to determine drain is complete (#14348) 2023-04-13 08:55:28 -04:00
drain_migrate.nomad
drain_simple.nomad