Commit Graph

6734 Commits

Author SHA1 Message Date
Sean Chittenden
6fc901a8f3 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
6f3ecda462 Bump version 2017-02-24 14:19:46 -08:00
Alex Dadgar
57e291b755 Changelog 2017-02-24 14:19:06 -08:00
Alex Dadgar
5338dafd51 Merge pull request #2361 from hashicorp/f-docker-coordination
Docker Image Coordinator and caching
2017-02-24 14:18:21 -08:00
Alex Dadgar
6799c7667d ensure spec is set 2017-02-24 14:18:09 -08:00
Alex Dadgar
27b2c677c0 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
6346b3c9ec 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
19628ad288 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
b5865fe807 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
e9064db8f3 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
fe4537e1f3 Add Canonicalize test mimicing example job + template 2017-02-24 12:08:31 -08:00
Michael Schurter
d1794c1714 Missed initializing another field in Template! 2017-02-24 10:47:50 -08:00
Michael Schurter
24f5ec3e09 Template.Canonicalize wasn't initializing all fields 2017-02-24 10:31:05 -08:00
Michael Schurter
8a57aadbcd Oops! Don't try to build darwin on Linux.
Someday maybe
2017-02-23 16:58:21 -08:00
Michael Schurter
d710c23d4d Put access to Docker volume drivers behind flag 2017-02-23 15:47:36 -08:00
Alex Dadgar
18107556ab Fix noisy log 2017-02-23 14:40:24 -08:00
Michael Schurter
c7da4ec618 Allow building specific targets 2017-02-23 13:27:28 -08:00
Michael Schurter
efc4108a9e Fix Go 1.8 in Vagrantfile 2017-02-23 13:27:18 -08:00
Michael Schurter
2fa4bbb6e1 Mention docker volume drivers #2351
Thanks @pietromenna!
2017-02-23 11:24:48 -08:00
Michael Schurter
6d1b37254f Merge pull request #2351 from pietromenna/docker-volume-drivers
Docker Volume Drivers
2017-02-23 11:04:13 -08:00
Pietro Menna
c57d9c6bdb Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna
5d29600341 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Jorn Wijnands
bcde3af6aa 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
863d9f7e47 Changelog 2017-02-22 18:56:17 -08:00
Alex Dadgar
ad64573213 Merge pull request #2349 from hashicorp/f-node-status-drivers
Node-status displays drivers
2017-02-22 18:55:28 -08:00
Alex Dadgar
22969c07ea 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
2757c8ee4c Changelog 2017-02-22 18:44:49 -08:00
Alex Dadgar
8723d3a6e5 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
c89d8247e6 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
85a59d3852 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
b1ef0d8641 Remove deregister from changelog 2017-02-22 18:28:51 -08:00
Alex Dadgar
7447ccd7e4 Fix tests and docs 2017-02-22 18:28:07 -08:00
Diptanu Choudhury
c80bdd9f5f Adding a task event for setup 2017-02-22 18:28:07 -08:00
Alex Dadgar
5f8e0bca6b 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
6c1673cbc5 Revert "Deregistering non-existant job returns 404" 2017-02-22 18:22:02 -08:00
Alex Dadgar
1f01e249ff 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
89b259b089 Fix wrong types 2017-02-22 16:56:51 -08:00
Alex Dadgar
80802dfc8a Undo demo files 2017-02-22 16:02:49 -08:00
Alex Dadgar
78260f62d2 vendor go-memdb/radix 2017-02-22 16:02:02 -08:00
Alex Dadgar
a305de3d15 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-22 15:58:30 -08:00
Alex Dadgar
358bedb8f8 Fix flakey test TestNetworkIndex_AssignNetwork_Dynamic_Contention 2017-02-22 15:58:21 -08:00
Alex Dadgar
eaa57878d9 Vendor + test fixes 2017-02-22 15:55:33 -08:00
Alex Dadgar
55e7ad7fd9 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
50c90dbbde 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
da3e34710c 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
ac12e61553 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
022d6a9e4f Add changelog entry 2017-02-21 15:46:07 -08:00
Seth Vargo
fa7083643a Fix logo 2017-02-21 17:19:22 -05:00
Michael Schurter
8c35388677 Skip setting MemorySwap on Windows
Windows doesn't support this Docker setting.

Fixes #2193
2017-02-21 13:21:42 -08:00
Alex Dadgar
90b224b350 Merge pull request #2340 from troyswanson/patch-1
Tiny grammar fix
2017-02-21 12:54:26 -08:00