Commit Graph

3777 Commits (69696a9c1bceed0bbd8d328b0d65597aebbaa608)

Author SHA1 Message Date
Sean Chittenden d2745081f3 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 13bfad9e1b Merge pull request #1710 from shaneog/master
Fix Consul download links
2016-02-10 11:23:22 -05:00
Shane O'Grady f03054a6c2 Fix Consul download link in benchmark scripts
Use https://releases.hashicorp.com
2016-02-10 14:18:19 -02:00
Shane O'Grady ee35581869 Fix Consul download link in Terraform scripts
Use https://releases.hashicorp.com
2016-02-10 14:18:13 -02:00
James Phillips bb4c9d48c0 Merge pull request #1707 from hashicorp/b-typo
Fixes a typo.
2016-02-09 16:37:14 -08:00
James Phillips 03602779c6 Fixes a typo. 2016-02-09 16:37:06 -08:00
Chris Cooper 2c6f873ecd add missing test 2016-02-09 10:49:41 -05:00
Chris Cooper fe0e3aaaa0 fixes issue #1661 and adds supporting test 2016-02-09 10:35:39 -05:00
Robert Goldsmith 795554e7a4 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 6b665d3ddb Adding singleton option to DNS for getaddrinfo bug. 2016-02-09 00:26:18 -08:00
Ryan Breen b7b46f9e3a 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 b99824330d Added a reference to Consultant in the Community Tools section. 2016-02-08 16:09:30 +01:00
James Phillips dca3234c37 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 56cbabff63 Adds a sanity check to the local node info compare. 2016-02-07 15:07:23 -08:00
James Phillips ff38197eaf Updates the change log. 2016-02-07 14:30:30 -08:00
James Phillips d2cc2801fa Merge pull request #1698 from hashicorp/pr-1547-slackpad
Implements WAN address translation.
2016-02-07 14:26:04 -08:00
James Phillips 607728ddca Adds a test to make sure we get the local address within the DC. 2016-02-07 14:16:15 -08:00
James Phillips 524aaae9b7 Increases wait to account for random stagger. 2016-02-07 13:56:45 -08:00
James Phillips 6790930c4e Factors address translation into a single function. 2016-02-07 13:39:37 -08:00
James Phillips 778a26efaf Adds a test for node registration and tagged addresses. 2016-02-07 13:15:22 -08:00
James Phillips 4be2ab1a75 Moves tagged wan address to be managed by anti-entropy, not serf. 2016-02-07 13:12:42 -08:00
James Phillips 33462ebea9 Adds an FSM persist and restore test for tagged addresses. 2016-02-07 11:36:39 -08:00
James Phillips b59599742d Adds a test to make sure the local sync doesn't clobber tagged addresses. 2016-02-07 11:26:19 -08:00
James Phillips 590ab94d8d Adds documentation for WAN address translation. 2016-02-07 11:12:19 -08:00
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members. 2016-02-07 10:37:34 -08:00
Evan Gilman de8fd561d0 Use a map for additional node addresses 2016-02-06 23:01:45 -08:00
Evan Gilman 2f26771bb1 Add tests for consul WAN translation 2016-02-06 23:01:45 -08:00
Evan Gilman 146f719a66 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 a3240d28ba Consider WAN addresses during Node and SRV record lookup 2016-02-06 23:01:45 -08:00
Evan Gilman 496cf5ae73 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 8fa2a60208 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 069a28b3c0 Use idiomatic name for wan_addr serf tag 2016-02-06 23:01:45 -08:00
James Phillips ed8a71efd7 Store WanAddress during Service/Check sync 2016-02-06 23:01:45 -08:00
Evan Gilman 9300a13643 Store WanAddress during node registration 2016-02-06 23:01:45 -08:00
Evan Gilman 90aafbbdb6 Store WanAddress on Node 2016-02-06 23:01:45 -08:00
James Phillips a897a7189b 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 507c83bdbd 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 7797fb2cb5 Updates the change log. 2016-02-06 22:30:15 -08:00
James Phillips eb8ee9fce0 Merge pull request #1609 from kevinsimper/patch-1
Updating dns forwarding
2016-02-06 22:21:00 -08:00
James Phillips 0b551cddb6 Merge pull request #1697 from hashicorp/f-doc-tweaks
Tweaks the telemetry docs.
2016-02-06 22:07:44 -08:00
James Phillips d2d6b51fe4 Tweaks the telemetry docs. 2016-02-06 22:07:11 -08:00
James Phillips d60be51f01 Merge pull request #1284 from nbrownus/telemetry
Option to disable hostnames from telemetry
2016-02-06 22:00:14 -08:00
Ryan Breen dda5c3d370 Merge pull request #1695 from DavidWittman/exec-help-formatting
Fix formatting in exec help
2016-02-06 13:35:45 -05:00
David Wittman 8667394955 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 6150b0c5bf 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
James Phillips 64ec6d7d73 Adds a warning about DoS-ing the cluster with consul exec. 2016-02-05 17:36:19 -08:00
James Phillips 7bc2ba4c18 Merge pull request #1654 from ryanslade/invalid-check-message
Updated invalid check error message.
2016-02-05 17:21:29 -08:00
Sean Chittenden 0f4daa08b7 Merge pull request #1691 from hashicorp/b-gnumakefiles
Acknowledge that we're using GNU make's dialect and rename appropriate
2016-02-05 16:04:56 -08:00
Chris Cooper 5a07e89bb9 Merge branch 'master' of https://github.com/alistanis/consul into use-http-package-statuses 2016-02-05 17:30:43 -05:00
Sean Chittenden 71d02d2a32 Acknowledge that we're using GNU make's dialect and rename appropriate
Makefiles to GNUmakefiles so that non-GNU make(1) will error out.  This
should be a transparent change to the universe of people using GNU make.
2016-02-05 14:24:26 -08:00