Commit Graph

92 Commits

Author SHA1 Message Date
Alex Dadgar
670c7e57dc add to stack 2018-10-13 12:27:49 -07:00
Alex Dadgar
0f2f4797cb fixing tests 2018-10-04 14:26:19 -07:00
Alex Dadgar
49c2d4f775 Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
Alex Dadgar
260b566c91 server 2018-09-15 16:23:13 -07:00
Alex Dadgar
98c7abe541 Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
Alex Dadgar
05d183bbab Fix lost handling of not actually down nodes 2018-03-30 14:17:41 -07:00
Alex Dadgar
95c3c637ba Correct status desc on draining system allocs 2018-03-26 17:54:46 -07:00
Michael Schurter
832b1d5694 switch to new raft DesiredTransition message 2018-03-21 16:49:48 -07:00
Alex Dadgar
48d637dad1 RPC, FSM, State Store for marking DesiredTransistion
fix build tag
2018-03-21 16:49:48 -07:00
Alex Dadgar
f6fbb36054 sync 2017-10-13 14:36:02 -07:00
Michael Schurter
04b8f8e7fc Remove structs import from api
Goes a step further and removes structs import from api's tests as well
by moving GenerateUUID to its own package.
2017-09-29 10:36:08 -07:00
Alex Dadgar
a9e3a41407 Enable more linters 2017-09-26 15:26:33 -07:00
Alex Dadgar
ac1539d5d9 Sync namespace changes 2017-09-07 17:04:21 -07:00
Alex Dadgar
989aa56304 Remove canary 2017-07-07 12:10:04 -07:00
Alex Dadgar
29e31af007 Attach eval id 2017-07-07 12:10:04 -07:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
0296011d8c Fix adjust test 2017-01-08 14:14:35 -08:00
Alex Dadgar
e80cecf58b Scheduler combines meta from job > group > task 2016-12-15 17:08:38 -08:00
Diptanu Choudhury
7297bf1c1b Added logic to ensure scheduler knows job defn has been updated when ephemeral disks has been updated (#1725) 2016-09-21 14:00:02 -07:00
Alex Dadgar
c3fb00cf6a tasks updated 2016-09-21 11:31:09 -07:00
Alex Dadgar
60e114a997 Merge pull request #1715 from hashicorp/b-dead-system-nodes
Fix bug where dead nodes weren't properly handled by system scheduler
2016-09-19 11:49:44 -07:00
Alex Dadgar
926f5ee004 Fix bug in which dead nodes weren't being properly handled by system scheduler 2016-09-19 11:49:27 -07:00
Diptanu Choudhury
396e45629b Renaming LocalDisk to EphemeralDisk (#1710)
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Diptanu Choudhury
a6e0077f72 Implemented SetPrefferingNodes in stack 2016-08-30 16:17:50 -07:00
Diptanu Choudhury
7da66e169c Making the scheduler use LocalDisk instead of Resources.DiskMB 2016-08-25 12:27:42 -05: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
3ec1f75d09 Make scheduler mark allocations as lost 2016-08-03 15:57:46 -07:00
Diptanu Choudhury
a9c995b0c7 Added a test for adjustQueuedAllocations 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
230a59ca16 Fixed some more tests 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
Alex Dadgar
c5059fc7c4 Rename ConsulService back to Service 2016-06-12 16:36:49 -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
f47d341c4e Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -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
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
6deadf1ccd Evals track blocked evals they create 2016-05-19 13:09:52 -07:00
Alex Dadgar
c37e48e723 inplaceUpdate returns the allocs that were updated in-place 2016-05-17 15:37:37 -07:00
Alex Dadgar
f56bdbe03a Switch to using the harness 2016-05-16 12:49:18 -07:00
Alex Dadgar
693059bd93 Fixes 2016-05-13 11:53:11 -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
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
d48ee01bd2 format 2016-02-22 13:24:26 -08:00
Alex Dadgar
2a11511f2d Fix progressMade in scheduler 2016-02-22 10:38:04 -08:00