Preetha Appan
97474a1521
Clarify comment about infinite revert cycles
2017-11-03 14:25:14 -05:00
Preetha Appan
b5e7985461
Remove extra newline
2017-11-03 08:15:11 -05:00
Preetha Appan
abbe4103d1
Update rollback test to add a spec change, and add new test for rollback failed status
2017-11-02 19:53:27 -05:00
Preetha Appan
5505391663
Fixes auto revert to check if the job's spec has changed before reverting. This prevents infinite reverting when reverting to a job version that was previously stable, but not so after attempting a revert.
2017-11-02 19:53:27 -05:00
Alex Dadgar
9942ec205a
Merge pull request #3495 from hashicorp/t-test
...
Run linter
2017-11-02 17:40:02 -07:00
Alex Dadgar
7c6ef87662
Merge pull request #3494 from hashicorp/b-ar-metrics-restore
...
Alloc Runner doesn't panic on restoration.
2017-11-02 17:39:06 -07:00
Alex Dadgar
f83b34ae93
Run linters
2017-11-02 16:37:46 -07:00
Alex Dadgar
5f76b4b4b2
show env
2017-11-02 16:24:15 -07:00
Alex Dadgar
b4af10edde
Alloc Runner doesn't panic on restoration.
2017-11-02 16:14:13 -07:00
Alex Dadgar
7284350818
remove allow failures matrix
2017-11-02 16:02:04 -07:00
Alex Dadgar
abd28cbd7d
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
eedbe8efbb
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
fcd9be1ff8
Update CHANGELOG,md, include PR numbers.
2017-11-02 15:58:51 -05:00
Diptanu Choudhury
132e145a30
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
f4abb6ccd3
Updated changelog
2017-11-02 13:44:13 -07:00
Alex Dadgar
9a8b4c13ec
deprecation notice
2017-11-02 13:38:50 -07:00
Diptanu Choudhury
cb68889652
Added the node_id as a tag
2017-11-02 13:29:10 -07:00
Diptanu Choudhury
269f3b0b88
Added docs
2017-11-02 13:26:46 -07:00
Alex Dadgar
701f462d33
remove atlas
2017-11-02 11:27:21 -07:00
Alex Dadgar
2506f4081f
Allow failure
2017-11-02 11:12:18 -07:00
Michael Schurter
fc33c945be
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
8a9d0d40b1
Added support for tagged metrics
2017-11-02 10:07:57 -07:00
Diptanu Choudhury
5f522c6de3
Incrementing the start counter when we are actually starting a container
2017-11-02 09:51:20 -07:00
Diptanu Choudhury
44535e5d10
Recording counter for dead allocs properly
2017-11-02 09:51:20 -07:00
Diptanu Choudhury
0b34e811b7
Added metrics to track task/alloc start/restarts/dead events
2017-11-02 09:51:20 -07:00
Michael Schurter
78105bcb57
Add #3445 to changelog
2017-11-01 17:17:51 -07:00
Alex Dadgar
30b5dea84c
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
2f67e839c1
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
2daed26a74
Update CHANGELOG.md
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
93a411f358
remove unnecessary test output print
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
c04c94b1c4
reuse client configuration for both acl and non-acl test
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
a1d85cd2e7
run e2e tests from e2e/migrations folder
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
f2f00aba3a
run acl migration test only with integration flag
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
f638c4d71d
refactor for clarity
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
1a428c23ce
Add E2E test for migrations with acls
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
bf90176278
connection receives only EOF
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
e348deecf5
fixups from code review
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
9ff8a6cdca
update changelog
2017-11-01 15:21:05 -05:00
Chelsea Holland Komlo
800018e2b3
document new agent option
2017-11-01 15:19:52 -05:00
Chelsea Holland Komlo
afe9f9a714
add rpc_upgrade_mode as config option for tls upgrades
2017-11-01 15:19:52 -05:00
Preetha Appan
4c1ef55c7d
Update docs to include ModifyTime in more places where allocations are returned
2017-11-01 15:19:52 -05:00
Preetha Appan
7116487a96
Document modify time in a bunch of places
2017-11-01 15:16:38 -05:00
Michael Schurter
1769db98b7
Fix regression by returning error on unknown alloc
2017-11-01 15:16:38 -05:00
Michael Schurter
9f26b9a403
Fix race in test
2017-11-01 15:16:38 -05:00
Michael Schurter
73e9b57908
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
2a81160dcd
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
f483e81ffe
Fix node end point test that was failing compilation
2017-11-01 15:16:38 -05:00
Preetha Appan
75673b88c0
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
05be73b062
Update CHANGELOG.md
2017-11-01 15:16:38 -05:00
Diptanu Choudhury
bc5805e971
Merge pull request #3467 from hashicorp/f-publish-job-summary-metrics
...
Publishing metrics for job summary
2017-11-01 13:16:24 -07:00