-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Logstash don't start with 7.9.0-SNAPSHOT and default values #663
Comments
@elastic/logstash can you take a look at that issue? I reproduced it with When running with Is it some new expected behavior? |
@colinsurprenant: this seems related to the new support for api keys in central management and monitoring done in elastic/logstash#11864 |
@jmlrt @jsvd I confirm this is a behaviour change in 7.9 - I added a check to make sure a password is explicitly set when either relying on the implicit default username or when setting an explicit username - in other words, when relying on basic auth a password must be set in 7.9. I would have to dig back the reasoning for this but IIRC a user must have a password in ES and thus a passwordless basic auth config is invalid. LMKWYT. |
@colinsurprenant, @jsvd I agree that a password should be explicitely set when setting an explicit username, however IMO users should keep the possibility to use An alternative if we think that Do you want me to create a ticket in Logstash repo as it's not related to Helm charts but related to Logstash default config? |
|
@colinsurprenant up until 7.8.0 using monitoring didn't require setting a user or password, and none is sent if only
So this is a regresssion. |
Make sense, let's fix it then. |
Pushed elastic/logstash#12094 |
the fix was merged fro 7.9.0, let me know if it fixes on your end @jmlrt ! |
Logstash test is OK with the new Thank you for fixing it ❤️ |
Following
7.x
branch bump to7.9.0-SNAPSHOT
artifacts in #661, Logstash chart doesn't start anymore with the default values:It seems that Logstash 7.9 now requires an Elasticsearch user/password when
xpack.monitoring.enabled
is enabled (enabled by default in basic Logstash Docker image) while Logstash < 7.9 was fine with an Elasticsearch with no authentication.The text was updated successfully, but these errors were encountered: