Unable to mount PV after Storage vMotion in OpenShift on 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 (RHOCP)
- 3.11
- 4
- VMware vSphere
- Storage vMotion
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.