Commit graph

9380 commits

Author SHA1 Message Date
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
Preetha Appan e91d26d6ba Adds modify time to job/alloc status CLI output, and pretty prints 2017-11-01 15:13:48 -05:00
Preetha Appan d340c3adb1 Always set modify time on allocations, and other changes addressing review comments 2017-11-01 15:13:48 -05:00
Preetha Appan 39d70be009 Add ModifyTime to Allocation and update it both on plan applies and client initiated updates 2017-11-01 15:13:48 -05:00
Preetha f72b705240
Merge pull request #3477 from hashicorp/verbose_test
Run test with verbose mode and log to a file
2017-11-01 15:02:27 -05:00
Alex Dadgar aa1d103d37 Remove RC reference 2017-11-01 12:08:08 -07:00
Alex Dadgar 35bb386a1e
Merge pull request #3482 from hashicorp/docs-0.7.0
Docs 0.7.0
2017-11-01 12:06:16 -07:00
Michael Schurter 708edc73eb Mention port mapping auto correction 2017-11-01 12:01:54 -07:00
Preetha Appan bf33e6b92e Also search for panics and output 10 lines of context around it 2017-11-01 13:53:03 -05:00
Michael Schurter 7cc8a4825f Update site for 0.7.0 2017-11-01 11:25:34 -07:00
Michael Schurter 2c107e08f1 Fix whitespace 2017-11-01 11:14:25 -07:00
Alex Dadgar 037a8a73eb allow failure 2017-11-01 11:00:10 -07:00
Alex Dadgar 51c87ec858 bump version and remove generated 2017-11-01 10:02:25 -07:00
Alex Dadgar ea0c96976d
Release v0.7.0 2017-11-01 10:00:21 -07:00
Alex Dadgar 3ffe49722d Changelog 2017-11-01 09:59:50 -07:00
Alex Dadgar 11c24e90a1 generated 2017-11-01 09:42:18 -07:00
Alex Dadgar 42776aad2c version 2017-11-01 09:34:18 -07:00
Alex Dadgar 7619e16794 Merge branch 'master' of github.com:hashicorp/nomad 2017-10-31 16:49:20 -07:00
Alex Dadgar bd8a36cc58 use job status 2017-10-31 16:49:12 -07:00
Michael Lange 60b5834df8
Merge pull request #3231 from hashicorp/d-add-ui-instructions-to-getting-started
Add UI instructions to getting started
2017-10-31 15:06:30 -07:00
Alex Dadgar cc5a4041ec fix tags 2017-10-31 14:52:01 -07:00
Alex Dadgar 51f869040f remove generated structs 2017-10-31 13:50:16 -07:00
Alex Dadgar 1e00942975 bump version 2017-10-31 13:49:52 -07:00
Alex Dadgar 68be21f9e5
Release v0.7.0 2017-10-31 13:46:13 -07:00
Alex Dadgar 08ffcd6dd1 spelling error 2017-10-31 13:32:31 -07:00
Alex Dadgar a42d3530d0 Bump version 2017-10-31 13:30:58 -07:00
Alex Dadgar 46959e29f1 guide 2017-10-31 13:14:16 -07:00
Preetha Appan 49d5c534a2 Run test with verbose mode and log to a file 2017-10-31 12:38:29 -05:00
Alex Dadgar 57cb99ea54 update consul-lib 2017-10-31 09:41:02 -07:00
Alex Dadgar 4b02b38b65
Merge pull request #3468 from hashicorp/d-link-to-demo
Link to Web UI demo site in header and footer
2017-10-30 16:04:48 -07:00
Rob Genova bf58b3612a Change "Demo" to "UI Demo" 2017-10-30 21:53:15 +00:00
Rob Genova 74c47fc154 Link to UI demo in header and footer 2017-10-30 20:52:28 +00:00
Alex Dadgar f0caa19349
Merge pull request #3461 from hashicorp/b-node-race
Node access is done using locked Node copy
2017-10-30 12:35:48 -07:00
Alex Dadgar c710550551 fix test 2017-10-30 12:35:31 -07:00
Alex Dadgar 1050a9fe32 changelog 2017-10-27 13:30:23 -07:00
Alex Dadgar 4831380e57 Node access is done using locked Node copy
Fixes https://github.com/hashicorp/nomad/issues/3454

Reliably reproduced the data race before by having a fingerprinter
change the nodes attributes every millisecond and syncing at the same
rate. With fix, did not ever panic.
2017-10-27 13:27:24 -07:00
Alex Dadgar a539483a35 changelog + PUT 2017-10-27 10:43:57 -07:00
Alex Dadgar 586eeedd3c
Merge pull request #3447 from hashicorp/f-node-purge-api
Added the purge API on node endpoints
2017-10-27 10:42:26 -07:00
Alex Dadgar 635f320b18
Merge pull request #3452 from hashicorp/f-system-gc
GetClientAllocs handles garbage collection events
2017-10-27 09:50:55 -07:00
Alex Dadgar 7df78be840 Changelog + assert 2017-10-27 09:50:10 -07:00
Alex Dadgar 4a6d035b29
Merge pull request #3460 from hashicorp/b-param-status
Bypass status checks for system, periodic, parameterized jobs
2017-10-27 09:36:54 -07:00
Alex Dadgar cb691495a1 changelog 2017-10-27 09:36:16 -07:00