Unable to mount PV after Storage vMotion in VMware vSphere

Solution Verified - Updated -

Issue

  • After storage migration, PV's are inaccessible in OpenShift because all PV's source datastore are immutable and contain the old datastore name.
  • Below error reported in oc describe pv <pv_name> command output:
Message:         Invalid datastore path '[VXR_DC1-PoolA_01]'
kubevols/kubernetes-dynamic-pvc-xyz-abcd-12345.vmdk'.   

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 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