Commit Graph

4090 Commits

Author SHA1 Message Date
Alex Dadgar 52a78c5930 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 6a236872b4 address comment 2016-05-25 10:30:47 -07:00
Diptanu Choudhury 5b1a2100c6 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 bf5b78b77e Added a test for generation of the server addr 2016-05-24 21:29:13 -07:00
Alex Dadgar a3336b7761 test fixes and delete 2016-05-24 20:20:06 -07:00
Alex Dadgar 3fd51ecece Periodically unblock failed evaluations 2016-05-24 20:10:56 -07:00
Alex Dadgar bfdd5846e1 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 15936822a4 Worker annotates evals with their snapshot index 2016-05-24 20:10:56 -07:00
Alex Dadgar 18d9e89065 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 7bd734aa56 changelog 2016-05-24 20:10:40 -07:00
Alex Dadgar 1a4f25031c Merge pull request #1181 from hashicorp/f-plan-cli
cli: nomad plan command
2016-05-24 20:09:12 -07:00
Alex Dadgar 7ab43c18d1 changelog 2016-05-24 20:09:03 -07:00
Alex Dadgar 3cbb89c61e 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 d7d9ecad59 meta flag test 2016-05-24 18:53:46 -07:00
Alex Dadgar b7ca0669b8 output and test fix 2016-05-24 18:42:05 -07:00
Alex Dadgar 91399a2067 vendor colorstring 2016-05-24 18:28:27 -07:00
Alex Dadgar 254fa70170 changelog 2016-05-24 18:20:28 -07:00
Alex Dadgar 18b5057fb0 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 958d677248 comment 2016-05-24 18:18:10 -07:00
Alex Dadgar fcc57fbc66 rename SpawnedBlockedEval and simplify map safety check 2016-05-24 18:12:59 -07:00
Alex Dadgar 7167b93ba9 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 227477533c 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 b5ad18a7ea Dont restart successfully finished batch allocations 2016-05-24 17:23:18 -07:00
Alex Dadgar 0cc6a8efad changelog 2016-05-24 13:38:21 -07:00
Alex Dadgar a4bb011a43 Merge pull request #1203 from hashicorp/f-gzip
Compress HTTP API responses
2016-05-24 13:36:13 -07:00
Alex Dadgar 92e182d560 nil protection 2016-05-24 11:18:32 -07:00
Alex Dadgar 2a4d5f0ef9 Compress HTTP API responses and have the api client utilize this 2016-05-24 10:26:53 -07:00
Alex Dadgar 78590552d2 Merge pull request #1200 from hartzell/master
Typo in docs: beings -> begins
2016-05-23 16:59:28 -07:00
George Hartzell 439b89279e Merge pull request #1 from hartzell/hartzell-typo-1
typo: beings -> begins
2016-05-23 16:58:21 -07:00
George Hartzell 8c7c693222 typo: beings -> begins 2016-05-23 16:57:49 -07:00
Diptanu Choudhury bda23ba918 Merge pull request #1195 from hashicorp/fix-docker-test
Fixed docker test
2016-05-22 03:48:05 -07:00
Diptanu Choudhury 76509eb230 Fixed docker test 2016-05-22 02:49:33 -07:00
Diptanu Choudhury 84a3e36036 Merge pull request #1192 from hashicorp/yamux-update
Updating yamux
2016-05-21 20:13:18 -07:00
Diptanu Choudhury 6eaa1ef0d5 Updating yamux 2016-05-20 22:06:22 -07:00
Alex Dadgar 83bbe9df60 changelog 2016-05-20 14:31:28 -07:00
Alex Dadgar 120ff47cd1 Merge pull request #1182 from hashicorp/f-json-encoder
Use codegen for json marshalling
2016-05-20 14:30:25 -07:00
Alex Dadgar e4cb2d400b print spawned eval in monitor 2016-05-19 13:16:10 -07:00
Alex Dadgar 1feb57b047 Evals track blocked evals they create 2016-05-19 13:09:52 -07:00
Alex Dadgar ec6b2e939e changelog 2016-05-19 10:45:18 -07:00
Alex Dadgar 914a480b41 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 16353c48a7 Show task group failures in eval-monitor 2016-05-18 22:02:51 -07:00
Alex Dadgar 8f5f12ae81 Scheduler no longer produces failed allocations; failed alloc metrics stored in evaluation 2016-05-18 18:11:40 -07:00
Alex Dadgar 1c6d3e129a EnqueueAll inserts all evaluations before unblocking dequeue calls 2016-05-18 12:13:59 -07:00
Alex Dadgar 045f7807e0 eval_broker.Enqueue no longer returns an error 2016-05-18 11:35:15 -07:00
Alex Dadgar 636f886e30 Use codegen for json marshalling: 20% faster, 12% less bytes allocated, 85% less allocations 2016-05-18 09:45:46 -07:00
Diptanu Choudhury bf27cc1261 Merge pull request #1174 from hashicorp/f-config-consul-block
Using the auto-register flag
2016-05-18 04:16:38 +02:00
Alex Dadgar 0c653c3c8f Fix determining whether a job is edited 2016-05-17 15:48:35 -07:00
Alex Dadgar 117b926e2b inplaceUpdate returns the allocs that were updated in-place 2016-05-17 15:37:37 -07:00
Alex Dadgar 76b2c90ae2 changelog 2016-05-17 13:36:33 -07:00
Alex Dadgar d7bb9c58ed tests 2016-05-17 13:33:48 -07:00