-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Elasticsearch version 6.8.6 oss unable to start #51060
Comments
Based off of this call stack, Version 6.8: https://github.com/elastic/elasticsearch/blob/6.8/server/src/main/java/org/elasticsearch/node/Node.java#L472, elasticsearch is trying to create a component for ReindexPlugin. Version 6.8: https://github.com/elastic/elasticsearch/blob/6.8/modules/reindex/src/main/java/org/elasticsearch/index/reindex/ReindexPlugin.java#L88, it calls a function ReindexSslConfig() and I am unsure as to why it is trying to config it with SSL. Version 6.5, https://github.com/elastic/elasticsearch/blob/6.5/modules/reindex/src/main/java/org/elasticsearch/index/reindex/ReindexPlugin.java, there is no mentions of ReindexSslConfig() and this is mainly due to version 6.5 not supporting the library ssl-config. Why is elasticsearch trying to configure out ReindexPlugin with SSL even though this is an OSS version? |
Open Source Elasticsearch has always (well, for a very long time) supported reindexing over So it makes sense that you see a differne between 6.8 and 6.5 Can you give an exact OS version and/or JDK package name? |
Pinging @elastic/es-distributed (:Distributed/Reindex) |
Pinging @elastic/es-security (:Security/Network) |
In your log file I see
My strong suspicion is that your custom security properties are the root cause of this issue. |
ssl.KeyManagerFactory.algorithm=SunX509 I believe that these two lines in there may be the reason why. I'll give it an attempt without it and will ping the results. |
OS Version:
JDK:
Thank you @tvernum |
@tvernum I didn't have much luck removing the lines I indicated. Here are the contents of the security properties file. Thank you ahead of time for taking a look. |
I can't reproduce this using the security properties you posted, so it looks like it will be something more subtle. |
@tvernum, I was able to find out the problem and it was from the security properties file that you had suspicions on. It was mainly due to a keystore mismatch with Java's keystore. I'll go ahead and close this issue. Thank you for taking a look at it. |
Elasticsearch version (
bin/elasticsearch --version
): Version: 6.8.6, Build: oss/rpm/3d9f765/2019-12-13T17:11:52.013738Z, JVM: 1.8.0_181Plugins installed: []
JVM version (
java -version
):openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
OS version (
uname -a
if on a Unix-like system): LinuxDescription of the problem including expected versus actual behavior:
Hi all,
I am trying to do a fresh install of elasticsearch-oss-6.8.6 with OpenJDK version 1.8.0_181. An elasticsearch-oss-6.5 was able to successfully install before but I am receiving errors related to the keystore and trust manager. There were no issues related to the trust manager and keystore before. It seems like for some reason, elasticsearch is trying to do SSL configurations but we never specified it. There is no SSL options or configurations in the elasticsearch.yml file.
Steps to reproduce:
Provide logs (if relevant):
Log File:
elasticsearch.log
The text was updated successfully, but these errors were encountered: