Elasticsearch helm chart gives AccessDenied exception

4/6/2020

It is a common issue still seems unresolved:

ElasticsearchException[failed to bind service]; nested: AccessDeniedException[/usr/share/elasticsearch/data/nodes];
Likely root cause: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes

I am trying to run it on a cluster setup by RKE. I started to use it in an outofabox manner, means only using it as a dependency :

dependencies:
  - name: elasticsearch
    version: 7.6.2
    repository: https://helm.elastic.co

It just fails right away.

I am aware and have followed the corresponding github issues like:
https://github.com/elastic/helm-charts/issues/429
https://github.com/elastic/helm-charts/issues/137
https://github.com/elastic/helm-charts/issues/388
https://github.com/elastic/helm-charts/issues/258

I have also tried to cmod-ing it by hand in 'initresources' , I have played with fsgroup, and I have also tried to use Rancher Local Path Provisioner(menioned in issue 429).
No success at all ,same exception comes every time.

Any idea?

-- beatrice
elasticsearch
kubernetes
kubernetes-helm

0 Answers