Commit graph

6834 commits

Author SHA1 Message Date
Michael Schurter 22980ae501 Revert libcontainer to 89ab7f2ccc1 2017-03-01 10:42:31 -08:00
Alex Dadgar eaaa259812 Merge pull request #2379 from Gerrrr/doc/latest-tag
Add caveat about always pulling latest tag to docker driver docs
2017-03-01 10:09:38 -08:00
Seth Vargo 6c2a250e9f
Re-enable soft purging, stale-if-error 2017-03-01 12:36:03 -05:00
Dave Walker (Daviey) 090e760928 Don't exec uname for node attribute kernel.version
Previously with client fingerprinting, sys/exec's Command
function was being used to execute `uname -r` and the return
string processed into the kernel.version node attribute.

This change uses gopsutil/host KernelVersion function
instead.  This means we can drop the os/exec, strings and
fmt imports... and not execute an external binary.

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-01 09:45:56 +00:00
Alex Dadgar d2193048ce Fix caching of pull future 2017-02-28 18:19:13 -08:00
Aleksandr Sorokoumov e05b7b7e3a Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00
Alex Dadgar e21792091a remove leading slash on vault path 2017-02-28 14:03:18 -08:00
Alex Dadgar 9c91550926 Add lookup-self 2017-02-28 13:46:38 -08:00
Michael Schurter 11068959d6 Vendor some missing deps 2017-02-28 13:38:57 -08:00
Michael Schurter f832b09be9 Remove unused vendored packages 2017-02-28 13:10:24 -08:00
Michael Schurter ad29f8fb7c Fix Linux build failure due to struct change 2017-02-28 13:09:35 -08:00
Seth Vargo ab2f399ac8 Merge pull request #2377 from hashicorp/sethvargo/cache
Update caching
2017-02-28 15:53:08 -05:00
Michael Schurter b673b01a2d Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Seth Vargo deaa8a50aa
Update caching 2017-02-28 15:15:29 -05:00
Michael Schurter c1ea0428d0 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00
Alex Dadgar f6487f73cb Changelog 2017-02-28 10:41:11 -08:00
Alex Dadgar cdc42749dd 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 fa853c9696 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 7b69052f33 Merge pull request #2373 from jmvacdmon/patch-1
change example to logging docker driver
2017-02-28 09:07:14 -08:00
jmvacdmon 1f540462e5 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Alex Dadgar 48ab2a6c6a Delete on increment and add a safety guard 2017-02-27 20:23:21 -08:00
Alex Dadgar 3dc0e38feb Merge branch 'master' of github.com:hashicorp/nomad 2017-02-27 19:09:50 -08:00
Alex Dadgar 254b0e4ca6 Fix delete future 2017-02-27 19:09:13 -08:00
Alex Dadgar 80239475b2 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 5be806a3df 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 927663d284 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 c423626484 Docker open stores image/image ID for next ID 2017-02-27 13:49:54 -08:00
Alex Dadgar 6910678c21 Allow random UUID 2017-02-27 13:42:37 -08:00
Chris b4d9714328 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 a7dad8b86f Changelog 2017-02-27 12:00:39 -08:00
Alex Dadgar 854feb625f 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 6afcba9e22 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Seth Vargo eab30493bd Merge pull request #2369 from hashicorp/sethvargo-patch-1
Do not soft purge
2017-02-27 14:42:00 -05:00
Alex Dadgar c71cd02edf Fix typo 2017-02-27 11:40:24 -08:00
Seth Vargo 73d307c361 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 10edf881fc More auth docs 2017-02-27 11:02:01 -08:00
Seth Vargo 338b9da27e Merge pull request #2368 from hashicorp/sethvargo/missing_asset
Fix missing asset
2017-02-27 13:43:40 -05:00
Seth Vargo 363f44cefe
Fix missing asset 2017-02-27 13:43:33 -05:00
Alex Dadgar f0b5a35140 Merge pull request #2363 from alistanis/fix-readme-typo
changes request to requested
2017-02-27 10:17:08 -08:00
Alex Dadgar 529993eaa9 links 2017-02-27 09:40:55 -08:00
Alex Dadgar fb68bc82de remove sidebar for cluster 2017-02-27 09:35:13 -08:00
Alex Dadgar e14c4e3ee4 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-25 13:36:36 -08:00
Alex Dadgar 5fd7975750 Fix pointer dereference for stats 2017-02-25 13:36:23 -08:00
Chris Cooper 2c62cd08d6 changes request to requested 2017-02-25 15:23:31 -05:00
Alex Dadgar d3aa6d03a9 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 3fc0f5c6b3 add data_dir to server and client configuration 2017-02-24 17:08:57 -07:00
Alex Dadgar f67e952be2 Document incompatibility 2017-02-24 15:53:29 -08:00
Alex Dadgar 545fc4fffc
Release v0.5.5-rc1 2017-02-24 15:25:11 -08:00
Alex Dadgar 46d28750c4 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-24 15:01:24 -08:00
Alex Dadgar 5708f347cd fix check 2017-02-24 15:01:09 -08:00