Commit Graph

5543 Commits

Author SHA1 Message Date
Seth Vargo 38b1c61acc
Install packages, then build 2017-03-23 20:29:32 -04:00
Seth Vargo 0a04d23f50
Modernize makefile a bit 2017-03-23 20:29:32 -04:00
Seth Vargo 364a4bfc38
Only build binary if api tests are running 2017-03-23 20:29:32 -04:00
Seth Vargo 79061cdedb
Fix vet issues 2017-03-23 20:29:31 -04:00
Seth Vargo ab4e095cb1 Merge pull request #2824 from hashicorp/sethvargo/testutil
Reduce coupling with testing.T
2017-03-23 20:29:11 -04:00
James Phillips 72418d976b Update CHANGELOG.md 2017-03-23 15:58:46 -07:00
James Phillips 6f4180b4fd Merge pull request #2826 from hashicorp/acl-cleanup
Cleans up reconcile issues with ACLs and reverting node information.
2017-03-23 15:56:14 -07:00
Seth Vargo 0170a28ec9
Use new APIs 2017-03-23 18:48:13 -04:00
Seth Vargo 1dc1f72fb6
Add RPC 2017-03-23 18:41:20 -04:00
Seth Vargo 592de89191
Add pkg/errors 2017-03-23 18:41:20 -04:00
Seth Vargo 3d830b3676
Reduce coupling with testing.T
This reduces the coupling with testing.T, allowing many of the
server's startup-related functions to return an error. This makes them
more re-usable.
2017-03-23 18:41:19 -04:00
James Phillips 3f1c4a6f44
Fixes an issue where servers would delete catalog information set by
the node when they were trying to reconcile a member.
2017-03-23 15:01:46 -07:00
James Phillips aff13a883b Merge pull request #2823 from hashicorp/sethvargo/rpc
Re-add RPC parsing
2017-03-23 15:00:13 -07:00
Seth Vargo 4622ac634b
Re-add RPC parsing
This makes the upgrade path a bit nicer, since people will likely have
older configurations. This prints out a warning instead of just failing
if the old rpc addr or ports definition is in the config.
2017-03-23 17:10:14 -04:00
James Phillips d428bc63c1
Modifies server reconcile path to not use the server's token for internal operations. 2017-03-23 13:34:30 -07:00
James Phillips a14a7130dc Merge pull request #2821 from hashicorp/jbs-2782
docs: Point of clarifcation about cluster leadership for #2782
2017-03-23 10:10:23 -07:00
Brian Shumate f83c7f8a42
docs: Point of clarifcation about cluster leadership for #2782 2017-03-23 13:00:23 -04:00
James Phillips 00a5fc2947
Renames some operator unit tests. 2017-03-22 19:26:43 -07:00
Kyle Havlovitz a094a58163 Merge pull request #2815 from hashicorp/advanced-autopilot-oss
Add advanced autopilot config/docs
2017-03-22 15:46:08 -07:00
Kyle Havlovitz 390f41d8d5
Add advanced autopilot features 2017-03-22 15:25:16 -07:00
James Phillips 3f3889022e
Tweaks the agent leave test to patch an occasional local failure. 2017-03-22 09:56:53 -07:00
James Phillips 7d011d7d77
Adds missing area API. 2017-03-21 23:11:15 -07:00
James Phillips cf1b325e21 Update CHANGELOG.md 2017-03-20 16:28:38 -07:00
James Phillips 3b3cb0d07b Merge pull request #2801 from hashicorp/spoken-hub-oss
Adds support for WAN soft fail and join flooding.
2017-03-20 16:24:07 -07:00
James Phillips e91377fa26
Cleans up based on review feedback. 2017-03-20 16:23:40 -07:00
James Phillips aabd802c06 Merge pull request #2805 from hashicorp/stats-fetcher
Adds a stats fetcher to make sure we don't block the autopilot loop.
2017-03-20 11:59:06 -07:00
James Phillips 2696dd52b8
Updates to latest built-in static assets. 2017-03-20 10:18:47 -07:00
James Phillips e8bbce82a2
Adds a warning if the context is canceled. 2017-03-20 09:27:28 -07:00
James Phillips 90d9963570
Converts the stats fetch from serial to parallel and snaps the last index. 2017-03-19 20:48:42 -07:00
James Phillips 867421b7d3
Adds a stats fetcher to make sure we don't block the autopilot loop. 2017-03-17 18:42:28 -07:00
James Phillips 5dd60581f1
Updates memberlist to get NACK penalty improvements. 2017-03-17 15:28:12 -07:00
James Phillips a88446f208 Update CHANGELOG.md 2017-03-17 15:16:57 -07:00
James Phillips 90174d313c
Lowers log spam from the join flooder. 2017-03-16 23:38:15 -07:00
James Phillips 3a0739cdfc
Tweaks the join response to be more useful. 2017-03-16 21:01:03 -07:00
James Phillips f7c5541ed5
Updates memberlist to get new transport interface. 2017-03-16 16:57:28 -07:00
James Phillips 79e192fd07
Adds public API for the network area endpoints. 2017-03-16 16:42:19 -07:00
James Phillips 7a451f728e
Makes the flood goroutine more reusable. 2017-03-16 16:42:19 -07:00
James Phillips d556d14154
Shuts down flooder when either Serf is shut down. 2017-03-16 16:42:19 -07:00
James Phillips b58faffeac
Fixes a unit test that needed to account for WAN flooding. 2017-03-16 16:42:19 -07:00
James Phillips 7360e0bddd
Adds LAN -> WAN join flooding. 2017-03-16 16:42:19 -07:00
James Phillips 5626d3526c
Walks back the changes to change pool address interface into strings. 2017-03-16 16:42:19 -07:00
James Phillips f1acda4238
Adds a hook for the route lookup function. 2017-03-16 16:42:19 -07:00
James Phillips fcbb615aa0
Cleans up some small things based on review feedback. 2017-03-16 16:42:19 -07:00
James Phillips 7525836b28
Adds offline detection. 2017-03-16 16:42:19 -07:00
James Phillips 7c27ca1f77
Adds missing unit tests and cleans up some router bugs. 2017-03-16 16:42:19 -07:00
James Phillips b969d921d6
Makes the raft_vsn optional in Serf tags to support older servers. 2017-03-16 16:42:19 -07:00
James Phillips 1bdd0f3640
Simplifies median calculation. 2017-03-16 16:42:19 -07:00
James Phillips a8ee32cbdd
Fixes RTT command to only compare coordinates in the same area. 2017-03-16 16:42:19 -07:00
James Phillips 1091c7314e
Removes remoteConsuls in favor of the new router.
This has the next wave of RTT integration with the router and also
factors some common RTT-related helpers out to lib. While we were
in here we also got rid of the coordinate disable config so we don't
need to deal with the complexity in the router (there was never a
user-visible way to disable coordinates).
2017-03-16 16:42:19 -07:00
James Phillips dc1572d82b
Fixes snapshot endpoint after merge. 2017-03-16 16:42:18 -07:00