@shichw Can you explain what you are trying to do, it’s not clear. Are you trying to install just the alerting odfe plugin?
Can you also provide elasticsearch.yml and kibana.yml? (redact any sensitive details)
Also if you are just installing odfe plugins on top of elasticsearch 7.10.2, can you confirm if it’s OSS version and which plugins are installed.
Thank you for your attention. I installed opendistroforelasticsearch and opendistroforelasticsearch-1.13.2 on a single node. After installation, I only modified the IP address without other configurations.
@shichw What do you mean by you installed odfe and odfe-1.13.2? Do you mean elasticsearch and odfe-1.13.2?
Which OS are you testing this one? (How did you install odfe tar/deb/docker?).
I would recommend to test it via docker to remove any dependency issues. The images are already baked to have elasticsearch with all the plugins. So you are up and running in minutes. Docker-compose can be found here
@shichw
I have just tested odfe 1.13.2 on centOS 8.5 and cannot reproduce the error you are describing. Further more I think there is some confusion regarding the security script.
Below are the step I performed to set everything up:
Set up odfe (with all plugins):
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.13.2-linux-x64.tar.gz -o opendistroforelasticsearch-1.13.2-linux-x64.tar.gz
tar -zxf opendistroforelasticsearch-1.13.2-linux-x64.tar.gz
cd opendistroforelasticsearch-1.13.2
./opendistro-tar-install.sh
You should now be able to run below command and get the usual elasticsearch output (“You know, for Search”)
Notice that the above command connects to https and uses default username and password, indicating that the security has already been initialised.
Next Set up Kibana
In new terminal issue below commands:
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.13.2-linux-x64.tar.gz -o opendistroforelasticsearch-kibana-1.13.2-linux-x64.tar.gz
tar -zxf opendistroforelasticsearch-kibana-1.13.2-linux-x64.tar.gz
cd opendistroforelasticsearch-kibana
./bin/kibana
In the browser (on the same machine) type localhost:5601 and you should be able to login with the same admin:admin credentials, go to alerts and everything should work.
Before making any changes, can you ensure the above is working as expected?
If it is, please confirm which line in which config file is being changed and any actions taken to reload the config (odfe restart or otherwise).
This problem occurred during the first startup. When I checked elasticsearch.yml again, I found that there were more SSL configurations in it, and this problem was eliminated.