Commit graph

4148 commits

Author SHA1 Message Date
Alex Dadgar 9651b2551b Fix check of completed next eval 2016-05-27 11:50:15 -07:00
Alex Dadgar 10c2e8449f Show failure reason in status 2016-05-27 11:50:15 -07:00
Alex Dadgar 57770de1fc Add eval-status and remove eval-monitor 2016-05-27 11:50:15 -07:00
Alex Dadgar 5ee64acd68 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 fb8d79a908 Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -07:00
Daniel Kerwin 231d51fd19 Fix vendor rootPath 2016-05-27 12:45:25 +02:00
Daniel Kerwin df7f5175a8 Add support for shm_size to docker driver. Required update of go-dockerclient
to more recent version (ba4298ecf4cfa216f1cce2befbf653359f62c722).
2016-05-27 12:30:04 +02:00
Alex Dadgar 41de4b3521 changelog 2016-05-25 11:19:27 -07:00
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