Commit Graph

4007 Commits

Author SHA1 Message Date
Diptanu Choudhury 2b86bb3396 Added cpu stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury 0fb0e0237f Added a client API to display resource usage of an allocation 2016-05-28 19:42:34 -07:00
Diptanu Choudhury 6c1b60ff07 Add the Stats api to driverhandle 2016-05-28 19:42:34 -07:00
Diptanu Choudhury bc81cae12c Merge pull request #1207 from dkerwin/docker_add_shm_size
Add support for shm_size to docker driver
2016-05-28 19:28:59 -07:00
Diptanu Choudhury bc2d0bbeb4 Merge pull request #1212 from kennethzfeng/master
Add reload command to systemd unit file
2016-05-28 19:27:49 -07:00
Kenneth Feng c5a217a1b4 Add reload command to systemd unit file 2016-05-28 17:12:57 -04:00
Daniel Kerwin 8f23de64c8 Update to latest go-dockerclient. Fix .gitignore expression to allow
docker/pkg packages.
2016-05-28 12:01:56 +02:00
Alex Dadgar 75bd7a50f7 changelog 2016-05-27 17:43:20 -07:00
Alex Dadgar 218a29f2c1 Merge pull request #1210 from hashicorp/b-task-dashes
Validate that tasks don't contain slashes
2016-05-27 17:37:52 -07:00
Alex Dadgar cc00a66e38 validate that tasks don't contain slashes 2016-05-27 17:17:10 -07:00
Alex Dadgar f976254468 Revert "validate that tasks don't contain slashes"
This reverts commit b3025782d0030a2799242deab95d26b9dd72dcdd.
2016-05-27 17:15:25 -07:00
Alex Dadgar ee89e1c455 validate that tasks don't contain slashes 2016-05-27 17:13:17 -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