Open LolloneS opened 3 years ago
Hi @LolloneS, Thanks for opening this issue. Unfortunately we currently don't have time to investigate every tickets so please be patient.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still valid
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I believe this is still valid.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Elasticsearch version: 7.11.1
Role version: 7.13.1
JVM version (
java -version
):OS version (
uname -a
if on a Unix-like system): CentOS 8:Linux test-machine 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behaviour: When installing Elasticsearch, the
/etc/elasticsearch/elasticsearch.keystore
file has wrong permissions (root:root
), which makes Elasticsearch's service fail while trying to start. The file should belong to theelasticsearch
group in order to allow Elasticsearch to access it.Playbook:
Provide logs from Ansible:
ES Logs if relevant:
As a matter of fact, the
/etc/elasticsearch/
folder looks as follows:I also tried manually specifying the
es_group: elasticsearch
variable in the playbook but the result is still the same.Conversely, if I:
bin/elasticsearch-keystore
bin/elasticsearch-keystore
chown
the keystore toelasticsearch:elasticsearch
the service starts flawlessly.