The Avi bundle upload by the vcf_tools.sh command succeeds on the command line, but fails in the SDDC Manager task with "Could not create Bundle Download for filePath = /home/vcf/avi".
The following message is recorded in the lcm-debug.log of SDDC Manager.
com.vmware.evo.sddc.lcm.model.bundle.repo.exception.BundleRepoWriteFailureException: Could not create Bundle Download for filePath = /home/vcf/aviCaused by: java.lang.RuntimeException: Cannot get the SHA256 hash for file /home/vcf/avi/controller-XX.X.X-XXXX.ovaCaused by: java.io.FileNotFoundException: /home/vcf/avi/controller-XX.X.X-XXX.ova (Permission denied)
SDDC Manager 9.0.1
Reading by the internal service of SDDC Manager fails when the permission of the source ova file is read and write only for the owner as follows.
$ ls -l controller-XX.X.X-XXXX.ova-rw------- 1 vcf vcf XXXXXXXXXX MMM DD HH:MM controller-XX.X.X-XXXX.ova
Before uploading, change the permission setting as follows.
chmod 664 controller-XX.X.X-XXXX.ova
If the upload has already failed, connect to SDDC Manager with ssh, switch to root, and execute the following command.
chmod 664 /home/vcf/avi/controller-XX.X.X-XXXX.ova
Try the Avi bundle upload by the vcf_tools.sh command.
Note: For controller-XX.X.X-XXXX.ova, specify the ova file to be uploaded.
Avi Load Balancer- VMware Cloud Foundation - Planning and Preparation
https://techdocs.broadcom.com/us/en/vmware-security-load-balancing/avi-load-balancer/avi-load-balancer-vmware-cloud-foundation/9-0/deploying-avi-load-balancer-in-vcf/prerequisites.html
Japanese version of this KB : https://knowledge.broadcom.com/external/article/427032