Commit Graph

9419 Commits

Author SHA1 Message Date
Alex Dadgar
5ee8609655 Run linters 2017-11-02 16:37:46 -07:00
Alex Dadgar
0aa838d48f show env 2017-11-02 16:24:15 -07:00
Alex Dadgar
c53e3b5a69 remove allow failures matrix 2017-11-02 16:02:04 -07:00
Alex Dadgar
52598bff7e Merge pull request #3493 from hashicorp/f-remove-atlas
Remove Atlas and Scada from codebase
2017-11-02 16:00:44 -07:00
Michael Schurter
4bca2cd669 Merge pull request #3490 from hashicorp/f-gc-logging
Make unable-to-gc log level adaptive
2017-11-02 14:32:40 -07:00
Preetha Appan
3129da0be9 Update CHANGELOG,md, include PR numbers. 2017-11-02 15:58:51 -05:00
Diptanu Choudhury
533a0f161e Merge pull request #3061 from hashicorp/f-add-client-metrics
Added metrics to track task/alloc start/restarts/dead events
2017-11-02 13:45:29 -07:00
Diptanu Choudhury
4e37ac1e89 Updated changelog 2017-11-02 13:44:13 -07:00
Alex Dadgar
0d3a476c7b deprecation notice 2017-11-02 13:38:50 -07:00
Diptanu Choudhury
5d36408475 Added the node_id as a tag 2017-11-02 13:29:10 -07:00
Diptanu Choudhury
1081d5050f Added docs 2017-11-02 13:26:46 -07:00
Alex Dadgar
53dbc4f127 remove atlas 2017-11-02 11:27:21 -07:00
Alex Dadgar
ab9de634c2 Allow failure 2017-11-02 11:12:18 -07:00
Michael Schurter
cb3a03c829 Make unable-to-gc log level adaptive
WARNing when someone has over 50 non-terminal allocs was just too
confusing.

Tested manually with `gc_max_allocs = 10` and bumping a job from `count
= 19` to `count = 21`:

```
2017/11/02 17:54:21.076132 [INFO] client.gc: garbage collection due to number of allocations (19) is over the limit (10) skipped because no terminal allocations
...
2017/11/02 17:54:48.634529 [WARN] client.gc: garbage collection due to number of allocations (21) is over the limit (10) skipped because no terminal allocations
```
2017-11-02 10:57:42 -07:00
Diptanu Choudhury
103ff5526e Added support for tagged metrics 2017-11-02 10:07:57 -07:00
Diptanu Choudhury
9593e12672 Incrementing the start counter when we are actually starting a container 2017-11-02 09:51:20 -07:00
Diptanu Choudhury
0bade76fd5 Recording counter for dead allocs properly 2017-11-02 09:51:20 -07:00
Diptanu Choudhury
45583d757e Added metrics to track task/alloc start/restarts/dead events 2017-11-02 09:51:20 -07:00
Michael Schurter
350c043987 Add #3445 to changelog 2017-11-01 17:17:51 -07:00
Alex Dadgar
d710ecdfe5 Merge pull request #3483 from hashicorp/slackpad-patch-1
Fixes a typo in the check restart doc.
2017-11-01 15:01:32 -07:00
Preetha
9dfb2faac0 Merge pull request #3484 from hashicorp/b-nomad-0.7.1
merge nomad 0.7.1 branch
2017-11-01 16:50:37 -05:00
Preetha Appan
af7ff0c180 Update CHANGELOG.md 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
a5d1adba73 remove unnecessary test output print 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
797cd635c8 reuse client configuration for both acl and non-acl test 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
68e15a33d4 run e2e tests from e2e/migrations folder 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
d75db03585 run acl migration test only with integration flag 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
7b918c4e8b refactor for clarity 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
d820063f09 Add E2E test for migrations with acls 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
70f7281d80 connection receives only EOF 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
143fc31e9a fixups from code review 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
2d06baea10 update changelog 2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
c056196cd8 document new agent option 2017-11-01 15:19:52 -05:00
Chelsea Holland Komlo
5e85b5a090 add rpc_upgrade_mode as config option for tls upgrades 2017-11-01 15:19:52 -05:00
Preetha Appan
781e70ff3a Update docs to include ModifyTime in more places where allocations are returned 2017-11-01 15:19:52 -05:00
Preetha Appan
f3075f66ec Document modify time in a bunch of places 2017-11-01 15:16:38 -05:00
Michael Schurter
ec43315e13 Fix regression by returning error on unknown alloc 2017-11-01 15:16:38 -05:00
Michael Schurter
a3ea8302bf Fix race in test 2017-11-01 15:16:38 -05:00
Michael Schurter
fb3a780b7a Trigger GCs after alloc changes
GC much more aggressively by triggering GCs when allocations become
terminal as well as after new allocations are added.
2017-11-01 15:16:38 -05:00
Michael Schurter
9c1e595e2e Fix GC'd alloc tracking
The Client.allocs map now contains all AllocRunners again, not just
un-GC'd AllocRunners. Client.allocs is only pruned when the server GCs
allocs.

Also stops logging "marked for GC" twice.
2017-11-01 15:16:38 -05:00
Preetha Appan
0aeda0d39e Fix node end point test that was failing compilation 2017-11-01 15:16:38 -05:00
Preetha Appan
33475d169a New pretty printer that imitates the short form from time.Duration.String() with approximated values for days and beyond. Used in cli output for allocation create/modify times 2017-11-01 15:16:38 -05:00
Preetha Appan
9437311e30 Update CHANGELOG.md 2017-11-01 15:16:38 -05:00
Diptanu Choudhury
9acb30e747 Merge pull request #3467 from hashicorp/f-publish-job-summary-metrics
Publishing metrics for job summary
2017-11-01 13:16:24 -07:00
Diptanu Choudhury
5351b10ccd Resetting the timer at the beginning of the loop 2017-11-01 13:15:06 -07:00
Diptanu Choudhury
3e1d24876e Adding support for tagged metrics 2017-11-01 13:15:06 -07:00
Diptanu Choudhury
7687b8b815 Setting the default stats collection interval 2017-11-01 13:15:06 -07:00
Diptanu Choudhury
4c9ab7b760 Publishing metrics for job summary 2017-11-01 13:15:06 -07:00
Preetha Appan
92fcff3989 Adds modify time to job/alloc status CLI output, and pretty prints 2017-11-01 15:13:48 -05:00
Preetha Appan
585cba4fba Always set modify time on allocations, and other changes addressing review comments 2017-11-01 15:13:48 -05:00
Preetha Appan
acfe95887e Add ModifyTime to Allocation and update it both on plan applies and client initiated updates 2017-11-01 15:13:48 -05:00