Commit Graph

6771 Commits

Author SHA1 Message Date
Michael Schurter
29d3c8b604 Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Michael Schurter
939224ea89 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00
Alex Dadgar
eece5c3c21 Changelog 2017-02-28 10:41:11 -08:00
Alex Dadgar
243c0846a6 Merge pull request #2376 from hashicorp/b-fix-restore-errors
Fix two issues during client restore state
2017-02-28 10:40:09 -08:00
Alex Dadgar
4826d8464e Fix two issues during client restore state
This PR fixes two issues:

1) A close of a nil stopCollection channel when restoring and prestart
fails. The failure will cause the killCh to be triggered which will
close collection before it has been initialized.

2) Fixes a deadlock in which the handleWaitCh is never triggered since
it is not initialized when there is an error in prestart and the killCh
is triggered.

Both fixes are by maintaining the loop invariant that the two channels
are valid after there is a handle.
2017-02-28 10:29:12 -08:00
Alex Dadgar
ca97b37a71 Merge pull request #2373 from jmvacdmon/patch-1
change example to logging docker driver
2017-02-28 09:07:14 -08:00
jmvacdmon
a975c186d3 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Alex Dadgar
90cd50b597 Delete on increment and add a safety guard 2017-02-27 20:23:21 -08:00
Alex Dadgar
b2a7daed9d Merge branch 'master' of github.com:hashicorp/nomad 2017-02-27 19:09:50 -08:00
Alex Dadgar
14074d8ff7 Fix delete future 2017-02-27 19:09:13 -08:00
Alex Dadgar
33133a3a49 Merge pull request #2372 from hashicorp/f-vet
Fix vet script and fix vet problems
2017-02-27 16:20:03 -08:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
d7e1ab0536 Merge pull request #2371 from crokita/patch-1
Fix syntax of docker.cleanup.image example
2017-02-27 13:53:04 -08:00
Alex Dadgar
7b73e786cb Docker open stores image/image ID for next ID 2017-02-27 13:49:54 -08:00
Alex Dadgar
b6991b3357 Allow random UUID 2017-02-27 13:42:37 -08:00
Chris
31ee80a0da Fix syntax of docker.cleanup.image example
I found this syntax issue because I copy-pasted the snippet into my config file and attempted to run Nomad with it. Whoops
2017-02-27 16:34:43 -05:00
Alex Dadgar
ec0c822dcb Changelog 2017-02-27 12:00:39 -08:00
Alex Dadgar
ecc6e1da06 Merge pull request #2370 from hashicorp/f-gc
Allow specification of eval/job gc threshold
2017-02-27 12:00:05 -08:00
Alex Dadgar
e2d2911d06 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Seth Vargo
6a69a09afd Merge pull request #2369 from hashicorp/sethvargo-patch-1
Do not soft purge
2017-02-27 14:42:00 -05:00
Alex Dadgar
05ff5e3b9e Fix typo 2017-02-27 11:40:24 -08:00
Seth Vargo
e7f76dd441 Do not soft purge
Soft purging is great, but we warm the cache immediately after deploy, and even then, if a user happens to be visiting the site in that few hundred milliseconds, they eat the time of a Fastly-S3 lookup, which is still 100x better than 99% of the websites out there.
2017-02-27 14:36:08 -05:00
Alex Dadgar
71462bf0b4 More auth docs 2017-02-27 11:02:01 -08:00
Seth Vargo
f8e77fa256 Merge pull request #2368 from hashicorp/sethvargo/missing_asset
Fix missing asset
2017-02-27 13:43:40 -05:00
Seth Vargo
b24a7ee723 Fix missing asset 2017-02-27 13:43:33 -05:00
Alex Dadgar
aaf709e80b Merge pull request #2363 from alistanis/fix-readme-typo
changes request to requested
2017-02-27 10:17:08 -08:00
Alex Dadgar
bf33492692 links 2017-02-27 09:40:55 -08:00
Alex Dadgar
c7d1f0039f remove sidebar for cluster 2017-02-27 09:35:13 -08:00
Alex Dadgar
d57e5a887a Merge branch 'master' of github.com:hashicorp/nomad 2017-02-25 13:36:36 -08:00
Alex Dadgar
e8e3bbeada Fix pointer dereference for stats 2017-02-25 13:36:23 -08:00
Chris Cooper
c527e67c8c changes request to requested 2017-02-25 15:23:31 -05:00
Alex Dadgar
4aa031b13d Merge pull request #2362 from scottw/master
add data_dir to server and client configuration
2017-02-24 20:34:26 -08:00
Scott Wiersdorf
09b445101f add data_dir to server and client configuration 2017-02-24 17:08:57 -07:00
Alex Dadgar
4961f5f67a Document incompatibility 2017-02-24 15:53:29 -08:00
Alex Dadgar
b0009fb27d Release v0.5.5-rc1 2017-02-24 15:25:11 -08:00
Alex Dadgar
1355bd9cc6 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-24 15:01:24 -08:00
Alex Dadgar
a2fbe09c6d fix check 2017-02-24 15:01:09 -08:00
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