puppet-elasticsearch icon indicating copy to clipboard operation
puppet-elasticsearch copied to clipboard

Bug: keystore for instance is not readable by elasticsearch

Open joernott opened this issue 6 years ago • 1 comments

  • Module version: 6.2.2
  • Puppet version: 4.10.8
  • OS and version: RHEL 7.4

Bug description

When using x-pack, a keystore in $configdir/$instance-name/x-pack/$instance_name.ks is created which is owned by root:root and has the file mode 0640. If elasticsearch is not run as root, it can't read the file and thus does not start the instance due to x-pack initialisation error.

joernott avatar May 03 '18 07:05 joernott

also having the same issue. File should be owned by the elasticsearch user

dannygoulder avatar May 10 '18 21:05 dannygoulder