<DATE/TIME> : Error: Search index is out of sync for 'Host Transport Node'. Run the 'start search resync all' CLI command on the NSX appliance to resync. If the issue persists, contact VMware Support. (Error code: 60516):
Or
Error: Search index is out of sync. Run the 'start search resync all' CLI command on the NSX appliance to resync. If the issue persists, contact VMware Support. INDEXING_FAILURES_EXHAUSTED_RETRIES, params: [all] (Error code: 60516)
/var/log/search/search-manager.logERROR UfoIndexer-BatchExecutor-search_policy-2 UfoGenericConverter #### - [nsx@#### comp="nsx-manager" errorCode="MP60511" level="ERROR" subcomp="manager"] [Indexing: DataProvider] Could not convert UFO object to Dto UfoObject{operationType=CREATE, descriptor=IndexingTypeDescriptor{tableName='HostTransportNode', streamTag=POLICY}, identifier=string_id: "/infra/sites/default/enforcement-points/default/host-transport-nodes/esxi##-#-########-####-####-####-############host-#######"
VMware NSX
If a communication error occurs between the NSX Manager and ESXi Transport Node during an uninstallation from NSX. This will keep the ESXi Transport Node in a marked_for_delete=true state in Corfu, which causes search indexing to return an error.
This is a condition that may occur in a VMware NSX environment.
Workaround:
DELETE /policy/api/v1/infra/sites/default/enforcement-points/default/host-transport-nodes/esxi##-#-########-####-####-####-############host-#######?force=trueDELETE /api/v1/transport-nodes/########-####-####-####-############?force=trueIf there are multiple hosts showing in the search-manager.log and causing the indexing to fail, repeat the above steps to delete them also.
If the workaround steps in this KB did not resolve the issue, please review the steps in this KB Installing NSX on Host fails with "already exists" error or upgrade fails with "Failed to get Host status"