Commit Graph

4032 Commits

Author SHA1 Message Date
Sean Chittenden 8cf46fccb9 Remove deps folder, no longer needed 2016-02-12 17:12:15 -08:00
Sean Chittenden 8ae9e06e8d Add a tools target that fetches various build-time tools 2016-02-12 17:09:18 -08:00
Sean Chittenden 333ff22e9a Manage dependencies via Godep
Embrace the future and use Go 1.6's vendor support via Godep.

Go 1.5 users should `export GO15VENDOREXPERIMENT=1`
2016-02-12 16:50:37 -08:00
Ryan Breen 73f700a9a0 Merge pull request #1713 from hashicorp/b-internal-ui-redirect
Fixes redirect from / to /ui when internal UI is enabled.
2016-02-12 19:26:59 -05:00
James Phillips cbdff8296f Fixes redirect from / to /ui when internal UI is enabled. 2016-02-12 16:11:32 -08:00
Sean Chittenden 66feca5b5f Allow adjusting the number of DNS records in a response...
Based on work done by @fusiondog in #1583, extend the concept to use an integer instead of a boolean.

Fixes: #1583 && #1481
2016-02-12 12:18:25 -08:00
Ryan Breen bf7d0742ed Merge pull request #1710 from shaneog/master
Fix Consul download links
2016-02-10 11:23:22 -05:00
Shane O'Grady 3443f95fc3 Fix Consul download link in benchmark scripts
Use https://releases.hashicorp.com
2016-02-10 14:18:19 -02:00
Shane O'Grady 77f2241527 Fix Consul download link in Terraform scripts
Use https://releases.hashicorp.com
2016-02-10 14:18:13 -02:00
James Phillips 9c313fb751 Merge pull request #1707 from hashicorp/b-typo
Fixes a typo.
2016-02-09 16:37:14 -08:00
James Phillips 48a29b5a31 Fixes a typo. 2016-02-09 16:37:06 -08:00
Chris Cooper 1327d9eff6 add missing test 2016-02-09 10:49:41 -05:00
Chris Cooper a2533d5d76 fixes issue #1661 and adds supporting test 2016-02-09 10:35:39 -05:00
Robert Goldsmith 6cb5fba792 Included support to override the assumed location of the consul so you can run the UI on a normal web server potentially on a different host to your consul servers. 2016-02-09 13:26:48 +00:00
Patrick Feliciano e5cc9b5856 Adding singleton option to DNS for getaddrinfo bug. 2016-02-09 00:26:18 -08:00
Ryan Breen 2008082d91 Merge pull request #1700 from michaeldejong/tools-consultant
Added a reference to Consultant in the Community Tools section.
2016-02-08 10:54:33 -05:00
Michael de Jong 8582b33276 Added a reference to Consultant in the Community Tools section. 2016-02-08 16:09:30 +01:00
James Phillips d43cc772f5 Merge pull request #1699 from hashicorp/b-sanity-check
Adds a sanity check to the local node info compare.
2016-02-07 15:07:55 -08:00
James Phillips 968bd6321c Adds a sanity check to the local node info compare. 2016-02-07 15:07:23 -08:00
James Phillips c90e19a7f2 Updates the change log. 2016-02-07 14:30:30 -08:00
James Phillips 9fabd05157 Merge pull request #1698 from hashicorp/pr-1547-slackpad
Implements WAN address translation.
2016-02-07 14:26:04 -08:00
James Phillips 6797b3ee85 Adds a test to make sure we get the local address within the DC. 2016-02-07 14:16:15 -08:00
James Phillips 3be9f16030 Increases wait to account for random stagger. 2016-02-07 13:56:45 -08:00
James Phillips a61a7403a7 Factors address translation into a single function. 2016-02-07 13:39:37 -08:00
James Phillips f398e1880e Adds a test for node registration and tagged addresses. 2016-02-07 13:15:22 -08:00
James Phillips f163522f0c Moves tagged wan address to be managed by anti-entropy, not serf. 2016-02-07 13:12:42 -08:00
James Phillips 3f50d2ae7e Adds an FSM persist and restore test for tagged addresses. 2016-02-07 11:36:39 -08:00
James Phillips 81e416e70b Adds a test to make sure the local sync doesn't clobber tagged addresses. 2016-02-07 11:26:19 -08:00
James Phillips 800910137d Adds documentation for WAN address translation. 2016-02-07 11:12:19 -08:00
James Phillips 79bd1fd4bb Sets up config for more address tags down the road, renames struct members. 2016-02-07 10:37:34 -08:00
Evan Gilman 71cf39b5f8 Use a map for additional node addresses 2016-02-06 23:01:45 -08:00
Evan Gilman a8fd9542dc Add tests for consul WAN translation 2016-02-06 23:01:45 -08:00
Evan Gilman 28ce1b079f Explicitly set advertise address in agent tests
Otherwise, the tests will fail when run on a machine with multiple
private addresses
2016-02-06 23:01:45 -08:00
Evan Gilman d18dc81749 Consider WAN addresses during Node and SRV record lookup 2016-02-06 23:01:45 -08:00
Evan Gilman 0b741350b9 Implement `translate_wan_addrs` config option
This knob tells consul whether it should prefer the WAN address (if set)
when making service lookups in remote datacenters. This enables
reachability for remote services which are behind a NAT.
2016-02-06 23:01:45 -08:00
Evan Gilman d123b4dece Rectify value of `AdvertiseAddrWan` when set elsewhere
`AdvertiseAddrs` has been introduced as a configuration option, which
duplicates a few other options, namely `AdvertiseAddrWan`. We need to
use this value elsewhere, so rather than doing a precedence check every
time we need to access it, rectify the value of `AdvertiseAddrWan` to
match
2016-02-06 23:01:45 -08:00
Evan Gilman e166d2a4c7 Use idiomatic name for wan_addr serf tag 2016-02-06 23:01:45 -08:00
James Phillips 1a828e3927 Store WanAddress during Service/Check sync 2016-02-06 23:01:45 -08:00
Evan Gilman fc61143b46 Store WanAddress during node registration 2016-02-06 23:01:45 -08:00
Evan Gilman 369e501dd5 Store WanAddress on Node 2016-02-06 23:01:45 -08:00
James Phillips 2894139b27 Merge pull request #1636 from zenware/master
Fix Already Closed Issue #1488 "Unable to find gox"
2016-02-06 22:43:30 -08:00
James Phillips 5aedfbac34 Merge pull request #1690 from alistanis/use-http-package-statuses
refactors http server error codes
2016-02-06 22:38:48 -08:00
James Phillips 7c23be579a Updates the change log. 2016-02-06 22:30:15 -08:00
James Phillips 498c8e1d9c Merge pull request #1609 from kevinsimper/patch-1
Updating dns forwarding
2016-02-06 22:21:00 -08:00
James Phillips 4f25443800 Merge pull request #1697 from hashicorp/f-doc-tweaks
Tweaks the telemetry docs.
2016-02-06 22:07:44 -08:00
James Phillips 4b3dede0fb Tweaks the telemetry docs. 2016-02-06 22:07:11 -08:00
James Phillips a599e88507 Merge pull request #1284 from nbrownus/telemetry
Option to disable hostnames from telemetry
2016-02-06 22:00:14 -08:00
Ryan Breen c684094bb7 Merge pull request #1695 from DavidWittman/exec-help-formatting
Fix formatting in exec help
2016-02-06 13:35:45 -05:00
David Wittman 0b90de4d1b Fix formatting in exec help
The description for `-node` was separated by tabs instead of spaces,
causing it to be incorrectly aligned.
2016-02-06 12:28:56 -06:00
James Phillips d034afbcec Merge pull request #1693 from hashicorp/f-doc-dos-warning
Adds a warning about DoS-ing the cluster with consul exec.
2016-02-05 17:36:27 -08:00