Commit Graph

6587 Commits

Author SHA1 Message Date
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
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
Michael Schurter fb59e42473 Fix test to assert new never-nil behavior 2017-02-10 10:11:15 -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
Alex Dadgar 3bd4774a16 Changelog 2017-02-03 14:28:29 -08:00
Alex Dadgar afbec444ec Merge pull request #2281 from dbresson/fix-reserved-merge-error
avoid a nil pointer dereference
2017-02-03 14:27:07 -08:00
Alex Dadgar da89b1cde6 Fix bootstrap tests 2017-02-03 13:00:28 -08:00
David Bresson 1c81a71f13 avoid nil pointer dereference 2017-02-03 08:39:57 -08:00
David Bresson e7a7690815 extend config merge test to test merging to empty config 2017-02-03 08:35:18 -08:00
Alex Dadgar 419bf2c497 Tests build 2017-02-02 17:50:06 -08:00
Alex Dadgar 13c270a2cd Merge pull request #2279 from hashicorp/f-windows-hostid
Add durable HostID generation support to Windows.
2017-02-02 17:03:55 -08:00
Sean Chittenden adb5be23ef
Add better verification of a host's HostID. 2017-02-02 16:24:32 -08:00
Sean Chittenden 16a5e2f918
Add durable HostID generation support to Windows.
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:15:22 -08:00
Alex Dadgar ee368762ae It builds 2017-02-02 16:07:15 -08:00
Alex Dadgar 26db1bd12c Join + Leave peer 2017-02-02 15:49:06 -08:00