Commit Graph

6885 Commits

Author SHA1 Message Date
Alex Dadgar 5708f347cd fix check 2017-02-24 15:01:09 -08:00
Sean Chittenden 9cde9296da
Change the default display name from the Circonus Instance ID to
`Nomad`.

The display name is already scoped to target/host.
2017-02-24 14:59:11 -08:00
Alex Dadgar cba7cdeeb2 Bump version 2017-02-24 14:19:46 -08:00
Alex Dadgar be6197775e Changelog 2017-02-24 14:19:06 -08:00
Alex Dadgar aa05ecc37c Merge pull request #2361 from hashicorp/f-docker-coordination
Docker Image Coordinator and caching
2017-02-24 14:18:21 -08:00
Alex Dadgar f8292fe515 ensure spec is set 2017-02-24 14:18:09 -08:00
Alex Dadgar b5d4f39734 Docker Image Coordinator
This PR introduces a coordinator for doing CRUD on a Docker image. It
should fix racy deletion of images. The issue before was images would be
deleted between prestart and start causing an error.
2017-02-24 13:20:40 -08:00
Alex Dadgar abb729b989 Merge pull request #2336 from hashicorp/b-fix-api-panic
Fix API panic and bad missing port check
2017-02-24 13:07:09 -08:00
Alex Dadgar 4083571efb Merge pull request #2350 from Crypto89/b-fix-vagrant-goversion
Fix the GO_VERSION in the Vagrantfile
2017-02-24 13:05:46 -08:00
Alex Dadgar 31c81dcbb7 Merge pull request #2353 from hashicorp/b-docker-volume-driver-conf
Put access to Docker volume drivers behind flag
2017-02-24 13:05:32 -08:00
Alex Dadgar e95599e7c9 Merge pull request #2357 from hashicorp/b-fix-template-panic
Template.Canonicalize wasn't initializing all fields
2017-02-24 13:04:30 -08:00
Michael Schurter 703ddea1dc Add Canonicalize test mimicing example job + template 2017-02-24 12:08:31 -08:00
Michael Schurter 6011a74ab9 Missed initializing another field in Template! 2017-02-24 10:47:50 -08:00
Michael Schurter 531af8f932 Template.Canonicalize wasn't initializing all fields 2017-02-24 10:31:05 -08:00
Michael Schurter 2f0a5e355e Oops! Don't try to build darwin on Linux.
Someday maybe
2017-02-23 16:58:21 -08:00
Michael Schurter f61b7975a3 Put access to Docker volume drivers behind flag 2017-02-23 15:47:36 -08:00
Alex Dadgar 2239503e6e Fix noisy log 2017-02-23 14:40:24 -08:00
Michael Schurter 885f4ae9f9 Allow building specific targets 2017-02-23 13:27:28 -08:00
Michael Schurter 2b22b86e61 Fix Go 1.8 in Vagrantfile 2017-02-23 13:27:18 -08:00
Michael Schurter 690dfa8f5a Mention docker volume drivers #2351
Thanks @pietromenna!
2017-02-23 11:24:48 -08:00
Michael Schurter 57eb027e0b Merge pull request #2351 from pietromenna/docker-volume-drivers
Docker Volume Drivers
2017-02-23 11:04:13 -08:00
Pietro Menna 12367ce646 Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna 2f88d6cb68 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Jorn Wijnands b549c757d9 Fix the GO_VERSION in the Vagrantfile
* Change the GO_VERSION to match the correct upstream version from
    (https://storage.googleapis.com/golang/)
2017-02-23 12:57:37 +01:00
Alex Dadgar 6e8f016cc8 Changelog 2017-02-22 18:56:17 -08:00
Alex Dadgar 346bdeb37b Merge pull request #2349 from hashicorp/f-node-status-drivers
Node-status displays drivers
2017-02-22 18:55:28 -08:00
Alex Dadgar 3d353ffbcd Node-status displays drivers
This PR adds the drivers that are enabled to the output of `nomad
node-status`
2017-02-22 18:54:28 -08:00
Alex Dadgar 537d07c912 Changelog 2017-02-22 18:44:49 -08:00
Alex Dadgar c7e004b8c5 Merge pull request #2344 from hashicorp/b-fix-allocdir-move-test
Fix allocdir Move test and make code more defensive
2017-02-22 18:43:10 -08:00
Alex Dadgar 6936c81720 Merge pull request #2302 from hashicorp/f-task-state-setup
Adding a task event for setup
2017-02-22 18:42:57 -08:00
Alex Dadgar d2cbbac76e Merge pull request #2347 from hashicorp/b-parse
Remove defaulting from parse and fix tests
2017-02-22 18:42:43 -08:00
Alex Dadgar 657e97e0cd Remove deregister from changelog 2017-02-22 18:28:51 -08:00
Alex Dadgar cef7882827 Fix tests and docs 2017-02-22 18:28:07 -08:00
Diptanu Choudhury 98921575af Adding a task event for setup 2017-02-22 18:28:07 -08:00
Alex Dadgar 8ba491f2d7 Merge pull request #2348 from hashicorp/revert-2339-b-job-delete
Revert "Deregistering non-existant job returns 404"
2017-02-22 18:22:14 -08:00
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