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
James Phillips
43a8eb8189
Adds a warning about DoS-ing the cluster with consul exec.
2016-02-05 17:36:19 -08:00
James Phillips
7273fb0470
Merge pull request #1654 from ryanslade/invalid-check-message
...
Updated invalid check error message.
2016-02-05 17:21:29 -08:00
Sean Chittenden
686e881c47
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
de4129fced
Merge branch 'master' of https://github.com/alistanis/consul into use-http-package-statuses
2016-02-05 17:30:43 -05:00
Sean Chittenden
c0046e0f30
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
Chris Cooper
0ce79f8198
add comment codes
2016-02-05 17:06:42 -05:00
Chris Cooper
4890220929
refactors http server error codes to use the http statuses defined in the http package instead of literals
2016-02-05 16:51:31 -05:00
Seth Vargo
8150cedbaf
Order
2016-02-04 12:12:58 -05:00
Seth Vargo
bd1522348b
Merge pull request #1685 from jplock/patch-1
...
Add dropwizard-consul to the Community Tools page
2016-02-04 12:12:24 -05:00
Justin Plock
894d444449
Add dropwizard-consul to the Community Tools page
2016-02-04 12:00:06 -05:00
sean-
8bf63d6a53
Merge pull request #1678 from hashicorp/b-consul-rpc-server-nil
...
Use the server's address in debug logging, not the c.lastServer
2016-02-02 16:05:32 -08:00
Sean Chittenden
fc82b351b8
Use the server's address in debug logging, not the c.lastServer, which may be nil
2016-02-02 15:51:28 -08:00
sean-
22539476bc
Merge pull request #1676 from hashicorp/b-env-bash
...
Don't assume /bin/bash is installed on all OSes
2016-02-02 15:31:30 -08:00
Sean Chittenden
bde685a046
Don't assume /bin/bash is installed on all OSes
...
Use `/usr/bin/env bash` where appropriate.
2016-02-02 15:16:49 -08:00
sean-
e68477688e
Merge pull request #1675 from hashicorp/d-dnsmasq-reverse-dns
...
Iterate on the DNS forwarding docs
2016-02-02 15:14:37 -08:00
Sean Chittenden
c1c3daed9a
Iterate on the DNS forwarding docs
...
Specifically:
* add Dnsmasq examples for reverse DNS for most of the RFC1918, 5735, and 6598 netblocks.
* Highlight some example options for dnsmasq that are probably of interest.
* Add a small section on reverse DNS testing
* Break out BINDs troubleshooting with Dnsmasq's troubleshooting
Not an exhaustive sweep, but should be helpful when introducing consul to new environments.
2016-02-02 15:06:25 -08:00
Sean Chittenden
9458fd9419
Fix misc typos
2016-02-02 11:38:28 -08:00
Sean Chittenden
c08b3f3484
Add a note re: GH-1667 and redistributing client RPC requests
2016-02-02 11:38:00 -08:00
sean-
4a56b5e50e
Merge pull request #1667 from hashicorp/b-redistribute-clients
...
Continually redistribute client RPC connections
2016-02-02 11:15:19 -08:00
Sean Chittenden
58225e0ee3
Remove unnecessary check, test was moved further up in scope
2016-02-02 11:13:58 -08:00
Sean Chittenden
ff2323268c
Merge branch 'master' of ssh://github.com/hashicorp/consul into b-redistribute-clients
2016-02-01 23:15:45 -08:00
Sean Chittenden
db6bbb921c
Chase case change in the function name now that GenerateUUID is an
...
exported function.
2016-02-01 23:15:19 -08:00
Sean Chittenden
d74ffddc10
Cull unused function and its unit test.
...
Pointed out by: @slackpad
2016-02-01 23:15:19 -08:00
Sean Chittenden
5fe7bcfb5b
Cull unused function and its unit test.
...
Pointed out by: @slackpad
2016-02-01 23:15:19 -08:00