The attempt to add a vSphere cluster to the workload domain through the SDDC Manager UI failed with the error: “Inventory version synchronization failed.”
search cancel

The attempt to add a vSphere cluster to the workload domain through the SDDC Manager UI failed with the error: “Inventory version synchronization failed.”

book

Article ID: 428498

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Inventory version synchronization failed with: Cannot connect to vCenter FQDN of domain to complete inventory sync


  • /var/log/vmware/vcf/operationsmanager/operationsmanager.log:
    YYYY-MM-DDThh:mm:ss.181+0000 ERROR [vcf_om,69870d3a77e000c1f09ff157f06ce333,1297] [c.v.e.s.o.model.error.ErrorFactory,pool-2-thread-8] [6UDE3S] 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:94)
            at com.vmware.vcf.versionsync.services.impl.VersionSyncServiceImpl.syncInventory(VersionSyncServiceImpl.java:47)

    at com.vmware.vcf.versionsync.services.action.SyncInventoryVersionsAction.execute(SyncInventoryVersionsAction.java:48)
            at com.vmware.vcf.versionsync.services.action.SyncInventoryVersionsAction.execute(SyncInventoryVersionsAction.java:25)
            at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:66)
            at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:161)
            at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:147)
            at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:403)
            at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:517)
            at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:128)
            at jdk.internal.reflect.GeneratedMethodAccessor1718.invoke(Unkn
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:569)
            at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
            at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
            at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:63)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
            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 dfxxxxxxx-xxxxxxxx-xxxxxxxxxxxxxxxxx of domain <domain_name>-1 to complete inventory sync.; Unable to connect to ESX host <ESXi_fqdn>.
            at com.vmware.vcf.versionsync.services.impl.VersionSyncServiceImpl.validateInventorySyncStatus(VersionSyncServiceImpl.java:92)
            ... 18 common frames omitted

  • Cannot ping  ESX host <ESXi_fqdn>.

Environment

VCF 9.x

Resolution

After decommissioning the affected host from SDDC Manager and restarting the failed task, the inventory versions synchronized successfully.