Unable to create new PV due to " SharedHost.getSharedDatastore: unable to find any shared datastores" in RHOCP 4.x

Solution Verified - Updated -

Issue

  • Unable to create persistent volume (PV) due to below error:
20s         Warning   ProvisioningFailed               persistentvolumeclaim/ABC               Failed to provision volume with StorageClass "thin": SharedHost.getSharedDatastore: unable to find any shared datastores

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • VMware vSphere

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