Commit graph

4119 commits

Author SHA1 Message Date
Diptanu Choudhury 7569b1af2e Collecting host stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury 15d867d5f1 Updated gopsutil 2016-05-28 19:42:34 -07:00
Diptanu Choudhury f3d0aecafe Reporting time series of stats 2016-05-28 19:42:34 -07:00
Diptanu Choudhury 8abc594da1 Added a ringbuff datastructure 2016-05-28 19:42:34 -07:00
Diptanu Choudhury 13825f434e Added the nomad stats command 2016-05-28 19:42:34 -07:00
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 1f9f015c1b Fix race condition in which a reblocked evaluation could be dropped 2016-05-27 16:53:10 -07:00
Alex Dadgar 12ecd061e1 test fix 2016-05-27 11:50:15 -07:00
Alex Dadgar 55d48196b2 eval-status website docs 2016-05-27 11:50:15 -07:00
Alex Dadgar d92bf1e1a5 Handle the no allocation case in status 2016-05-27 11:50:15 -07:00
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