Unable to mount PV after Storage vMotion in VMware vSphere
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.