Skip to content

[8.0] Bind to non-localhost for transport in some cases (#82973)#83096

Merged
jkakavas merged 1 commit intoelastic:8.0from
jkakavas:backport/8.0/pr-82973
Jan 25, 2022
Merged

[8.0] Bind to non-localhost for transport in some cases (#82973)#83096
jkakavas merged 1 commit intoelastic:8.0from
jkakavas:backport/8.0/pr-82973

Conversation

@jkakavas
Copy link
Copy Markdown
Contributor

Backports the following commits to 8.0:

When enrolling a new node to an existing cluster, we sometimes need to
bind transport to non-localhost addresse. If the other nodes of the
cluster are on different hosts than this node, then the default
configuration of binding transport layer to localhost will prevent this
node to join the cluster even after "successful" enrollment.
We check the non-localhost transport addresses that we receive during
enrollment and if any of these are not in the list of non-localhost IP
addresses that we gather from all interfaces of the current host, we
assume that at least some other node in the cluster runs on another host.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants