Elasticsearch PVC Stuck in Pending State with Local Storage Operator

Solution Verified - Updated -

Issue

  • Elasticsearch PersistentVolumeClaim (PVC) fails to bind to the local storage Persistent Volume (PV) :
$ oc get pvc
NAME                                         STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS    AGE
elasticsearch-elasticsearch-cdm-q9584k5h-1   Pending                                      local-sc   84s
elasticsearch-elasticsearch-cdm-q9584k5h-2   Pending                                      local-sc   84s
elasticsearch-elasticsearch-cdm-q9584k5h-3   Pending                                      local-sc   84s
  • How to resolve this issue?

Environment

  • Red Hat OpenShift Container Platform [RHOCP]
    • 4.x

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