Commit Graph

4134 Commits

Author SHA1 Message Date
Diptanu Choudhury
b8fbdb78ca Using a different client for collecting stats and waiting on containers 2016-06-11 20:37:29 +02:00
Diptanu Choudhury
e94037501c 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
d1fdd27f86 Moving the clkspeed code to helper 2016-06-11 17:31:49 +02:00
Alex Dadgar
5f394a5aa1 remove vet 2016-06-10 18:46:23 -07:00
Diptanu Choudhury
304403a2f8 Extracted a method for getting clock speed 2016-06-11 02:07:28 +02:00
Diptanu Choudhury
446d3f22f2 Pruning out pids which are no longer present 2016-06-11 01:40:52 +02:00
Diptanu Choudhury
d31034941a Not reset-ing the list of pids if they don't change 2016-06-11 01:19:50 +02:00
Alex Dadgar
8def7be8a8 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
aa96d109ae test 2016-06-10 15:48:59 -07:00
Alex Dadgar
4d31dcd785 Only unblock if missed class was added after eval snapshot index 2016-06-10 15:24:06 -07:00
Diptanu Choudhury
17a0e30068 Checking in the stats helper package 2016-06-10 23:46:33 +02:00
Diptanu Choudhury
4ac1c673aa Implementing the total ticks per task for the docker driver 2016-06-10 23:33:25 +02:00
Diptanu Choudhury
358cdf8f63 Calculating total ticks consumed in the nomad client 2016-06-10 23:14:33 +02:00
Alex Dadgar
9cdd2e0e3c 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
d696284c03 Using humanize to convert memory usage to MB 2016-06-10 22:24:33 +02:00
Diptanu Choudhury
c13e750a02 Calculating the cpu ticks in nomad client 2016-06-10 22:22:32 +02:00
Alex Dadgar
32e853147c test 2016-06-10 12:28:27 -07:00
Alex Dadgar
08e5ca047a Don't create options unless necessary 2016-06-10 12:27:56 -07:00
Alex Dadgar
2be78d2ba8 fix types 2016-06-10 11:52:15 -07:00
Alex Dadgar
359cf00d3d 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
9112481700 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
a8b1d31812 use time.Second instead of our own const 2016-06-10 11:38:59 -07:00
Alex Dadgar
185c896ac0 helper 2016-06-10 11:02:15 -07:00
Alex Dadgar
f6aa384efb better placement failure text for blocked evals 2016-06-10 10:56:32 -07:00
Alex Dadgar
693c8f9e42 Alloc-status only shows measured statistics and fixes to CPU calculations 2016-06-10 10:38:29 -07:00
Diptanu Choudhury
cf106e90c7 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
d594d95012 Fixed merge conflicts 2016-06-10 04:47:34 +01:00
Diptanu Choudhury
06e90cb6c0 Using named variables 2016-06-10 04:45:16 +01:00
Alex Dadgar
cc691d734b Merge pull request #1247 from hashicorp/f-measured-resources
Annotate what statistics are measured
2016-06-09 20:07:47 -07:00
Diptanu Choudhury
8d52390aca Fixed calculation of cpu usage percent in user and sys mode for pids 2016-06-10 04:06:32 +01:00
Alex Dadgar
17af581d93 Annotate what is measured 2016-06-09 19:45:41 -07:00
Diptanu Choudhury
b9594f64e5 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
e4bad88a87 Changed the logic of calculation of node cpu usage 2016-06-10 03:24:42 +01:00
Alex Dadgar
6566420346 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
f5041366f6 changelog 2016-06-08 14:12:23 -07:00
Alex Dadgar
e5fd46204b 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
c06568c638 Merge pull request #1242 from matthaias/patch-1
Change 'fs ls' cmd to 'fs' cmd
2016-06-08 12:04:13 -07:00
Matthias
6cd4356952 Change 'fs ls' cmd to 'fs' cmd 2016-06-08 20:58:20 +02:00
Alex Dadgar
5ffb2f024c 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
077e151f92 vendor go-plugin - removes tmp files used to communicate with plugin 2016-06-08 10:34:18 -07:00
Diptanu Choudhury
4fc5eedfa7 Moving the stats error to the bottom of alloc status 2016-06-08 12:28:41 -04:00
Diptanu Choudhury
5b50e01b93 Moving the stats error to the bottom of node status 2016-06-08 12:21:20 -04:00
Diptanu Choudhury
52dd756afe Fixed the formating of % in nomad alloc status 2016-06-08 08:53:33 -04:00
Diptanu Choudhury
22b93c02ab Merge pull request #1229 from hashicorp/update-plugin
Updated go-plugin dependency
2016-06-08 05:36:07 -07:00
Alex Dadgar
9534c4c062 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
cd36c4a7a3 fix channel being nil on restore 2016-06-07 15:03:08 -07:00
Alex Dadgar
baff94f3ba docs 2016-06-07 11:33:55 -07:00
Alex Dadgar
cc80c2442f Run and plan automatically sets the region 2016-06-07 11:28:07 -07:00
Alex Dadgar
92ea016fa0 Add region flag and environment variable 2016-06-07 11:16:04 -07:00
Alex Dadgar
f76eabfb71 don't dequeue 2016-06-07 09:51:20 -07:00