<vCenter_ID> of domain to complete inventory sync.
|
|
|
|
|
|
/var/log/vmware/vcf/operationsmanager/operationsmanager.log the following stack trace is observed:YYYY-MM-DDTHH:MM:SS.750+0000 DEBUG [vcf_om,######,####] [c.v.v.v.s.i.VersionSyncServiceImpl,pool-3-thread-1] Validating the result of the inventory sync:{"entitiesToSync":["VCENTER","NSXT_CLUSTER","ESXI"],"entitiesToUpdate":[],"completedInventorySyncTasks":[{"entity":"NSXT_CLUSTER","syncStatus":"SUCCEEDED","errors":[]},{"entity":"VCENTER","syncStatus":"SUCCEEDED","errors":[]},{"entity":"ESXI","syncStatus":"FAILED","errors":[{"errorCode":"ESX_RESOURCE_VERSION_FETCH_FAILED","errorMessage":"Cannot connect to vCenter ########-####-####-####-######### of domain <domain_name> to complete inventory sync.","errorType":"ERROR","cause":"","remediation":"Please ensure the vCenter ########-####-####-####-######### is up and running."}]}],"failedInventorySyncTasks":[{"entity":"ESXI","syncStatus":"FAILED","errors":[{"errorCode":"ESX_RESOURCE_VERSION_FETCH_FAILED","errorMessage":"Cannot connect to vCenter ########-####-####-####-######### of domain <domain_name> to complete inventory sync.","errorType":"ERROR","cause":"","remediation":"Please ensure the vCenter ########-####-####-####-######### is up and running."}]}]}YYYY-MM-DDTHH:MM:SS.751+0000 ERROR [vcf_om,########,####] [c.v.e.s.o.model.error.ErrorFactory,pool-3-thread-1] [######] VERSION_SYNC_FAILED Inventory version synchronization failed. Please try to fix the cause for the issue and retry the operation.com.vmware.evo.sddc.common.core.error.InvalidStateException: Inventory version synchronization failed. Please try to fix the cause for the issue and retry the operation.at com.vmware.vcf.versionsync.services.impl.VersionSyncServiceImpl.validateInventorySyncStatus(VersionSyncServiceImpl.java:91)at com.vmware.vcf.versionsync.services.impl.VersionSyncServiceImpl.syncInventory(VersionSyncServiceImpl.java:43)..at java.base/java.lang.Thread.run(Thread.java:840)Caused by: com.vmware.evo.sddc.common.core.error.InvalidStateException: Inventory version synchronization failed with: Cannot connect to vCenter ########-####-####-####-#########of domain <domain_name> to complete inventory sync.at com.vmware.vcf.versionsync.services.impl.VersionSyncServiceImpl.validateInventorySyncStatus(VersionSyncServiceImpl.java:89)... 18 common frames omitted
This issue is typically caused by a mismatch between the physical state of the host and the records maintained in the SDDC Manager PostgreSQL database.
In this instance, the issue is caused due to presence of host IDs in the host table of the platform database with a status of 'ERROR', coupled with their absence from the vCenter inventory.
Verification of Host Status:
vcf then elevate to root. select id, hostname, status from host where status='ERROR' OR status='DEACTIVATING';Sample Output:
id | hostname | status--------------------------------------+-----------------------+-------- ########-####-####-####-############ | <hostfqdn> | ERROR
An SDDC Manager log bundle may be required by Broadcom Support to assist with further analysis and troubleshooting.