Commit Graph

227 Commits

Author SHA1 Message Date
Sean Chittenden
3e95ca61ef Per-comment, remove structs.Allocation's Services attribute.
Nuke PopulateServiceIDs() now that it's also no longer needed.
2016-06-10 15:54:39 -04:00
Sean Chittenden
54838b9eba Rename structs.Task's Service attribute to ConsulService 2016-06-10 15:54:39 -04:00
Sean Chittenden
a2081159b4 Rename structs.Services to structs.ConsulServices 2016-06-10 15:54:39 -04:00
Alex Dadgar
38dbe768e7 Add eval-status and remove eval-monitor 2016-05-27 11:50:15 -07:00
Alex Dadgar
f47d341c4e Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -07:00
Alex Dadgar
230b66377b address comment 2016-05-25 10:30:47 -07:00
Alex Dadgar
8456f77220 Periodically unblock failed evaluations 2016-05-24 20:10:56 -07:00
Alex Dadgar
08b2291313 Reuse the same evaluation and reblock it until there is no more work to do 2016-05-24 20:10:56 -07:00
Alex Dadgar
6dc9b7e1ac Merge pull request #1188 from hashicorp/f-no-failed-allocs
Failed Allocation Metrics stored in Evaluation
2016-05-24 20:06:28 -07:00
Alex Dadgar
d5fa76ec21 comment 2016-05-24 18:18:10 -07:00
Alex Dadgar
92bddbc3a5 rename SpawnedBlockedEval and simplify map safety check 2016-05-24 18:12:59 -07:00
Alex Dadgar
4a34fe4914 Add test to verify drain doesn't restart successful batch and add to ignore list 2016-05-24 17:47:03 -07:00
Alex Dadgar
691efe13df Dont restart successfully finished batch allocations 2016-05-24 17:23:18 -07:00
Alex Dadgar
6deadf1ccd Evals track blocked evals they create 2016-05-19 13:09:52 -07:00
Alex Dadgar
96ab783b3f Scheduler no longer produces failed allocations; failed alloc metrics stored in evaluation 2016-05-18 18:11:40 -07:00
Alex Dadgar
c37e48e723 inplaceUpdate returns the allocs that were updated in-place 2016-05-17 15:37:37 -07:00
Alex Dadgar
af7725432c Merge pull request #1168 from hashicorp/f-plan-endpoint
Job.Plan endpoint
2016-05-16 13:15:40 -07:00
Alex Dadgar
f56bdbe03a Switch to using the harness 2016-05-16 12:49:18 -07:00
Sean Chittenden
29be52f762 Speling police 2016-05-15 09:41:34 -07:00
Alex Dadgar
693059bd93 Fixes 2016-05-13 11:53:11 -07:00
Alex Dadgar
85323c5db6 Remove plan from the response 2016-05-12 11:29:38 -07:00
Alex Dadgar
5540b117b8 Test task group update annotations 2016-05-11 16:31:50 -07:00
Alex Dadgar
0e26f62707 Merge branch 'master' into f-plan-endpoint 2016-05-11 15:39:36 -07:00
Alex Dadgar
7f7a01df9c Fix switching diff structures 2016-05-11 15:36:28 -07:00
Alex Dadgar
5377f337b8 Check if network asks have changed when checking task updates 2016-05-05 21:32:01 -07:00
Alex Dadgar
1303a4365a Initial plan endpoint implementation - WIP 2016-05-05 11:21:58 -07:00
Alex Dadgar
7c5d73916f Task is not eligible for update if User, Meta, or Resources change 2016-04-25 17:20:25 -07:00
Alex Dadgar
58c92556fb vendor 2016-04-19 17:12:44 -07:00
Alex Dadgar
fb19da7cfe more debug 2016-04-19 16:55:27 -07:00
Alex Dadgar
aac0aeb591 base debugging 2016-04-19 16:33:25 -07:00
Alex Dadgar
2cb67f5825 Fix drained/batch allocations from continually migrating 2016-04-12 16:14:32 -07:00
Alex Dadgar
1e9650d070 filtering failed batch allocs 2016-04-11 12:51:53 -07:00
Alex Dadgar
8039720b10 Revert "Remove client status from allocation TerminalStatus"
This reverts commit 819e1e4b39.
2016-04-08 14:22:06 -07:00
Alex Dadgar
819e1e4b39 Remove client status from allocation TerminalStatus 2016-03-25 12:53:37 -07:00
Alex Dadgar
77f5c6eab0 Merge pull request #975 from hashicorp/f-rename-complete-alloc
Successful allocations are marked as complete instead of dead
2016-03-25 10:35:11 -07:00
Diptanu Choudhury
b9972856e5 Added a note about backward compatibility 2016-03-23 19:08:07 -07:00
Alex Dadgar
e0699c2abb Successful allocations are marked as complete instead of dead 2016-03-23 18:08:19 -07:00
Alex Dadgar
bffcf5bd9f ProposedAllocs dedups in-place updated allocations 2016-03-21 18:09:32 -07:00
Alex Dadgar
1829163002 unit-test demonstrating broken behavior 2016-03-21 16:28:47 -07:00
Alex Dadgar
e0bc33a78e Allow count zero 2016-03-17 11:02:59 -07:00
Alex Dadgar
a71540a27a evict and replace when the artifacts of a task change 2016-03-15 19:32:49 -07:00
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
17f065d548 Merge pull request #848 from hashicorp/b-server-panic
core: store the job on allocations that are from stopped jobs
2016-02-24 17:27:22 -08:00
Alex Dadgar
589be0312f Generic Scheduler handles periodic eval type 2016-02-24 16:20:33 -08:00
Alex Dadgar
e66238e6ea Store the job on allocations that are from stopped jobs 2016-02-24 14:50:59 -08:00
Alex Dadgar
62e723b15f Revert "err logs in worker and scheduler"
This reverts commit 7befc58652.
2016-02-22 22:23:57 -08:00
Alex Dadgar
7befc58652 err logs in worker and scheduler 2016-02-22 14:47:59 -08:00
Alex Dadgar
d48ee01bd2 format 2016-02-22 13:24:26 -08:00
Armon Dadgar
c6fa4d1181 nomad: add a sanity check guard 2016-02-22 12:15:40 -08:00
Alex Dadgar
2a11511f2d Fix progressMade in scheduler 2016-02-22 10:38:04 -08:00