Skip to content
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

private IP is sent to other nodes when nodes are behind NAT #674

Open
rajeevnaikte opened this issue Mar 4, 2025 · 0 comments
Open

private IP is sent to other nodes when nodes are behind NAT #674

rajeevnaikte opened this issue Mar 4, 2025 · 0 comments

Comments

@rajeevnaikte
Copy link

rajeevnaikte commented Mar 4, 2025

I have set "--wsrep_node_address", "ist.recv_addr", "--wsrep-sst-receive-address" with DNS name of the node. I have set bind address to 0.0.0.0. And I have proper host aliases in each node to resolve the DNS name to public IP (except for itself, for self the DNS will resolve to private IP).

Cluster starts fine and works for a while. When one nodes goes down, the other nodes start hitting the private IP of the died node. I.e. the wsrep is somehow sending private IP to other nodes. When that node comes back up, then it doesn't connect, it goes in crash loop saying duplicate uuid.

Is there a config to say not to send the listen_address to other nodes?

why there is empty string here for the remote_address - https://github.com/codership/galera/blob/4.x/gcomm/src/gmcast.cpp#L524 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant