Commit graph

6064 commits

Author SHA1 Message Date
James Phillips b74277552b Merge pull request #2829 from hashicorp/acl-cleanup-redux
Switches version 8 ACLs to opt-out, and fixes a few issues.
2017-03-24 17:43:47 -07:00
James Phillips dce84379b7
Fixes up some broken unit tests. 2017-03-24 17:35:07 -07:00
James Phillips f2211d2489
Keeps the service and check tokens around for deregistration.
We fixed a few related issues while we were in here. We now only let
services register checks with a matching token, and we also close out
service and check delete operations if the catalog deregister claims
it doesn't know about the ID of the service or check being deleted.
2017-03-24 17:15:20 -07:00
James Phillips c553e1d93a
Changes verson 8 ACLs to opt-out. 2017-03-24 12:12:24 -07:00
James Phillips a22c04f1bf
Gets rid of the Consul service exception under version 8.
Fixes #2816.
2017-03-24 12:12:24 -07:00
James Phillips 7c2509f407
Adds node metadata to the reload list. 2017-03-24 10:29:39 -07:00
James Phillips 7be075f1f1
Adds a note about the deprecated RPC ports. 2017-03-24 10:23:45 -07:00
James Phillips 69d4990a17
Adds an Enterprise link to the Consul top nav. 2017-03-24 09:28:20 -07:00
James Phillips 0028e80553
Fixes up some stale BUILD_TAGS references in the scripts. 2017-03-23 22:52:39 -07:00
James Phillips 4c1d31e934
Fixes test server startup returning wrong error.
Seen in https://travis-ci.org/hashicorp/consul/builds/214521317.
2017-03-23 21:40:14 -07:00
James Phillips 74c500473d
Turns of parallel tests for now. 2017-03-23 21:25:34 -07:00
James Phillips 55b4446fbb
Makes WaitForResult always return an error if it times out. 2017-03-23 20:04:39 -07:00
James Phillips 56b55b743f
Makes the start/stop test less flaky. 2017-03-23 20:04:23 -07:00
James Phillips ab576c052e Merge pull request #2828 from hashicorp/pr/2827
Updates testing harness.
2017-03-23 17:57:01 -07:00
James Phillips 44a73bea7e
Fixes up some new tests for the updated testutil. 2017-03-23 17:55:47 -07:00
Seth Vargo 8766e68f3f
Only install on Travis 2017-03-23 20:29:33 -04:00
Seth Vargo ba5eb9fa33
Install packages, then build 2017-03-23 20:29:32 -04:00
Seth Vargo a9dd63ae93
Modernize makefile a bit 2017-03-23 20:29:32 -04:00
Seth Vargo f268cc6971
Only build binary if api tests are running 2017-03-23 20:29:32 -04:00
Seth Vargo dc47ebb082
Fix vet issues 2017-03-23 20:29:31 -04:00
Seth Vargo fe4c8b3a00 Merge pull request #2824 from hashicorp/sethvargo/testutil
Reduce coupling with testing.T
2017-03-23 20:29:11 -04:00
James Phillips 0eed0e57d2 Update CHANGELOG.md 2017-03-23 15:58:46 -07:00
James Phillips 8b5cc2de81 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 2efa3bdff8
Use new APIs 2017-03-23 18:48:13 -04:00
Seth Vargo 6ffb801f1e
Add RPC 2017-03-23 18:41:20 -04:00
Seth Vargo bd8de2bdb8
Add pkg/errors 2017-03-23 18:41:20 -04:00
Seth Vargo 3077d0f68c
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 582e6c5938
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 306acf9054 Merge pull request #2823 from hashicorp/sethvargo/rpc
Re-add RPC parsing
2017-03-23 15:00:13 -07:00
Seth Vargo 78bd562f41
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 16a9f6d671
Modifies server reconcile path to not use the server's token for internal operations. 2017-03-23 13:34:30 -07:00
James Phillips 4ca112118e 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 8163a480cb
docs: Point of clarifcation about cluster leadership for #2782 2017-03-23 13:00:23 -04:00
James Phillips ab2b615265
Renames some operator unit tests. 2017-03-22 19:26:43 -07:00
Kyle Havlovitz d198287a62 Merge pull request #2815 from hashicorp/advanced-autopilot-oss
Add advanced autopilot config/docs
2017-03-22 15:46:08 -07:00
Kyle Havlovitz 37ea20cb44
Add advanced autopilot features 2017-03-22 15:25:16 -07:00
James Phillips 77fa58bd23
Tweaks the agent leave test to patch an occasional local failure. 2017-03-22 09:56:53 -07:00
James Phillips ab1b643630
Adds missing area API. 2017-03-21 23:11:15 -07:00
Mary Nagle 32faa23d18 Add sticky scroll to side panel 2017-03-21 14:39:57 -04:00
James Phillips 663a36d39c Update CHANGELOG.md 2017-03-20 16:28:38 -07:00
James Phillips 36a0abe10f 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 d68bd9cca0
Cleans up based on review feedback. 2017-03-20 16:23:40 -07:00
James Phillips ec4620992e 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 964a5e2b28
Updates to latest built-in static assets. 2017-03-20 10:18:47 -07:00
James Phillips 898b26524a
Adds a warning if the context is canceled. 2017-03-20 09:27:28 -07:00
James Phillips 5ee1256137
Converts the stats fetch from serial to parallel and snaps the last index. 2017-03-19 20:48:42 -07:00
James Phillips cfc01419c8
Adds a stats fetcher to make sure we don't block the autopilot loop. 2017-03-17 18:42:28 -07:00
James Phillips 21e2307248
Updates memberlist to get NACK penalty improvements. 2017-03-17 15:28:12 -07:00
James Phillips 0c60641145 Update CHANGELOG.md 2017-03-17 15:16:57 -07:00
James Phillips e49d5456aa
Lowers log spam from the join flooder. 2017-03-16 23:38:15 -07:00