An error occurred while performing the task Entry is too large to be added to cache, remove any unused depots when trying to Export an Image Profile
book
Article ID: 376659
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vCenter Server 7.0VMware vCenter Server 8.0
Issue/Introduction
When you click on Export from Image Builder the following error shows up: An error occurred while performing the task Entry is too large to be added to cache, remove any unused depots.
Cause
In some case, the cache is too small. (2GB) Storage cache may run out of available space when reserved space for the vSphere Auto Deploy repository starts filling up due to multiple image profiles and depots
Resolution
To solve this issue you can increase the cache from 2GB to 4GB:
Log in to the vCenter Server UI
Click on the hamburger on the top left and select Auto Deploy
Click on Configure
Click EDIT under VMware Image Builder Service section
Change the value of cacheSize_GB from 2 to 4 and restart the service.
You can also use the following commands: sed -i 's/cacheSize_GB=.*/cacheSize_GB=4/' /etc/vmware-imagebuilder/sca-config/imagebuilder-config.props service-control --restart vmware-imagebuilder