Commit graph

6750 commits

Author SHA1 Message Date
Alex Dadgar ed670f0226 Revert "Deregistering non-existant job returns 404" 2017-02-22 18:22:02 -08:00
Alex Dadgar 06212e6aad Merge pull request #2341 from hashicorp/docs-task-timeout-kill
docs: Add note about max_kill_timeout to tasks
2017-02-22 16:59:24 -08:00
Alex Dadgar c105e5a080 Fix wrong types 2017-02-22 16:56:51 -08:00
Alex Dadgar 5ba3379e4b Undo demo files 2017-02-22 16:02:49 -08:00
Alex Dadgar 6c0ced6af1 vendor go-memdb/radix 2017-02-22 16:02:02 -08:00
Alex Dadgar ecefb51151 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-22 15:58:30 -08:00
Alex Dadgar eae24d7d3f Fix flakey test TestNetworkIndex_AssignNetwork_Dynamic_Contention 2017-02-22 15:58:21 -08:00
Alex Dadgar b5995c6cd7 Vendor + test fixes 2017-02-22 15:55:33 -08:00
Alex Dadgar 556fb2562f Remove defaulting from parse and fix parser tests
This PR removes defaulting from the parse, fixes some regressions that
existed as part of the parser refactor and fixes the tests.
2017-02-22 12:30:05 -08:00
James Nugent 74d363d342 docs: Add note about max_kill_timeout to tasks
This commit makes an explicit note in the documentation for the Nomad
task specification about capping of `max_kill_timeout` based on agent
configuration as well as task configuration.
2017-02-21 22:03:10 -06:00
Michael Schurter e5a29b82db Fix allocdir Move test and make code more defensive
A change in the behavior of `os.Rename` in Go 1.8 brought to light a
difference in the logic between `{Alloc,Task}Runner` and this test:

AllocRunner builds the alloc dir, moves dirs if necessary, and then lets
TaskRunner call TaskDir.Build().

This test called `TaskDir.Build` *before* `AllocDir.Move`, so in Go 1.8
it failed to `os.Rename over` the empty {data,local} dirs.

I updated the test to behave like the real code, but I defensively added
`os.Remove` calls as a subtle change in call order shouldn't break this
code. `os.Remove` won't remove a non-empty directory, so it's still
safe.
2017-02-21 17:22:10 -08:00
Michael Schurter 8a6e3fb706 Merge pull request #2342 from hashicorp/b-docker-noswap-on-win
Skip setting MemorySwap on Windows
2017-02-21 15:56:44 -08:00
Michael Schurter e75c395679 Add changelog entry 2017-02-21 15:46:07 -08:00
Seth Vargo 139aff9609 Fix logo 2017-02-21 17:19:22 -05:00
Michael Schurter 12c549d6a0 Skip setting MemorySwap on Windows
Windows doesn't support this Docker setting.

Fixes #2193
2017-02-21 13:21:42 -08:00
Alex Dadgar 51f157d378 Merge pull request #2340 from troyswanson/patch-1
Tiny grammar fix
2017-02-21 12:54:26 -08:00
Troy Swanson e94b987075 s/successfully/successful 2017-02-21 10:58:33 -06:00
Alex Dadgar e8391ae1df changelog 2017-02-20 20:15:48 -08:00
Alex Dadgar 084b63e711 Merge pull request #2339 from hashicorp/b-job-delete
Deregistering non-existant job returns 404
2017-02-20 20:11:24 -08:00
Alex Dadgar 1e5183fb89 Deregistering non-existant job returns 404
Fixes https://github.com/hashicorp/nomad/issues/2326
2017-02-20 20:10:21 -08:00
Alex Dadgar dd6a4fead8 changelog 2017-02-20 19:53:57 -08:00
Alex Dadgar ad39d138a6 Merge pull request #2338 from hashicorp/b-meta
Don't force uppercase meta keys in env vars
2017-02-20 19:53:17 -08:00
Alex Dadgar d0fd0e277a Don't force uppercase meta keys in env vars 2017-02-20 19:51:24 -08:00
Alex Dadgar 74eceec989 changelog 2017-02-20 19:37:50 -08:00
Alex Dadgar 4d1b314e20 Merge pull request #2337 from hashicorp/f-driver-errors
Drivers log during fingerprinting
2017-02-20 19:36:57 -08:00
Alex Dadgar f9323f03df Drivers log during fingerprinting
This PR fixes a regression in which some drivers did not log during
fingerprinting.
2017-02-20 19:35:51 -08:00
Alex Dadgar 3e8115b952 changelog 2017-02-20 16:45:35 -08:00
Alex Dadgar 5c76ab2329 Merge pull request #2315 from hashicorp/f-delimiters
Allow specification of template delimiters
2017-02-20 16:44:45 -08:00
Alex Dadgar b49fceb491 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar 693dd21420 Add leader and timezone to conversion 2017-02-20 16:36:41 -08:00
Alex Dadgar 83c082dd74 Merge pull request #2332 from hashicorp/website-typography-updates
Website typography updates
2017-02-20 16:24:27 -08:00
Alex Dadgar 9f32c0b3ed changelog 2017-02-20 16:23:39 -08:00
Alex Dadgar 5643298045 Merge pull request #2300 from hashicorp/refactor-parser
Making the API default missing values
2017-02-20 16:22:47 -08:00
Alex Dadgar 9d5ef6e5f2 fix pointer 2017-02-20 16:22:31 -08:00
Alex Dadgar 99538ddf1c Add defaulting test and fix types on the agent job endpoint tests 2017-02-20 15:53:56 -08:00
Alex Dadgar ec3b74c63a Bump 2017-02-20 15:14:44 -08:00
Alex Dadgar b67c59f03c Merge branch 'master' into refactor-parser 2017-02-20 15:13:21 -08:00
Michael Schurter 0758c73ef3 Fix API panic and bad missing port check
The format of the missing port error message changed from Go 1.7 to 1.8.
The fix is to just use strings.Contains instead of strings.HasPrefix
when looking for the "missing port" part.

Also add an error return to Client.newRequest as parsing the path
processes arbitrary user input and would panic if given an invalid URL.

See: https://groups.google.com/d/topic/nomad-tool/gi3-CTE7oXo/discussion
2017-02-20 11:12:34 -08:00
Jason Costello 7cdf9c4d2e Keep logo positioned correctly in small mobile view. Clean up. 2017-02-17 12:10:01 -08:00
Alex Dadgar b2ee70472d Merge pull request #2331 from hashicorp/b-dispatch-response
swap structs
2017-02-17 11:44:19 -08:00
Alex Dadgar e06056fa82 swap structs 2017-02-17 11:43:14 -08:00
Jason Costello bfacdabcce Add updated logotype as sag 2017-02-17 11:40:15 -08:00
Alex Dadgar e53730b476 changelog 2017-02-17 11:35:11 -08:00
Alex Dadgar c586cb653b Merge pull request #2318 from hashicorp/f-vault-debug
Server side Vault telemetry
2017-02-17 11:34:37 -08:00
Alex Dadgar 9ced175f1f changelog 2017-02-17 11:33:08 -08:00
Alex Dadgar 10735d1c0f Merge pull request #2321 from hashicorp/f-timezone
Allow specification of timezones in Periodic Jobs
2017-02-17 11:32:14 -08:00
Alex Dadgar 733038bc6c Remove panic 2017-02-17 11:21:49 -08:00
Jason Costello d3286c0f17 Keep Klavika scoped to home page 2017-02-17 11:13:16 -08:00
Alex Dadgar bbf1859794 Bump go 2017-02-17 10:22:30 -08:00
Alex Dadgar 0993cbf135 changelog 2017-02-17 10:19:11 -08:00