Commit graph

4135 commits

Author SHA1 Message Date
Diptanu Choudhury 7943ab4b33 Merge pull request #1257 from hashicorp/fix-docker-wait
Using a different client for collecting stats and waiting on containers
2016-06-11 12:51:38 -07:00
Diptanu Choudhury 19f4adbcf1 Using a different client for collecting stats and waiting on containers 2016-06-11 20:37:29 +02:00
Diptanu Choudhury 1dfe98d17d Merge pull request #1253 from hashicorp/fix-ticks-task
Calculating the cpu ticks in nomad client
2016-06-11 08:33:12 -07:00
Diptanu Choudhury 7fb507e810 Moving the clkspeed code to helper 2016-06-11 17:31:49 +02:00
Alex Dadgar 60629b7590 remove vet 2016-06-10 18:46:23 -07:00
Diptanu Choudhury 59540c3e93 Extracted a method for getting clock speed 2016-06-11 02:07:28 +02:00
Diptanu Choudhury f94f89b6d7 Pruning out pids which are no longer present 2016-06-11 01:40:52 +02:00
Diptanu Choudhury 0a9a3918d6 Not reset-ing the list of pids if they don't change 2016-06-11 01:19:50 +02:00
Alex Dadgar 66ac4fa6c0 Merge pull request #1255 from hashicorp/b-infinite-requeue
Only unblock if missed class was added after eval snapshot index
2016-06-10 16:15:26 -07:00
Alex Dadgar 7ccc7d20a0 test 2016-06-10 15:48:59 -07:00
Alex Dadgar b064b392fc Only unblock if missed class was added after eval snapshot index 2016-06-10 15:24:06 -07:00
Diptanu Choudhury ea65fd7925 Checking in the stats helper package 2016-06-10 23:46:33 +02:00
Diptanu Choudhury c38a6fb3c5 Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Diptanu Choudhury 01054db4fa Calculating total ticks consumed in the nomad client 2016-06-10 23:14:33 +02:00
Alex Dadgar f545c3328a Merge pull request #1254 from hashicorp/b-parse-artifact-options
Don't create options unless necessary
2016-06-10 14:08:00 -07:00
Diptanu Choudhury d9d5a95160 Using humanize to convert memory usage to MB 2016-06-10 22:24:33 +02:00
Diptanu Choudhury 2d3798b076 Calculating the cpu ticks in nomad client 2016-06-10 22:22:32 +02:00
Alex Dadgar 19f6a00568 test 2016-06-10 12:28:27 -07:00
Alex Dadgar 68cac2d0bc Don't create options unless necessary 2016-06-10 12:27:56 -07:00
Alex Dadgar 26c9110e82 fix types 2016-06-10 11:52:15 -07:00
Alex Dadgar b4fa34a854 Merge pull request #1252 from hashicorp/f-blocked-eval-text
Better placement failure text for blocked evals
2016-06-10 11:41:41 -07:00
Alex Dadgar c2fa53346d Merge pull request #1251 from hashicorp/f-alloc-status-resources
Alloc-status only shows measured statistics and fixes to CPU calculations
2016-06-10 11:39:41 -07:00
Alex Dadgar a3d41f2312 use time.Second instead of our own const 2016-06-10 11:38:59 -07:00
Alex Dadgar f006aeeb20 helper 2016-06-10 11:02:15 -07:00
Alex Dadgar 93a8af1422 better placement failure text for blocked evals 2016-06-10 10:56:32 -07:00
Alex Dadgar 3cf74e7fd8 Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
Diptanu Choudhury 3ab7d4a512 Merge pull request #1248 from hashicorp/fix-node-cpu-usage
Fixed calculation of cpu usage percent in user and sys mode for pids
2016-06-09 20:47:53 -07:00
Diptanu Choudhury 287e0eff22 Fixed merge conflicts 2016-06-10 04:47:34 +01:00
Diptanu Choudhury a69307cff2 Using named variables 2016-06-10 04:45:16 +01:00
Alex Dadgar 009863ee0d Merge pull request #1247 from hashicorp/f-measured-resources
Annotate what statistics are measured
2016-06-09 20:07:47 -07:00
Diptanu Choudhury 9056be6d86 Fixed calculation of cpu usage percent in user and sys mode for pids 2016-06-10 04:06:32 +01:00
Alex Dadgar 98d7547014 Annotate what is measured 2016-06-09 19:45:41 -07:00
Diptanu Choudhury 872957e015 Merge pull request #1246 from hashicorp/fix-node-cpu-usage
Changed the logic of calculation of node cpu usage
2016-06-09 19:29:12 -07:00
Diptanu Choudhury ef2d630ea4 Changed the logic of calculation of node cpu usage 2016-06-10 03:24:42 +01:00
Alex Dadgar 527afa5119 Merge pull request #1244 from hashicorp/b-eval-reblock-test-hardening
Don't dequeue requeued evals in tests
2016-06-09 11:35:42 -07:00
Alex Dadgar 82b26fb28a changelog 2016-06-08 14:12:23 -07:00
Alex Dadgar 5d43257ad5 Merge pull request #1241 from hashicorp/v-vendor-go-plugin
vendor go-plugin - removes tmp files used to communicate with plugin
2016-06-08 14:11:32 -07:00
Diptanu Choudhury 6bd4d74851 Merge pull request #1242 from matthaias/patch-1
Change 'fs ls' cmd to 'fs' cmd
2016-06-08 12:04:13 -07:00
Matthias bbc4692b02 Change 'fs ls' cmd to 'fs' cmd 2016-06-08 20:58:20 +02:00
Alex Dadgar 2102855ae7 Merge pull request #1237 from hashicorp/b-regions
CLI can forward request to different regions
2016-06-08 11:00:23 -07:00
Alex Dadgar 0f27c5485e vendor go-plugin - removes tmp files used to communicate with plugin 2016-06-08 10:34:18 -07:00
Diptanu Choudhury 66052700ca Moving the stats error to the bottom of alloc status 2016-06-08 12:28:41 -04:00
Diptanu Choudhury 843d7e224e Moving the stats error to the bottom of node status 2016-06-08 12:21:20 -04:00
Diptanu Choudhury 5074121e70 Fixed the formating of % in nomad alloc status 2016-06-08 08:53:33 -04:00
Diptanu Choudhury 66fc31ba91 Merge pull request #1229 from hashicorp/update-plugin
Updated go-plugin dependency
2016-06-08 05:36:07 -07:00
Alex Dadgar 6849b1af2f Merge pull request #1238 from hashicorp/b-restore-stop-collection
Fix resource collection channel being nil on restore
2016-06-07 15:03:29 -07:00
Alex Dadgar b7e3a45fef fix channel being nil on restore 2016-06-07 15:03:08 -07:00
Alex Dadgar 77dd3af134 docs 2016-06-07 11:33:55 -07:00
Alex Dadgar a0557e766e Run and plan automatically sets the region 2016-06-07 11:28:07 -07:00
Alex Dadgar 86e368cdb8 Add region flag and environment variable 2016-06-07 11:16:04 -07:00