Error "The entity Ref: com.vmware.vcloud.entity.catalogitem:###### is busy completing an operation LIBRARY_ITEM_SYNC" while attempting to sync a subscriber catalog from a publisher catalog
search cancel

Error "The entity Ref: com.vmware.vcloud.entity.catalogitem:###### is busy completing an operation LIBRARY_ITEM_SYNC" while attempting to sync a subscriber catalog from a publisher catalog

book

Article ID: 400509

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Catalog sync from subscribed to published catalog fails with "BusyEntityException" or the error below:

    [ ########-####-####-########f6e5] Internal Server Error  [ ########-####-####-########f6e5 ] Unable to complete sync for catalog urn:uuid:########-####-####-########d997

  • In /opt/vmware/vcloud-director/logs/vcloud-container-debug.log on the VMware Cloud Director (VCD) hosting the subscriber library, below entries are observed:

    DATE TIME | ERROR | content-library-activity-pool4516 | LibraryItemSyncActivity | [Activity Execution] Uncaught Exception during Activity execution. Recent phase: com.vmware.cl.activ
    ities.LibraryItemSyncActivitySyncInitializationPhase@1eec48c7 - Handle: urn:uuid:########-####-####-########ae30, Current Phase: LibraryItemSyncActivitySyncInitializationPhase@1eec48c7−Handle:urn:uuid:########-####-####-########ae30,CurrentPhase:LibraryItemSyncActivitySyncInitializationPhase@1eec48c7 - Handle: urn:uuid:########-####-####-########ae30, Current Phase: LibraryItemSyncActivitySyncInitializationPhase@1eec48c7−Handle:urn:uuid:########-####-####-########ae30,CurrentPhase:LibraryItemSyncActivitySyncInitializationPhase | requestId=########-####-####-########f6e5,request=POST https://cloud.example.com/api/catalog/########-####-####-########746c/action/sync,requestTime=1750325468166,remoteAddress=##.##.##.##:49861,userAgen
    t=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=########-####-####-########1cf9,task=########-####-####-########986c activity=(

[...]

Caused by: com.vmware.vcloud.api.presentation.service.BusyEntityException: The entity Ref: com.vmware.vcloud.entity.catalogitem:########-####-####-########144a is busy completing an operation LIBRARY_ITEM_SYNC. LIBRARY_ITEM_SYNC(com.vmware.vcloud.entity.task:########-####-####-########ae30)

Environment

VMware Cloud Director 10.6
VMware Cloud Director 10.6.1
VMware Cloud Director 10.5

Cause

Catalog synchronization fails when the published catalog includes an item that was copied from another subscribed catalog.

If a catalog subscribes to a published catalog, and an item from that subscription is then copied into a new catalog which is subsequently published, any further subscription to this newly published catalog will result in sync failure for that catalog item.

 

 

Resolution

The issue has been resolved on VMware Cloud Director 10.6.1.1 available to Download on Broadcom Support portal.

If you encounter this issue contact Broadcom Support and note this Article ID (393712) in the problem description. For more information, see Creating and managing Broadcom support cases.