Commit Graph

3486 Commits (4c8725ef63390ac0b5d7124a9d8a61245cc00ff4)

Author SHA1 Message Date
Michael Crilly 4c8725ef63 TLS example and correcting error
The example configuration file omits TLS support in the HTTP API. This is fine, but a second example demonstrating how to enable TLS over the HTTP API is harmless and, in fact, should be default practice.

Using the format `ip:port` in the "addresses" block will cause Consul to crash on reload/start. See issue (#1727)[https://github.com/hashicorp/consul/issues/1727#issuecomment-184980751]
2016-02-17 15:24:37 +10:00
James Phillips 052140f8a7 Merge pull request #1703 from alistanis/fix-issue-#1661
fixes issue #1661 and adds supporting test
2016-02-16 20:13:36 -08:00
Ryan Breen 0562b95a55 Merge pull request #1717 from kim-toms/patch-1
Update leader-election.html.markdown
2016-02-14 09:34:39 -05:00
Kim Toms 7e8e11aea3 Update leader-election.html.markdown
Remove duplicate 'leader'
2016-02-14 09:32:23 -05:00
James Phillips 62fd17382a Merge pull request #1715 from hashicorp/b-travis
Removes the obsolete deps target from Travis.
2016-02-12 18:46:13 -08:00
James Phillips 5937db50e3 Removes the obsolete deps target from Travis. 2016-02-12 18:41:33 -08:00
Sean Chittenden 8d5555246f Merge pull request #1714 from hashicorp/e-godeps
Manage dependencies via Godep
2016-02-12 17:13:08 -08:00
Sean Chittenden 870cabf0bf Remove deps folder, no longer needed 2016-02-12 17:12:15 -08:00
Sean Chittenden 1071bc271a Add a tools target that fetches various build-time tools 2016-02-12 17:09:18 -08:00
Sean Chittenden 25b09713b9 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 3eb3087032 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 e79dd7c8de Fixes redirect from / to /ui when internal UI is enabled. 2016-02-12 16:11:32 -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
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