Skip to content

Instantly share code, notes, and snippets.

@tjl2
Created June 20, 2015 10:06
Show Gist options
  • Save tjl2/1ac6360c394e5775c9c0 to your computer and use it in GitHub Desktop.
Save tjl2/1ac6360c394e5775c9c0 to your computer and use it in GitHub Desktop.
ES log showing 2 failures when using `_tun0_` and one success when using `_tun0:ipv4_`

First extract shows behaviour while bind_host and public_host are set to _tun0_, and shows that the behaviour doesn't change after a restart (note the server is called 'Doctor Droom' and then 'Dr. Otto Octavius' after the restart):

[2015-06-20 09:51:19,529][INFO ][node                     ] [Doctor Droom] version[1.5.2], pid[9223], build[62ff986/2015-04-27T09:21:06Z]
[2015-06-20 09:51:19,529][INFO ][node                     ] [Doctor Droom] initializing ...
[2015-06-20 09:51:19,531][INFO ][plugins                  ] [Doctor Droom] loaded [], sites []
[2015-06-20 09:51:21,132][INFO ][node                     ] [Doctor Droom] initialized
[2015-06-20 09:51:21,133][INFO ][node                     ] [Doctor Droom] starting ...
[2015-06-20 09:51:21,184][INFO ][transport                ] [Doctor Droom] bound_address {inet[0.0.0.0/0.0.0.0:9400]}, publish_address {inet[/192.168.1.90:9400]}
[2015-06-20 09:51:21,199][INFO ][discovery                ] [Doctor Droom] github-enterprise/bzQiRcHkRBOe08dra--gOw
[2015-06-20 09:51:51,200][WARN ][discovery                ] [Doctor Droom] waited for 30s and no initial state was set by the discovery
[2015-06-20 09:51:51,205][INFO ][http                     ] [Doctor Droom] bound_address {inet[0.0.0.0/0.0.0.0:9200]}, publish_address {inet[/192.168.1.90:9200]}
[2015-06-20 09:51:51,205][INFO ][node                     ] [Doctor Droom] started
[2015-06-20 09:52:02,630][DEBUG][action.admin.cluster.health] [Doctor Droom] no known master node, scheduling a retry
[2015-06-20 09:52:24,710][INFO ][discovery.zen            ] [Doctor Droom] failed to send join request to master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}], reason [ElasticsearchTimeoutException[Timeout waiting for task.]]
[2015-06-20 09:52:32,633][DEBUG][action.admin.cluster.health] [Doctor Droom] observer: timeout notification from cluster service. timeout setting [30s], time since start [30s]
[2015-06-20 09:52:58,751][INFO ][node                     ] [Doctor Droom] stopping ...
[2015-06-20 09:52:58,754][INFO ][discovery.zen            ] [Doctor Droom] failed to send join request to master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}], reason [ElasticsearchIllegalStateException[Future got interrupted]; nested: InterruptedException; ]
[2015-06-20 09:52:58,768][INFO ][node                     ] [Doctor Droom] stopped
[2015-06-20 09:52:58,769][INFO ][node                     ] [Doctor Droom] closing ...
[2015-06-20 09:52:58,776][INFO ][node                     ] [Doctor Droom] closed
[2015-06-20 09:53:00,140][INFO ][node                     ] [Dr. Otto Octavius] version[1.5.2], pid[10963], build[62ff986/2015-04-27T09:21:06Z]
[2015-06-20 09:53:00,140][INFO ][node                     ] [Dr. Otto Octavius] initializing ...
[2015-06-20 09:53:00,142][INFO ][plugins                  ] [Dr. Otto Octavius] loaded [], sites []
[2015-06-20 09:53:01,718][INFO ][node                     ] [Dr. Otto Octavius] initialized
[2015-06-20 09:53:01,719][INFO ][node                     ] [Dr. Otto Octavius] starting ...
[2015-06-20 09:53:01,745][INFO ][transport                ] [Dr. Otto Octavius] bound_address {inet[0.0.0.0/0.0.0.0:9400]}, publish_address {inet[/192.168.1.90:9400]}
[2015-06-20 09:53:01,753][INFO ][discovery                ] [Dr. Otto Octavius] github-enterprise/oHYqiP-WSAO6XZVrJLaVGw
[2015-06-20 09:53:31,754][WARN ][discovery                ] [Dr. Otto Octavius] waited for 30s and no initial state was set by the discovery
[2015-06-20 09:53:31,762][INFO ][http                     ] [Dr. Otto Octavius] bound_address {inet[0.0.0.0/0.0.0.0:9200]}, publish_address {inet[/192.168.1.90:9200]}
[2015-06-20 09:53:31,762][INFO ][node                     ] [Dr. Otto Octavius] started
[2015-06-20 09:54:05,162][INFO ][discovery.zen            ] [Dr. Otto Octavius] failed to send join request to master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}], reason [ElasticsearchTimeoutException[Timeout waiting for task.]]
[2015-06-20 09:54:11,658][DEBUG][action.admin.cluster.health] [Dr. Otto Octavius] no known master node, scheduling a retry
[2015-06-20 09:54:41,660][DEBUG][action.admin.cluster.health] [Dr. Otto Octavius] observer: timeout notification from cluster service. timeout setting [30s], time since start [30s]
[2015-06-20 09:55:08,212][INFO ][discovery.zen            ] [Dr. Otto Octavius] failed to send join request to master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}], reason [ElasticsearchTimeoutException[Timeout waiting for task.]]
[2015-06-20 09:55:19,848][INFO ][node                     ] [Dr. Otto Octavius] stopping ...
[2015-06-20 09:55:19,852][INFO ][discovery.zen            ] [Dr. Otto Octavius] failed to send join request to master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}], reason [ElasticsearchIllegalStateException[Future got interrupted]; nested: InterruptedException; ]
[2015-06-20 09:55:19,868][INFO ][node                     ] [Dr. Otto Octavius] stopped
[2015-06-20 09:55:19,868][INFO ][node                     ] [Dr. Otto Octavius] closing ...
[2015-06-20 09:55:19,873][INFO ][node                     ] [Dr. Otto Octavius] closed

Below extract is after bind_host and public_host are set to _tun0:ipv4_:

[2015-06-20 09:55:54,357][INFO ][node                     ] [Crossfire] version[1.5.2], pid[13098], build[62ff986/2015-04-27T09:21:06Z]
[2015-06-20 09:55:54,357][INFO ][node                     ] [Crossfire] initializing ...
[2015-06-20 09:55:54,359][INFO ][plugins                  ] [Crossfire] loaded [], sites []
[2015-06-20 09:55:55,951][INFO ][node                     ] [Crossfire] initialized
[2015-06-20 09:55:55,951][INFO ][node                     ] [Crossfire] starting ...
[2015-06-20 09:55:55,981][INFO ][transport                ] [Crossfire] bound_address {inet[/169.254.179.3:9400]}, publish_address {inet[/169.254.179.3:9400]}
[2015-06-20 09:55:55,994][INFO ][discovery                ] [Crossfire] github-enterprise/bdob9qaYTJKfGR_s7pyFnQ
[2015-06-20 09:55:59,956][INFO ][cluster.service          ] [Crossfire] detected_master [Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}, added {[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true},}, reason: zen-disco-receive(from master [[Jerry Jaxon][P3GlC2FhQ7OIJORtlRjoFg][2-3-primary-local][inet[/192.168.1.89:9300]]{role=primary, master=true}])
[2015-06-20 09:55:59,979][INFO ][http                     ] [Crossfire] bound_address {inet[0.0.0.0/0.0.0.0:9200]}, publish_address {inet[/192.168.1.90:9200]}
[2015-06-20 09:55:59,979][INFO ][node                     ] [Crossfire] started
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment