Error: "Timed out" when syncing catalog in Cloud Director 10.5.x
search cancel

Error: "Timed out" when syncing catalog in Cloud Director 10.5.x

book

Article ID: 320461

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • In the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, the following stacktrace can be seen:

content-library-activity-pool12563 | LibrarySyncActivity | [Activity >Execution] Failed to sync library item urn:uuid:########-####-####-####-############## - Handle: urn:uuid:########-####-####-####-############## | ... activity=(com.vmware.cl.LibrarySyncActivity,urn:uuid:########-####-####-####-##############)
java.util.concurrent.ExecutionException: com.vmware.ssdc.util.LMException: Timed out.
...
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
... 5 more
Caused by: java.lang.NullPointerException
at com.vmware.ts.impl.TransferEndpointImpl.storeFileInChunks(TransferEndpointImpl.java:969)
at com.vmware.ts.impl.TransferEndpointImpl.attemptDownload(TransferEndpointImpl.java:878)

  • The catalog sync was successful before the upgrade to VCD 10.5.

  • Sync fails for smaller and larger templates.

  • Windows VMs deployed from a subscriber catalog template fail to boot and display a blue screen (BSOD).

Environment

  • VMware Cloud Director 10.5
  • VMware Cloud Director 10.5.1

Cause

This is a known issue with VCD 10.5.x environments where the subscriber is trying to sync to a publisher catalog configured with password for subscription.

Resolution

This is a known issue affecting Cloud Director versions 10.5.0 and 10.5.1.

This issue is resolved in Cloud Director versions 10.5.1.1 and 10.6 found at Broadcom Downloads.

Workaround:

To workaround the issue, there are two options.

  1. Disable password protection for the published catalog.
  2. Disable parallel transfer.
     
Disable password protection for the published catalog

Please refer to Step 3 under Procedure in the documentation to view and edit the password.

Disable parallel transfer

Run the following on any Cloud Director Cell to update the config in the database.

/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n catalog.sync.enableParallelChunkedTransfer -v false