YYYY-MM-DDTHH:MM:SS.173+01:00 info vsanvcmgmtd[352080] [vSAN@6876 sub=CnsTask] A com.vmware.cns.vslm.tasks.retrieveVStorageObject task is created: task-12345YYYY-MM-DDTHH:MM:SS.177+01:00 info vsanvcmgmtd[352080] [vSAN@6876 sub=vmomi.soapStub[5]] SOAP request returned HTTP failure; <<io_obj p:0x00007f23f474ad40, h:31, <TCP '127.0.0.1 : 52568'>, <TCP '127.0.0.1 : 1080'>>, /sdk>, method: retrieveDiskPathAssociations; code: 500(Internal Server Error); fault: (vmodl.fault.SystemError) {--> faultCause = (vim.fault.InvalidDatastorePath) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> datastore = <unset>,--> name = <unset>,--> datastorePath = "[Datastore] fcd/###############################.vmdk"--> msg = "Invalid datastore path '[Datastore] fcd/###############################.vmdk'."."--> },--> faultMessage = <unset>,--> reason = "Undeclared fault"--> msg = "Received SOAP response fault from [<<io_obj p:0x00007f23f474ad40, h:31, <TCP '127.0.0.1 : 52568'>, <TCP '127.0.0.1 : 1080'>>, /sdk>]: retrieveDiskPathAssociationsvCenter Server 8.x
VMware cloud native storage (CNS)
This issue occurs when a datastore containing First Class Disks (FCDs) backing Cloud Native Storage (CNS) Persistent Volumes is renamed in vCenter Server.
When the datastore is renamed, the path recorded in the CNS catalog becomes stale. Subsequent CNS synchronization, health checks, or deletion tasks attempting to query the storage object via the retrieveDiskPathAssociations API will fail because the original path no longer exists.
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;