vCenter displays:
"The object or item referred to could not be found"
/var/log/hostd.log:Unable to stat VM config file '/vmfs/volumes/vsan:<vsan-datastore>/<vm-uuid>/<vm-name>.vmx'. Error code 2: 'No such file or directory' RegisterVm file check error: Unable to stat VM config file '/vmfs/volumes/vsan:<vsan-datastore>/<vm-uuid>/<vm-name>.vmx'.
Error code 2: 'No such file or directory':
Failed to register the VM: N3Vim5Fault8NotFound9ExceptionE(Fault cause: vim.fault.NotFound)
VMware vCenter Server 8.x
This issue can occur when an ESXi host becomes isolated from the vSAN cluster during a physical network uplink change.
The host may remain connected to vCenter and appear healthy, but the loss of vSAN connectivity results in an incomplete view of the vSAN datastore. During a vMotion or migration operation, the destination host cannot access the VM configuration files stored on vSAN, causing VM registration to fail.
Verification:
esxcli vsan cluster getIn a healthy cluster, the output should show all cluster members. For example:
Sub-Cluster Member Count: 3Sub-Cluster Member HostNames:esxi01, esxi02, esxi03
A host experiencing this issue may report output similar to:
Sub-Cluster Member Count: 1Sub-Cluster Member HostNames:esxi03
Sub-Cluster Member Count should match the number of vSAN hosts in the cluster, and all hosts should appear in the Sub-Cluster Member HostNames list.vmnic) assigned to the vSAN vmkernel adapter (vmk).