-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
--configtest not working on 2.3 (undefined method `config_valid?') #4933
Comments
thanks, we'll check it out |
I'm getting the same error with 2.3.0 on Windows Server 2012 R2. It works fine with 2.2.2.
|
My continuous integration testing is failing because of this, please fix 👍 |
+1 my deployment scripts is broken ;) please fix it |
+1 o\ |
Unfortunately "-t/--config-test" had absolutely no tests, so we never realised it broke 👎 I've created a pr to fix the problem and a basic ok/nok test for the 2.3 branch. I'll create another against master in a few minutes. Once the fix is merged we should expect a patch release shortly after, as this is a huge bug.. |
when will this fix be available? |
@svenmueller @AlexClineBB @benlavender @Sakorah We just built a snapshot of 2.3.1 for sanity testing before doing a formal 2.3.1 release as soon as we green light this snapshot. Feel free to test that and let us know if that works for you. +Standard disclaimer about a snapshot release. |
FYI 2.3.1 is released, https://www.elastic.co/blog/logstash-2.3.1-and-2.2.4-released |
thx @colinsurprenant I'll test that. |
2.3.1 worked for me on ubuntu14.04. I tried an upgrade from 2.3.0 (verified that configtest failed) to 2.3.1 and it worked. |
Just stumbled into the error. It bothered me. Google it. Found this issue. Saw it was alreay fixed. Upgraded and everything is fine again. |
I'm getting the following error on 2 instances of logstash that were upgraded from 2.0 to 2.3, both are running ubuntu 12.04 amd64.
The error occurs when running
logstash -f /etc/logstash/conf.d --configtest
.Since the new init script uses configtest when doing a restart, it means
/etc/init.d/logstash restart
cannot be used.The text was updated successfully, but these errors were encountered: