Catalog failed to sync with "com.vmware.ssdc.util.LMException: Timed out" error when a wrong iso file was mounted on template VM on publisher site
search cancel

Catalog failed to sync with "com.vmware.ssdc.util.LMException: Timed out" error when a wrong iso file was mounted on template VM on publisher site

book

Article ID: 394943

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Catalog failed to sync.
  • On subscriber side, in /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, there is "com.vmware.ssdc.util.LMException: Timed out" error:

    YYYY-MM-DD HH:MM:SS | ERROR    | content-library-activity-poolxxxxx | FutureUtil                     | Failed to transfer files from publisher to subscriber for item vm-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-disk-1.vmdk | requestId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,request=POST https://example.vcloud.com/api/catalog/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/action/sync,requestTime=xxxxxxxxxxxxx,remoteAddress=xx.xx.xx.xx:xx:xxxxx,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 39.0.0-alpha vcd=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,task=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) activity=(com.vmware.cl.LibrarySyncActivity,urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) vcd=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,task=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) activity=(com.vmware.cl.activities.LibraryItemSyncActivity,urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
    com.vmware.vcloud.api.presentation.service.TimedoutException: Timed out.
            at com.vmware.ts.impl.TransferItemFileFuture.isDone(TransferItemFileFuture.java:189)


  • On publisher side, in /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, there is "com.vmware.cl.exception.ContentLibraryException" error:

    YYYY-MM-DD HH:MM:SS | ERROR    | pool-jetty-xxxxxx         | ClspExceptionHandler           | Exception in handling of request | requestId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,request=GET https://example.vcloud.com/vcsp/lib/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/item/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx...,requestTime=1742892896414,remoteAddress=xx.xx.xx.xx:xx:xxxxx,userAgent=Apache-HttpClient/4.5.13 (Java/11.0.19.0.2),accept=()
    com.vmware.cl.exception.ContentLibraryException: Enable Download did not create download url for vm-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx-disk-1.vmdk.
            at com.vmware.cl.clsp.ClspController.downloadFile(ClspController.java:302)

Cause

Wrong entry in virtual machine's vmx file on publisher side.

Resolution

The wrong entry in virtual machine's vmx file should be removed.

1. Login VCD tenant portal on publisher side

2. Go to Content Hub --> Catalogs --> Click the catalog failed to sync --> vAPP Templates --> Click the template failed to sync --> Virtual Machines --> Click the name --> Find "Name in vSphere" in General Tab

3. Use the "Name in vSphere" to find the virtual machine in vCenter Server inventory

4. Check if ISO file is connected on this Virtual Machine, if YES, please go to step 5. if NO, please stop and contact Broadcom VCG support

5. Re-create the template without mounted ISO file in VM's vmx file.