Download bundles are not available in SDDC manager
search cancel

Download bundles are not available in SDDC manager

book

Article ID: 412762

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

LCM depot initialization keeps spinning and never completes. No bundles are downloaded or listed for download.

Following example entries can be seen in lcm-debug and commonsvcs logs:

/var/log/vmware/vcf/lcm/lcm-debug.log

YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_lcm,05dc317eb3bece5d,4941] [c.v.e.s.l.c.s.BundleManifestDownloadScheduler,Scheduled-7] Manifest polling is not enabled
YYYY-MM-DDTHH:MIN:SEC DEBUG [vcf_lcm,b33e0c5e889ea08d,9773] [c.v.e.s.l.c.s.BundleManifestDownloadScheduler,Scheduled-7] Manifest polling is not enabled

YYYY-MM-DDTHH:MIN:SEC ERROR [vcf_lcm,05ac6054b3331ecd,c806] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7400-exec-8] [Token ID] BUNDLE_UPLOAD_NOT_FOUND Bundle Upload not found; uploadId=ed##4c
com.vmware.evo.sddc.lcm.model.error.LcmException: Bundle Upload not found; uploadId=ed##4c
        at com.vmware.evo.sddc.lcm.services.impl.BundleUploadServiceImpl.getBundleUpload(BundleUploadServiceImpl.java:283)
        at com.vmware.evo.sddc.lcm.services.impl.BundleUploadServiceImpl.getBundleUploadTask(BundleUploadServiceImpl.java:290)
        at com.vmware.vcf.lcm.rest.api.controller.internal.InternalTaskController.getBundleUploadTask(InternalTaskController.java:124)

/var/log/vmware/vcf/commonsvcs/vcf-commonsvcs.log

YYYY-MM-DDTHH:MIN:SEC ERROR [common,0000000000000000,0000] [c.v.e.s.t.services.TaskCollector,pool-2-thread-4] collect() failed
org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 :{"errorCode":"BUNDLE_UPLOAD_NOT_FOUND","arguments":[],"referenceToken":"Token ID"}"
        at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:100)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:170)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)

Environment

VCF 5.x

Cause

lcm.manifest.polling have conflicting values in either of the configuration file, application.properties or application-prod.properties. The issue can also occur if the values in both locations are set to false.

Resolution

To resolve the issue, follow below mentioned steps.

  • Take SSH session to SDDC manager and login as 'vcf' user
  • Switch to root user using 'su' command
  • Take a backup of 'application-prod.properties' file

cp <path to source> <path to destination>

Example: cp /opt/vmware/vcf/lcm/lcm-app/conf/application.properties /opt/vmware/vcf/lcm/lcm-app/conf/application.properties.bkp

  • Edit the file

vi  /opt/vmware/vcf/lcm/lcm-app/conf/application.properties

  • If the value is set as false, similar to 'application.properties:lcm.core.enableManifestPolling=false', change it to true.
  • Save the changes by performing the following:

Esc+wq!

  • Confirm that values at both locations to be true

opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties:lcm.core.enableManifestPolling=true
opt/vmware/vcf/lcm/lcm-app/conf/application.properties:lcm.core.enableManifestPolling=true

  • Restart the lcm service 

# systemctl restart lcm