open-nomad/scheduler
Drew Bailey ef175c0b31
Update Evicted allocations to lost when lost
If an alloc is being preempted and marked as evict, but the underlying
node is lost before the migration takes place, the allocation currently
stays as desired evict, status running forever, or until the node comes
back online.

This commit updates updateNonTerminalAllocsToLost to check for a
destired status of Evict as well as Stop when updating allocations on
tainted nodes.

switch to table test for lost node cases
2020-01-07 13:34:18 -05:00
..
annotate.go
annotate_test.go
context.go scheduler: fix panic when preempting and evicting 2019-12-02 20:22:22 -08:00
context_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00
device.go
device_test.go
feasible.go core: add semver constraint 2019-11-19 08:40:19 -08:00
feasible_test.go core: add semver constraint 2019-11-19 08:40:19 -08:00
generic_sched.go scheduler: fix job update placement on prev node penalized (#6781) 2019-12-03 06:14:49 -08:00
generic_sched_oss.go
generic_sched_test.go Update Evicted allocations to lost when lost 2020-01-07 13:34:18 -05:00
preemption.go Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
preemption_test.go Scheduler changes to support network at task group level 2019-07-31 01:04:08 -04:00
propertyset.go
rank.go More error->debug for logging in the bin packing iterator 2019-12-12 15:50:16 -06:00
rank_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00
reconcile.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
reconcile_test.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
reconcile_util.go Stop allocs to be rescheduled 2019-06-06 17:27:12 -04:00
reconcile_util_test.go
scheduler.go
scheduler_oss.go
select.go
select_test.go
spread.go More error->debug for logging in the bin packing iterator 2019-12-12 15:50:16 -06:00
spread_test.go Fix comment and assert score in test case 2019-05-15 12:35:57 -05:00
stack.go scheduler: Add a feasability checker for Host Vols 2019-08-12 15:39:08 +02:00
stack_not_ent.go
stack_oss.go scheduler: Add a feasability checker for Host Vols 2019-08-12 15:39:08 +02:00
stack_test.go
system_sched.go Fix inplace updates bug with group level networks 2019-09-05 18:37:24 -05:00
system_sched_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00
testing.go Add comments to functions, and use require instead of assert 2019-04-23 09:57:21 -07:00
util.go Update Evicted allocations to lost when lost 2020-01-07 13:34:18 -05:00
util_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00