Skip to content

Tribe node binding to incorrect interface after upgrade to 1.5.2 #11679

@nemonster

Description

@nemonster

Current configuration consists of 2 tribe nodes connecting to 3 clusters, with each cluster containing 3 data nodes and a dedicated client instance. One tribe node connects to clusters 1-2, and one
connects to clusters 1-3.

All the client nodes and Tribe nodes run on the same server.. This server has 2 network
interfaces, one is a public interface, the other is on a private interface on bond0. Each Tribe node and Client node provide http connection via the public interface and and transport connection via the bond0 interface. This setup works fine for both Tribe and Client in 1.4.2 but only works
for the Client node in 1.5.2. The Tribe node, even when using the exact same elasticsearch.yml file as the 1.4.2 version, wants to bind to the public interface for the both the http and transport when starting up using the 1.5.2 version.

Log comparison (actual values changed)

Starts out:
INFO ][node ] [abc-es-tribe2-t01] starting ...
INFO ][transport ] [abc-es-tribe2-t01] bound_address {inet[/192.168.52.62:8550]}, publish_address {inet[/192.168.52.62:8550]}

8 lines later:

[2015-06-02 09:05:22,242][INFO ][node ] [abc-es-tribe2-t01/routing] starting ...
[2015-06-02 09:05:22,314][INFO ][transport ] [abc-es-tribe2-t01/routing] bound_address {inet[/0.0.0.0:9301]}, publish_address {inet[/xxx.xx.12.82:9301]}

The Tribe is coming up on the correct interfaces per the elasticsearch.yml file settings. But, when the routing starts, it binds the transport to the wrong interface, resulting in:

INFO ][discovery.zen ] [abc-es-tribe2-t01/t1] failed to send join request to master ...internal:discovery/zen/join]];
nested: ConnectTransportException[[abc-es-tribe2-t01/t1][inet[/xxx.xx.12.82:9302]] connect_timeout[2m]]; nested: SocketException[Network is unreachable]; ]

network:
bind_host: bond0
publish_host: bond0

transport:
host: 192.168.52.62:8550
tcp:
port: 8550-8999

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions