Could not find downloaded bundle for SDDC_MANAGER upgrade
search cancel

Could not find downloaded bundle for SDDC_MANAGER upgrade

book

Article ID: 403875

calendar_today

Updated On:

Products

VMware SDDC Manager VMware Cloud Foundation

Issue/Introduction

When upgrading SDDC Manager from 5.2 to 9.0, the "Upgrade bundle download status" Pre-check fails, reporting the error, 

Could not find downloaded bundle for SDDC_MANAGER upgrade to version 9.0.0.0 24703748

 

Log file, /var/log/vmware/vcf/lcm/lcm-debug.log lists the following error,

YYYY-MM-DDT01:16:36.155+0000 ERROR [vcf_lcm,0000000000000000,0000,bundleId=97e77a83-03c2-4ccd-bcd4-4289cf76eb00] [c.v.e.s.l.s.impl.BundleServiceImpl,Bundle-Downloader-1] Patch corresponding to component SDDC_MANAGER_VCF, version 9.0.0.0-24703748 and imageType PATCH not found in PVC table.

YYYY-MM-DDT01:16:36.157+0000 ERROR [vcf_lcm,0000000000000000,0000] [c.v.e.s.l.s.i.BundleDownloadExceptionHandlerImpl,Bundle-Downloader-1] Bundle download failed com.vmware.evo.sddc.lcm.model.error.LcmException: Bundle corresponding to product SDDC_MANAGER_VCF, version 9.0.0.0-24703748 and image type PATCH is missing in product version catalog table.
        at com.vmware.evo.sddc.lcm.services.impl.BundleServiceImpl.convertToDedupBundle(BundleServiceImpl.java:554)
        at com.vmware.evo.sddc.lcm.services.impl.BundleServiceImpl.updateAndGetReconciledDedupBundle(BundleServiceImpl.java:363)
        at com.vmware.evo.sddc.lcm.core.scheduler.BundleDownloadScheduler.performBundleDownload(BundleDownloadScheduler.java:401)
        at com.vmware.evo.sddc.lcm.core.scheduler.BundleDownloadScheduler.lambda$bundleDownloadTask$0(BundleDownloadScheduler.java:286)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        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)

Environment

VMware SDDC Manager 5.x

VMware Cloud Foundation 9.0

Resolution

  1. Get the bundle ID that needs to be cleaned up.

    For example: Bundle ID is 97e77a83-03c2-4ccd-bcd4-4289cf76eb00 in the below log excerpt

    Log file: /var/log/vmware/vcf/lcm/lcm-debug.log
    YYYY-MM-DDT01:16:36.155+0000 ERROR [vcf_lcm,0000000000000000,0000,bundleId=97e77a83-03c2-4ccd-bcd4-4289cf76eb00] [c.v.e.s.l.s.impl.BundleServiceImpl,Bundle-Downloader-1] Patch corresponding to component SDDC_MANAGER_VCF, version 9.0.0.0-24703748 and imageType PATCH not found in PVC table.
  2. Use the bundle_cleanup.py script to clean up the bundle download information.

    For example: 
    $> python /opt/vmware/vcf/lcm/lcm-app/bin/bundle_cleanup.py 97e77a83-03c2-4ccd-bcd4-4289cf76eb00
    
    ----------------------------------------------------
    LOG FILE: /var/log/vmware/vcf/lcm/bundle_cleanup.log
    ----------------------------------------------------
    
    YYYY-MM-DD 02:40:57,564 [INFO] root: Performing cleanup for bundle with IDs : ['97e77a83-03c2-4ccd-bcd4-4289cf76eb00']
    YYYY-MM-DD 02:40:58,876 [INFO] root: Bundle cleanup complete.

     

  3. Download the bundle in SDDC Manager and retry the Pre-check.

Additional Information