Michael Crilly
b90e77421a
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
a29c1ee04e
Merge pull request #1703 from alistanis/fix-issue-#1661
...
fixes issue #1661 and adds supporting test
2016-02-16 20:13:36 -08:00
James Phillips
551a4fc031
Adds support for EnableTagOverride to the API client.
2016-02-16 11:45:29 -08:00
Ryan Breen
a168184be3
Merge pull request #1717 from kim-toms/patch-1
...
Update leader-election.html.markdown
2016-02-14 09:34:39 -05:00
Kim Toms
a3f49a1f21
Update leader-election.html.markdown
...
Remove duplicate 'leader'
2016-02-14 09:32:23 -05:00
Sean Chittenden
3ebd78013c
Don't run `go vet` on vendor/
2016-02-12 18:52:40 -08:00
James Phillips
2648a21da0
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
c57477deb5
Removes the obsolete deps target from Travis.
2016-02-12 18:41:33 -08:00
Sean Chittenden
87678817f9
Merge pull request #1714 from hashicorp/e-godeps
...
Manage dependencies via Godep
2016-02-12 17:13:08 -08:00
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