Commit graph

6753 commits

Author SHA1 Message Date
Alex Dadgar 7c8bd12509 Handle Serf Reap event
This PR adds handling of the Serf member reap event to remove the peer
from Raft.
2017-02-13 14:22:54 -08:00
Alex Dadgar 0b2e2971fd Disallow root policy from being specified
This PR disallows the specification of a root policy by a Nomad task.
2017-02-13 10:51:29 -08:00
Alex Dadgar 4432b09e03 Remove old vault status 2017-02-13 10:44:10 -08:00
Alex Dadgar 9b72f77f0b Api Leader becomes a pointer 2017-02-13 10:43:33 -08:00
Alex Dadgar d6d2884125 Documentation 2017-02-13 10:18:34 -08:00
Jonathan Lima be98af8526 Improve interpolation docs 2017-02-12 01:47:17 -02:00
Alex Dadgar 238b4bcafd Add Leader support to client 2017-02-10 17:55:19 -08:00
Alex Dadgar 3ba8faeae3 Add leader task to api and server side 2017-02-10 16:57:47 -08:00
Jeff Mitchell c33e899dfa Update go-cleanhttp 2017-02-10 19:41:28 -05:00
Alex Dadgar a8f7492d8e Merge branch 'master' of github.com:hashicorp/nomad 2017-02-10 16:29:36 -08:00
Alex Dadgar 21ef1ce685 Add guard 2017-02-10 16:29:28 -08:00
Michael Schurter b92059a418 Merge pull request #2301 from hashicorp/b-fix-nil-resources
Fix upgrade path for created resources
2017-02-10 16:24:55 -08:00
Alex Dadgar b1cd81e997 Remove todos 2017-02-10 15:41:23 -08:00
Alex Dadgar 009bd88e2f Add outage guide and move bootstrapping 2017-02-10 15:30:34 -08:00
Michael Schurter fb59e42473 Fix test to assert new never-nil behavior 2017-02-10 10:11:15 -08:00
Alex Dadgar 7b9e39d75c Merge branch 'add-guides' into f-operator 2017-02-09 18:11:07 -08:00
Alex Dadgar 2d4d9b79d8 Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
Michael Schurter 51e4fe9915 Use getters & setters with nil guards 2017-02-09 17:44:58 -08:00
Michael Schurter 37e7e7a3e5 Fix upgrade path for created resources
This *might* be a fix for #2295 -- I've been unable to reproduce the
bug. However, this guard seems wise regardless. I should never be
overwriting an intialized created resources with a nil.
2017-02-09 13:54:33 -08:00
Seth Vargo 3aa1d30772 Merge pull request #2298 from hashicorp/sethvargo-patch-1
Change cache to 4h
2017-02-09 14:38:51 -05:00
Seth Vargo 70d429bbd2 Cache assets longer 2017-02-09 14:38:46 -05:00
Seth Vargo cc66976f71 Change cache to 4h 2017-02-09 14:37:36 -05:00
Michael Schurter 1e2635ed45 Merge pull request #2297 from hashicorp/b-fix-arm-build
Fix 32bit arm build
2017-02-09 11:32:32 -08:00
Michael Schurter f2cf2b1df1 Fix 32bit arm build
Had to use the hack from https://github.com/golang/go/issues/12443
2017-02-09 11:22:17 -08:00
Alex Dadgar 4da380bbbf Vendor memberlist fixes 2017-02-08 16:07:33 -08:00
Alex Dadgar dea460281d Merge pull request #2282 from hashicorp/f-raft-v2-stage-one
Update to Raft V2 stage one
2017-02-08 15:26:16 -08:00
Alex Dadgar b51ba01d54 Merge pull request #2293 from hashicorp/f-vendor-memdb
Vendor MemDB
2017-02-08 14:51:01 -08:00
Alex Dadgar ae31f4c84e Respond to comments 2017-02-08 14:50:19 -08:00
Alex Dadgar eaf285b208 Fix missing summary restoration 2017-02-08 11:51:48 -08:00
Alex Dadgar 5d293c0f1e Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
Sean Chittenden 782ade5b36
Update vendor/vendor.json to reflect shiriou/gopsutil#313 being merged. 2017-02-07 22:41:43 -08:00
Alex Dadgar d182aac7a7 Fix nomad tests 2017-02-07 22:10:33 -08:00
Alex Dadgar 04862ca10e Tests compile 2017-02-07 21:30:57 -08:00
Alex Dadgar b69b357c7f Nomad builds 2017-02-07 20:31:23 -08:00
Alex Dadgar 36d018514b Fix test 2017-02-07 11:35:38 -08:00
Alex Dadgar bc2e6b0cc2 Fix state store tests 2017-02-06 16:46:23 -08:00
Alex Dadgar 610d39ab82 Merge pull request #2288 from hashicorp/b-lower-hostid
Lowercase NodeID
2017-02-06 16:26:04 -08:00
Sean Chittenden c4c321c770
Unconditionally lowercase the node ID read from disk. 2017-02-06 16:20:17 -08:00
Sean Chittenden 6908aa7ed0
Update shirou/gopsutil to shiriou/gopsutil#313 to pull in the lowercase HostID bits 2017-02-06 16:16:20 -08:00
Alex Dadgar d934b541e7 Merge pull request #2287 from hashicorp/sethvargo/comments
Fix comments on parameterized jobs
2017-02-06 11:25:19 -08:00
Seth Vargo 675b7f7fc1
Fix comments on parameterized jobs 2017-02-06 13:59:07 -05:00
Alex Dadgar 71891f89e2 Merge pull request #2284 from tomclegg/patch-1
fix typo
2017-02-06 10:26:19 -08:00
Alex Dadgar d318e5bc38 Add windows exe extension 2017-02-05 13:17:13 -08:00
Alex Dadgar 6f9866ca69 Fix forwarded recoverable error 2017-02-05 13:14:24 -08:00
Alex Dadgar c026a97ce7 Use watchset on getter methods 2017-02-05 12:45:57 -08:00
Tom Clegg 0b3372c064 fix typo 2017-02-05 12:12:15 -08:00
Alex Dadgar 570efcaebd Update state store and blocking query helper 2017-02-05 12:03:11 -08:00
Sean Chittenden d218f5bc84
Update vendor.json to reflect shirou/gopsutil#312 being merged. 2017-02-03 22:35:07 -08:00
Alex Dadgar 94263b9648 Vendor 2017-02-03 16:28:27 -08:00
Alex Dadgar e6863e4c01 reloads 2017-02-03 16:12:21 -08:00