Commit Graph

3944 Commits

Author SHA1 Message Date
Alex Dadgar
38dbe768e7 Add eval-status and remove eval-monitor 2016-05-27 11:50:15 -07:00
Alex Dadgar
954c10d311 Merge pull request #1208 from hashicorp/b-blocked-dont-store-metrics
Blocked evals don't store TG alloc metrics
2016-05-27 11:49:27 -07:00
Alex Dadgar
f47d341c4e Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -07:00
Alex Dadgar
7455413551 changelog 2016-05-25 11:19:27 -07:00
Alex Dadgar
094a090d16 Merge pull request #1199 from hashicorp/f-lighter-blocked-evals
Reuse blocked evaluations and handle unblock events that occurred during scheduling
2016-05-25 11:17:59 -07:00
Alex Dadgar
230b66377b address comment 2016-05-25 10:30:47 -07:00
Diptanu Choudhury
20f4042a0a Merge pull request #1204 from hashicorp/fix-server-address
Use Bind Addr as server's IP while registering with consul in the absence of other configuration.
2016-05-24 22:30:35 -07:00
Diptanu Choudhury
9d8f6d0837 Added a test for generation of the server addr 2016-05-24 21:29:13 -07:00
Alex Dadgar
bd079a2c1d test fixes and delete 2016-05-24 20:20:06 -07:00
Alex Dadgar
8456f77220 Periodically unblock failed evaluations 2016-05-24 20:10:56 -07:00
Alex Dadgar
1fc3fec1be Track unblock indexes and check evals on block to see if they missed an update while in the scheduler 2016-05-24 20:10:56 -07:00
Alex Dadgar
580a363537 Worker annotates evals with their snapshot index 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
b6f1d4b3d5 changelog 2016-05-24 20:10:40 -07:00
Alex Dadgar
0c0f64aaff Merge pull request #1181 from hashicorp/f-plan-cli
cli: nomad plan command
2016-05-24 20:09:12 -07:00
Alex Dadgar
81088595c2 changelog 2016-05-24 20:09:03 -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
0a6c5ba084 meta flag test 2016-05-24 18:53:46 -07:00
Alex Dadgar
ed94128d68 output and test fix 2016-05-24 18:42:05 -07:00
Alex Dadgar
5a4500c9dd vendor colorstring 2016-05-24 18:28:27 -07:00
Alex Dadgar
3590f8a571 changelog 2016-05-24 18:20:28 -07:00
Alex Dadgar
a113f3173d Merge pull request #1205 from hashicorp/b-drain-restarting-jobs
Do not restart successful batch jobs when the node is tainted (removed/drained)
2016-05-24 18:18:27 -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
Diptanu Choudhury
f1c96df3f3 Using the bind addr as server's IP if advertise addr and addresses.HTTP is not specified 2016-05-24 17:27:09 -07:00
Alex Dadgar
691efe13df Dont restart successfully finished batch allocations 2016-05-24 17:23:18 -07:00
Alex Dadgar
ecd0e1ee6e changelog 2016-05-24 13:38:21 -07:00
Alex Dadgar
18e565ec42 Merge pull request #1203 from hashicorp/f-gzip
Compress HTTP API responses
2016-05-24 13:36:13 -07:00
Alex Dadgar
ef77f58947 nil protection 2016-05-24 11:18:32 -07:00
Alex Dadgar
05ea2bd583 Compress HTTP API responses and have the api client utilize this 2016-05-24 10:26:53 -07:00
Alex Dadgar
4498288e5b Merge pull request #1200 from hartzell/master
Typo in docs: beings -> begins
2016-05-23 16:59:28 -07:00
George Hartzell
ce0221af06 Merge pull request #1 from hartzell/hartzell-typo-1
typo: beings -> begins
2016-05-23 16:58:21 -07:00
George Hartzell
bdf22b4fcd typo: beings -> begins 2016-05-23 16:57:49 -07:00
Diptanu Choudhury
09ea304c10 Merge pull request #1195 from hashicorp/fix-docker-test
Fixed docker test
2016-05-22 03:48:05 -07:00
Diptanu Choudhury
8e63a6a602 Fixed docker test 2016-05-22 02:49:33 -07:00
Diptanu Choudhury
cdfcfbf958 Merge pull request #1192 from hashicorp/yamux-update
Updating yamux
2016-05-21 20:13:18 -07:00
Diptanu Choudhury
a0c5732c0e Updating yamux 2016-05-20 22:06:22 -07:00
Alex Dadgar
115adfaa89 changelog 2016-05-20 14:31:28 -07:00
Alex Dadgar
4133157afb Merge pull request #1182 from hashicorp/f-json-encoder
Use codegen for json marshalling
2016-05-20 14:30:25 -07:00
Alex Dadgar
9f5ab6648f print spawned eval in monitor 2016-05-19 13:16:10 -07:00
Alex Dadgar
6deadf1ccd Evals track blocked evals they create 2016-05-19 13:09:52 -07:00
Alex Dadgar
9e74809549 changelog 2016-05-19 10:45:18 -07:00
Alex Dadgar
b6679120dd Merge pull request #1183 from hashicorp/f-atomic-eval-enqueue
EnqueueAll ensures all evaluations are enqueued before unblocking Dequeue calls
2016-05-19 10:43:49 -07:00
Alex Dadgar
154875c0bc Show task group failures in eval-monitor 2016-05-18 22:02:51 -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
ab21a76f8b EnqueueAll inserts all evaluations before unblocking dequeue calls 2016-05-18 12:13:59 -07:00
Alex Dadgar
86989706bc eval_broker.Enqueue no longer returns an error 2016-05-18 11:35:15 -07:00
Alex Dadgar
819eaca09e Use codegen for json marshalling: 20% faster, 12% less bytes allocated, 85% less allocations 2016-05-18 09:45:46 -07:00
Diptanu Choudhury
6b0757c6c4 Merge pull request #1174 from hashicorp/f-config-consul-block
Using the auto-register flag
2016-05-18 04:16:38 +02:00