-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recipe: elkstack::logstash #178
Comments
It is a bit hard to say from that output without some manual troubleshooting as well. From the output there, the elasticsearch service was started before, and a restart was issued to logstash_server runit service. The service started, received a PID, but then terminated itself. After this failed run were you able to login to the instance and see the status of the elasticsearch service? It would also help to reference the runit logs under |
Thanks for responding. I see elasticsearch running after the failed run. But I can't tell if it was running right at the moment of failure.
Also, in my log directory, this is what I have:
|
Can you show us what settings you're applying or give us a reproducable example? I don't think we have enough information; I suspect this is an issue with configuration. |
I'm actually cloning the entire repo into a new folder: Please see the logs below for the first and second runs. FYI, a colleague got the same issue on his machine. |
Hi @jnganga -- I just cloned
These logs contain different run lists. cic_elkstack::packer is not part of elkstack, so I think there's something else going on here (these logs aren't from the same runlist, it seems). Could you share your |
Sorry, I attached the log files from my earlier run where I'm wrapping your cookbook. In both cases, with or without the wrapper, it errors out at the same place. |
Yes, please let us know when you have something with elkstack itself so we can try to reproduce it. I'm specifically interested in both logs & lock files for elkstack specifically, not your wrapper. Thanks. |
Sure. Please find the logs and .lock files below.
Thank you. second_run_log_cloned_elkstack.txt |
For what its worth, even though I realize may not add any value, but I can go through the same steps and I compared the Gemfile.lock and Berksfile.lock. I was able to converge with no errors, and the only difference I found was that I had a slightly newer ohai gem locally. In your above command I see you did not do We'll continue to dig into this, but so far I don't see a smoking gun. |
@dude051 what exact command/order should I run for bundle exec |
The same order works, just prepend your kitchen commands with
|
I get the same results sir! Please see attached logs. second_run_log_bundle_elkstack.txt |
@jnganga Do you get anything in the logstash logs when you run this? I'm wondering if the logstash service just isn't starting for some reason. |
i guess this is related to my issue. here, i faced the same. with latest logstash versions |
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?
The text was updated successfully, but these errors were encountered: