-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
advertise_addr not allowing cluster communication #2120
Comments
Hi @akabdog it looks like there might be a mismatch between your configured advertise addresses and what Consul is binding to., which is this one:
Setting https://www.consul.io/docs/agent/options.html#_bind should help here. |
@slackpad I am seeing the same error on all my 3 nodes
Here is the config for bootstrap node
Here is the config for 2 other nodes
Here is the consul version
Thoughts? |
@gvenka008c can you try a build from |
Closing this as we never heard back. Please let us know if you still need help. |
@sean- Thanks "bind" helped me with latest version 1.1.0. You saved my day. e.g. with "bind" for someone coming to this page searching. |
consul version
for both Client and ServerClient:
[v0.6.4]
Server:
[v0.6.4]
consul info
for both Client and ServerClient:
Server (node C):
Operating system and Environment details
centOS 7, docker 1.11.2
Description of the Issue (and unexpected/desired result)
I'm running a set of 3 consul servers in a cluster with custom ports (10.0.4.63 is different on each docker host, it matches eth0 ):
The systems start up with default ports (Cluster Addr is the IP of the docker container):
Those ports are mapped in docker:
Started node A with this config:
Started nodes B and C with this config ( 10.0.4.63 is node A ):
I see the following errors on A:
I see the following errors on nodes B and C:
They appear to be aware of eachother, at least in a vague sense that they tried to join but probably no communication afterwards? :
Reproduction steps
add advertise_addr to config file for all nodes
start A with bootstrap
start B and C, with -join A:<custom_port>
Thanks much for the help!
The text was updated successfully, but these errors were encountered: