Commit Graph

5468 Commits

Author SHA1 Message Date
James Phillips 59a599a14b
Cleans up a stray mark and fixes unit tests.
Ended up removing the leader_test.go server address change test as part
of this. The join was failing becase we were using a new node name with
the new logic here, but realized this was hitting some of the memberlist
conflict logic and not working as we expected. We need some additional
work to fully support address changes, so removed the test for now.
2017-03-27 01:28:54 -07:00
James Phillips 7f58576042
Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
James Phillips 80b2a633fd
Adds node ID integrity checking for the catalog. 2017-03-27 00:15:21 -07:00
James Phillips 523c0c54fe Merge pull request #2830 from VEBERArnaud/docs/agent-options-duplicate
docs(agent/options): remove atlas_endpoint duplicate
2017-03-25 08:47:44 -07:00
VEBER Arnaud 86607b32d1
docs(agent/options): remove atlas_endpoint dup 2017-03-25 13:25:54 +01:00
James Phillips ac70757405 Update CHANGELOG.md 2017-03-24 17:48:50 -07:00
James Phillips 481afb3a04 Update CHANGELOG.md 2017-03-24 17:48:30 -07:00
James Phillips b9bb29c8bc Update upgrade-specific.html.markdown 2017-03-24 17:45:24 -07:00
James Phillips 1a828a3a9d Update CHANGELOG.md 2017-03-24 17:44:05 -07:00
James Phillips 5f90560aa7 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 7ce7d157da
Fixes up some broken unit tests. 2017-03-24 17:35:07 -07:00
James Phillips 8940d1c3fe
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 4d3f3ea8d2
Changes verson 8 ACLs to opt-out. 2017-03-24 12:12:24 -07:00
James Phillips 5480270d11
Gets rid of the Consul service exception under version 8.
Fixes #2816.
2017-03-24 12:12:24 -07:00
James Phillips fae78dcd0a
Adds node metadata to the reload list. 2017-03-24 10:29:39 -07:00
James Phillips f0b89edb0c
Adds a note about the deprecated RPC ports. 2017-03-24 10:23:45 -07:00
James Phillips 001dcf5511
Adds an Enterprise link to the Consul top nav. 2017-03-24 09:28:20 -07:00
James Phillips 098da8eb49
Fixes up some stale BUILD_TAGS references in the scripts. 2017-03-23 22:52:39 -07:00
James Phillips 15e7247131
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 9a6dd658a8
Turns of parallel tests for now. 2017-03-23 21:25:34 -07:00
James Phillips 4e7064023f
Makes WaitForResult always return an error if it times out. 2017-03-23 20:04:39 -07:00
James Phillips 85c03852a4
Makes the start/stop test less flaky. 2017-03-23 20:04:23 -07:00
James Phillips c05f81edf1 Merge pull request #2828 from hashicorp/pr/2827
Updates testing harness.
2017-03-23 17:57:01 -07:00
James Phillips e7ec41ecbe
Fixes up some new tests for the updated testutil. 2017-03-23 17:55:47 -07:00
Seth Vargo 73fc8d2a52
Only install on Travis 2017-03-23 20:29:33 -04:00
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