Diptanu Choudhury
|
bcab2eb523
|
Added the chained alloc for system scheduler
|
2016-08-16 10:49:45 -07:00 |
|
Diptanu Choudhury
|
a6b88d7a50
|
Marking an allocation chained if we are creating this to replace an old one
|
2016-08-15 17:52:41 -07:00 |
|
Alex Dadgar
|
bc0e60ddb9
|
Plan on system scheduler doesn't count nodes who don't meet constraints
|
2016-08-11 15:26:25 -07:00 |
|
Diptanu Choudhury
|
928bfc6a1e
|
Ensuring system sched doesn't increment queued count when nodes are filtered
|
2016-08-10 14:33:13 -07:00 |
|
Diptanu Choudhury
|
de4a098d7d
|
Added scheduler tests
|
2016-08-09 14:52:25 -07:00 |
|
Diptanu Choudhury
|
2acd622891
|
Marking allocations which are not terminal and are on down nodes as lost
|
2016-08-09 13:11:58 -07:00 |
|
Alex Dadgar
|
6b2e9ea4e1
|
test sched doesn't mark complete as lost + core_sched tests
|
2016-08-04 11:24:17 -07:00 |
|
Alex Dadgar
|
3ec1f75d09
|
Make scheduler mark allocations as lost
|
2016-08-03 15:57:46 -07:00 |
|
Alex Dadgar
|
7ccf55caf0
|
KillTimeout can be modified in place
|
2016-08-01 20:19:12 -07:00 |
|
Alex Dadgar
|
1fcd593934
|
fix filter logic
|
2016-07-28 15:57:56 -07:00 |
|
Alex Dadgar
|
6272c1cecd
|
Merge pull request #1471 from hashicorp/b-handle-old-batch-allocs
filterCompleteAllocs filters replaced batch allocs
|
2016-07-28 14:31:19 -07:00 |
|
Diptanu Choudhury
|
114245bbf8
|
Updated tests and added logic to system sched
|
2016-07-28 14:02:50 -07:00 |
|
Diptanu Choudhury
|
d86980e9b8
|
fixed a comment
|
2016-07-28 12:22:44 -07:00 |
|
Diptanu Choudhury
|
5d0af5d595
|
Setting the queued count as zero if there is nothing to place
|
2016-07-28 12:13:35 -07:00 |
|
Diptanu Choudhury
|
dd958816f0
|
Added a test
|
2016-07-27 17:49:53 -07:00 |
|
Alex Dadgar
|
23414a56d8
|
filterCompleteAllocs filters replaced batch allocs
|
2016-07-27 11:54:55 -07:00 |
|
Diptanu Choudhury
|
64a944c7ff
|
Making the queued allocations bind late
|
2016-07-25 22:11:11 -07:00 |
|
Diptanu Choudhury
|
a9c995b0c7
|
Added a test for adjustQueuedAllocations
|
2016-07-25 17:31:40 -07:00 |
|
Diptanu Choudhury
|
ddf10e106a
|
Initializing the queued allocations late
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
73c6fbb087
|
Added a test to ensure we record the queued allocations correctly when the plan made partial progress
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
230a59ca16
|
Fixed some more tests
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
fb3b1095ba
|
Added a test to ensure failed batch allocations are being added to the number of queued allocations
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
46907a1208
|
Added a test to ensure system scheduler records the correct number of queued allocations
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
e9d8e10678
|
Added some more tests
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
5e86e9a829
|
Review comments
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
03c6692f98
|
Fixed some bugs
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
5b2f2ee6c5
|
Not setting the desired and client status of an allocation during in-place updates
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
7497403042
|
Fixed the logic for decrementing the count of queued based on plan result
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
bac783a81e
|
Setting the number of queued allocations per task group
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
42ba68a201
|
Removing the queued state of Job Summary and alloc desired status false
|
2016-07-13 13:20:46 -06:00 |
|
Alex Dadgar
|
5468a74d4e
|
test for max plan
|
2016-06-20 17:56:49 -07:00 |
|
Alex Dadgar
|
1ea4205295
|
Handle max plans
|
2016-06-20 17:43:02 -07:00 |
|
Sean Chittenden
|
4bb6309fd3
|
Misc typos
|
2016-06-16 16:17:17 -07:00 |
|
Alex Dadgar
|
5d69584577
|
track failed allocations properly
|
2016-06-15 12:58:19 -07:00 |
|
Alex Dadgar
|
c5059fc7c4
|
Rename ConsulService back to Service
|
2016-06-12 16:36:49 -07:00 |
|
Sean Chittenden
|
9b6e720fbe
|
Merge pull request #1201 from hashicorp/f-dyn-server-list
Dynamic Server Lists/Client Bootstrapping via consul.
|
2016-06-11 18:58:25 -04:00 |
|
Alex Dadgar
|
4d31dcd785
|
Only unblock if missed class was added after eval snapshot index
|
2016-06-10 15:24:06 -07:00 |
|
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 |
|