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 Show canaries on plan 2017-07-07 12:03:11 -07:00
annotate_test.go Deprecate IOPS 2018-12-06 15:09:26 -08:00
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 Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
device_test.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
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 Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
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 server 2018-09-15 16:23:13 -07:00
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 Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go Remove allowPlanOptimization from schedulers 2019-04-23 09:18:02 -07:00
scheduler_oss.go sync 2017-10-13 14:36:02 -07:00
select.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
select_test.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
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 sync 2017-10-13 14:36:02 -07:00
stack_oss.go scheduler: Add a feasability checker for Host Vols 2019-08-12 15:39:08 +02:00
stack_test.go renames 2018-10-04 14:57:25 -07:00
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