Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Install hangs on [Wait for elasticsearch to startup] Ubuntu 16 #305

@runtman

Description

@runtman

It seems the installation of elasticsearch via this ansible playbook hands on [Wait for elasticsearch to startup].

If I was to take a stab in the dark, I believe it relates to systemd missing the startup.

bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-iolgltkwkkyiyzdtbcvhnhnejczxkbup; /usr/bin/python /home/ubuntu/.ansible/tmp/ansible-tmp-1494493145.89-115538618345757/wait_for.py; rm -rf "/home/ubuntu/.ansible/tmp/ansible-tmp-1494493145.89-115538618345757/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"'' <54.77.108.183> (0, '\r\n{"msg": "Timeout when waiting for localhost:9200", "failed": true, "elapsed": 300, "invocation": {"module_args": {"active_connection_states": ["ESTABLISHED", "SYN_SENT", "SYN_RECV", "FIN_WAIT1", "FIN_WAIT2", "TIME_WAIT"], "host": "localhost", "port": 9200, "delay": 5, "state": "started", "sleep": 1, "timeout": 300, "exclude_hosts": null, "search_regex": null, "path": null, "connect_timeout": 1}}}\r\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/anthony/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 15368\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 54.77.108.183 closed.\r\n') fatal: [54.77.108.183]: FAILED! => { "changed": false, "elapsed": 300, "failed": true, "invocation": { "module_args": { "active_connection_states": [ "ESTABLISHED", "SYN_SENT", "SYN_RECV", "FIN_WAIT1", "FIN_WAIT2", "TIME_WAIT" ], "connect_timeout": 1, "delay": 5, "exclude_hosts": null, "host": "localhost", "path": null, "port": 9200, "search_regex": null, "sleep": 1, "state": "started", "timeout": 300 } }, "msg": "Timeout when waiting for localhost:9200" }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions