Commit Graph

6089 Commits

Author SHA1 Message Date
Frank Schroeder 914a83cae0 agent: use bind address as src unless INADDR_ANY
Use the bind address as source address for outgoing
RPC connections unless it is INADDR_ANY.

The current code uses the advertise address which will
not work in certain environments where the advertise
address is not routable in the network of the agent,
e.g. NAT environment, container... After all, that is
the purpose of the advertise address.

See #2822
2017-05-11 00:34:14 +02:00
Frank Schroeder e6c6f8cedd agent: use helper for INADDR_ANY 2017-05-11 00:34:14 +02:00
Kyle Havlovitz f8913b4c77 Update CHANGELOG.md 2017-05-10 14:28:12 -07:00
Kyle Havlovitz 0d484b3460 Update CHANGELOG.md 2017-05-10 14:27:27 -07:00
Kyle Havlovitz 5bab68b9bb Add a path for transitioning to TLS on an existing cluster (#3001)
Fixes #1705
2017-05-10 14:25:48 -07:00
Frank Schroeder 6eba69fbfe agent: drop atlas/scada code 2017-05-10 23:06:36 +02:00
Frank Schroeder 5328609d59 test: refactor TestAgent_Leave_ACLDeny to use only one server 2017-05-10 17:42:38 +02:00
Frank Schroeder a60f508880 test: use isPermissionDenied 2017-05-10 17:42:38 +02:00
Frank Schroeder 66bc2cbabc test: replace blocks and comments with sub-tests 2017-05-10 17:42:38 +02:00
Frank Schroeder d711b9bba0 test: inline request body encoding 2017-05-10 17:42:38 +02:00
Frank Schroeder 82cb9c50ad test: add helper for permission denied check 2017-05-10 17:42:38 +02:00
Frank Schroeder 1e89692cc1 test: drop error check on http.NewRequest
Most URLs are static so the error check is redundant.
The subsequent test wouldn't work if the url is wrong.
2017-05-10 17:42:38 +02:00
James Phillips 7fa2471ba7 Update CHANGELOG.md 2017-05-09 18:46:51 -07:00
James Phillips c6de323fc3 Update CHANGELOG.md 2017-05-09 11:48:23 -07:00
Kyle Havlovitz f0e99071cd Update CHANGELOG.md 2017-05-09 11:35:24 -07:00
James Phillips 8ec6d3579c Update CHANGELOG.md 2017-05-09 11:05:28 -07:00
James Phillips 3a8c6b8a65 Merge pull request #3024 from sean-/f-illumos-duex
Add the minimal fix to restore being able to compile on Illumos.
2017-05-09 11:04:35 -07:00
Frank Schroeder 6fa76fd90f
agent: Disallow :: or [::] as advertise or advertise-wan address 2017-05-09 17:56:16 +02:00
Frank Schroeder 8ad52ee9b5
agent: Disallow :: and [::] as service address 2017-05-09 17:56:15 +02:00
Frank Schroeder e365ef12cf
agent: Disallow 0.0.0.0 as advertise or advertise-wan address
Fixes #2961
2017-05-09 17:56:15 +02:00
Frank Schroeder 73a31b9bfe
agent: Disallow 0.0.0.0 as service address
Fixes #2961
2017-05-09 17:56:15 +02:00
Cyril Gaudin 417ffb8893 test: Make testserver start timeout configurable. 2017-05-09 17:48:53 +02:00
Sean Chittenden dce9da3bb3
Add the minimal fix to restore being able to compile on Illumos.
This brings in the necessary fix to satisfy #2989 without dragging along
additional vendor updates reverted in #3019.
2017-05-09 08:41:44 -07:00
James Phillips 785ff2796f
Puts tree into 0.8.3 development mode. 2017-05-09 07:41:56 -07:00
James Phillips d3f4c27a44
Bumps Consul version to 0.8.2. 2017-05-09 07:19:02 -07:00
James Phillips 601748498c
Release v0.8.2 2017-05-09 07:04:30 -07:00
James Phillips bd686a2576
Puts tree into 0.8.2 release mode. 2017-05-09 06:58:29 -07:00
James Phillips c439651b57 Merge pull request #3020 from hashicorp/test-tweaks
Cleans up vet errors and tweaks unit tests that were failing in Travis CI.
2017-05-09 06:49:12 -07:00
James Phillips c1d196152f
Fixes vet errors. 2017-05-09 06:48:52 -07:00
James Phillips 33a7b8e401
Tweaks some tests that were having a hard time in Travis CI and
bumps up the default retry time.
2017-05-09 06:48:26 -07:00
James Phillips 66e1bb5c3e
Adds prepared query API to ACLs table. 2017-05-08 21:37:52 -07:00
James Phillips 792dba4ffa Merge pull request #3008 from hashicorp/d-index-enterprise-features
Add Consul Enterprise section to Docs
2017-05-08 21:15:21 -07:00
James Phillips f142f9f9cd Update CHANGELOG.md 2017-05-08 20:44:20 -07:00
James Phillips b9737368f7 Merge pull request #3019 from hashicorp/revert-2989-f-fix-illumos-build
Revert "Fix the build on Illumos."
2017-05-08 20:42:29 -07:00
James Phillips cc96f9324c Revert "Fix the build on Illumos." 2017-05-08 20:42:12 -07:00
James Phillips efff41a8b2
Updates built-in static assets for web UI. 2017-05-08 19:50:54 -07:00
James Phillips a212bf55fe Merge pull request #3013 from justinwalz/justinwalz/doc_fix
Fixup ACL docs
2017-05-06 18:44:14 -07:00
Justin Walz c5c7882e1b Fixup ACL docs 2017-05-06 17:21:13 -07:00
Rob Genova 1277096b41 use relative links; remove extra spaces between words 2017-05-06 20:26:30 +00:00
James Phillips 1979f40cf1 Merge pull request #3012 from hashicorp/jbs-2944
DOCS: Minor clarification to address #2944
2017-05-05 09:01:32 -07:00
Brian Shumate 5974927993
DOCS: Minor clarification to address #2944 2017-05-05 11:56:12 -04:00
James Phillips 337368d296 Merge pull request #3011 from hashicorp/jbs-2950
DOCS: minor clarification to address #2950
2017-05-05 08:54:20 -07:00
James Phillips 6b090b06af Update CHANGELOG.md 2017-05-05 08:53:49 -07:00
Brian Shumate e90804304a
DOCS: minor clarification to address #2950 2017-05-05 11:51:46 -04:00
James Phillips 95d7269cd3 Merge pull request #3010 from hashicorp/jbs-ui-acl-docs
UI: open docs links in new tab
2017-05-05 08:51:43 -07:00
Brian Shumate 51ead36100
Use updated ACL guide URL instead 2017-05-05 11:43:06 -04:00
Brian Shumate 4944bb66be
UI: open docs links in new tab
- set `target="_blank"` on all docs URLs
2017-05-05 11:19:53 -04:00
Frank Schroeder de66412bdd
test: simplify joining clusters 2017-05-05 17:07:04 +02:00
Frank Schroeder 7732347172
test: simplify tests that check for peers 2017-05-05 17:07:04 +02:00
Frank Schroeder 2794db5aac
test: Fix badly formatted retry.Run tests 2017-05-05 17:07:03 +02:00