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 enabledYYYY-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##4ccom.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() failedorg.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)
VCF 5.x
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.
To resolve the issue, follow below mentioned steps.
'vcf' usersu' commandcp <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
vi /opt/vmware/vcf/lcm/lcm-app/conf/application.properties
application.properties:lcm.core.enableManifestPolling=false', change it to true.Esc+wq!
opt/vmware/vcf/lcm/lcm-app/conf/application-prod.properties:lcm.core.enableManifestPolling=trueopt/vmware/vcf/lcm/lcm-app/conf/application.properties:lcm.core.enableManifestPolling=true
# systemctl restart lcm