ElasticSearch pods in CrashLoop status with error "Exception in thread "main" java.lang.IllegalStateException: Unable to access 'path.data'" in OCP 3.11

Solution In Progress - Updated -

Issue

Exception in thread "main" java.lang.IllegalStateException: Unable to access 'path.data' (/opt/elasticsearch/data)
Likely root cause: java.nio.file.AccessDeniedException: /opt/elasticsearch/data

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content