retrieveDiskPathAssociations: :vim.fault.InvalidDatastorePath/var/log/vmware/vpxd.log
error vpxd[2824780] [Originator@6876 sub=Default opID=0788a205-##] [VpxLRO] -- ERROR lro-262708904 -- 5202bc7b-ef27-562e-4a0c-###(5281ac6b-3989-9abc-1c94-###) -- VStorageObjectManager -- vim.vslm.vcenter.VStorageObjectManager.retrieveDiskPathAssociations: :vim.fault.InvalidDatastorePath--> Result:--> (vim.fault.InvalidDatastorePath) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> datastore = <unset>,--> name = <unset>,--> datastorePath = "[<datstore-name>] <path>/<to>/<vmdk>.vmdk"--> msg = ""--> }--> Args:-->--> Arg diskPaths:--> (string) [--> "[datastore-name] <path>/<to>/<vmdk>.vmdk"--> ]--> Arg datastore:--> 'vim.Datastore:datastore-####'(END)
/var/log/vmware/vsan-health/vsanvcmgmtd.log--> msg = "Received SOAP response fault from [<<io_obj p:0x00007f74e001b1e0, h:4, <TCP '127.0.0.1 : 32972'>, <TCP '127.0.0.1 : 1080'>>, /sdk>]: retrieveDiskPathAssociations--> Method vim.vslm.vcenter.VStorageObjectManager.retrieveDiskPathAssociations threw undeclared fault of type vim.fault.InvalidDatastorePath"--> }
VMware vCenter Server 8.x+
VMware vSphere CSI Driver 3.0+
If a datastore name is changed from the vCenter, CNS database entries are not updated to reflect the change.
Workaround:
service-control --stop vpxdpsql -U postgres -d VCDBvpx_ds_info or cns.vpx_storage_datastore_info
select name, url from vpx_ds_info;select * from cns.vpx_storage_datastore_info;update cns.VPX_STORAGE_DATASTORE_INFO set vclock=-1 where datastore_url='<ds-url>';delete from cns.volume_info where datastore='<ds-url>';\qservice-control --start vpxdvmon-cli -r vsan-healthselect * from cns.volume_info;
Issue will be resolved in an upcoming release of vSphere.