This issue occurred with below environment:
vcsa 6.5, embedded vum,autodeploy and image builder service enabled.
- For image customization we mapped more images [ approx 2 GB] so it was not allowing to map new image, and throwing below error message
Error while Autodeploy Image... An error occurred while generating the image : Error : An error occurred while performing the task Entry is too large to be added to cache, please remove any imported depots you are not using...
- Delete the images, which are not in-use, or apply the below workaround [increase the cacheSize]
cat /etc/vmware-imagebuilder/sca-config/imagebuilder-config.propsloglevel=INFO vmomiPort=8098 httpPort=8099 cacheSize_GB=4 ls -lh /storage/imagebuilder/exports/ total 361M Go in vcsa --> Administrator-->System Configuration-->Services Restart Auto Deploy Restart ImageBuilder Service