During upgrade volumes created from VMware vSphere shows the error: "failed to get canonical path"

Solution In Progress - Updated -

Issue

-PV and PVC get bound successfully still unable to mount volume inside the pod.
- Disks created from vSphere storage (.vmdk) shows the below error:

W0427 01:35:55.275181       1 datacenter.go:269] QueryVirtualDiskUuid failed for diskPath: "[DSC_OSH_TEST/VAR-5500-OSH-T-01] kubevols/kube-dummyDisk.vmdk". err: ServerFaultCode: Invalid datastore path '[DSC_OSH_TEST/VAR-5500-OSH-T-01] kubevols/kube-dummyDisk.vmdk'.
E0427 01:35:55.275211       1 vsphere.go:939] failed to get canonical path for  on node redacted.hostname: failed to get path from dummy request: ServerFaultCode: Invalid datastore path '[DSC_OSH_TEST/VAR-5500-OSH-T-01] kubevols/kube-dummyDisk.vmdk'. is not a FileNotFound error
E0427 01:35:55.275226       1 attacher.go:93] Error attaching volume "[DSC_OSH_TEST/VAR-5500-OSH-T-01] kubevols/osh4dev-vshjn-dynamic-pvc-2efbc233-11b0-4547-b70b-4e9c39fc6d2f.vmdk" to node "redacted.hostname": failed to get path from dummy request: ServerFaultCode: Invalid datastore path '[DSC_OSH_TEST/VAR-5500-OSH-T-01] kubevols/kube-dummyDisk.vmdk'. is not a FileNotFound error

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.6 to 4.7
  • 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