vSphere Auto Deploy server uses the repository to store data comprising the rulesets and image profiles. Each image profile requires approximately 400 MB of cache space. By default, the allocation is 2 GB to have enough room for image profiles.
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.
In order to resolve the issue, increase the cachesize of Image Builder using either of the below options
Option 1 - Using GUI:
Auto Deploy
Configure
EDIT
under VMware Image builder
service sectioncacheSize_GB
from 2 to 4Save
to apply the changeOption 2 - Using Command Line
sed -i 's/cacheSize_GB=.*/cacheSize_GB=4/' /etc/vmware-imagebuilder/sca-config/imagebuilder-config.props
service-control --restart vmware-imagebuilder
In some cases, changing the cacheSize value to 6 GB is required depending on the vSphere AutoDeploy repository size.