Introduction When you attempt to download software bundles in VMware Cloud Foundation (VCF) SDDC Manager, the download fails with a BundleRepoWriteFailureException. This issue typically occurs due to insufficient disk space in the bundle repository or incorrect file system permissions.
Symptoms
/var/log/vcf/lcm/lcm.log file contains the following error:com.vmware.vcf.bundle.exception.BundleRepoWriteFailureException: Failed to write bundle to repository/var/lib/vcf/bundle-repo partition shows high disk utilization (e.g., 80% or higher).
vCF SDDC manager 5.x
/var/lib/vcf/bundle-repo directory has insufficient space to accommodate new bundles, often caused by accumulated old backups or large bundles.vcf_lcm user or vcf group does not have the required write permissions for the bundle repository directories./opt/vmware/vcf/lcm/lcm-app/bin/nsx_backup_cleaner.py --purge
chmod -R 775 /var/lib/vcf/bundle-repo
chown -R vcf_lcm:vcf /var/lib/vcf/bundle-repo