Hi,
I'm running into this error below when converging. Without fail, it converges on the second attempt. Is it that elasticsearch is not running yet and logstash depends on it, hence the failure? How do we resolve this?
Recipe: elkstack::elasticsearch
* service[elasticsearch] action start (up to date)
Recipe: elkstack::logstash
* logstash_service[server] action restart
* runit_service[logstash_server] action restart
================================================================================
Error executing action `restart` on resource 'runit_service[logstash_server]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /usr/bin/sv restart /etc/service/logstash_server ----
STDOUT: timeout: run: /etc/service/logstash_server: (pid 20646) 797s, got TERM
STDERR:
---- End output of /usr/bin/sv restart /etc/service/logstash_server ----
Ran /usr/bin/sv restart /etc/service/logstash_server returned 1
Hi,
I'm running into this error below when converging. Without fail, it converges on the second attempt. Is it that elasticsearch is not running yet and logstash depends on it, hence the failure? How do we resolve this?