When executing the lcm-bundle-transfer-util command with the -sddcMgrVersion option and specifying an empty --outputDirectory folder, the command fails to complete successfully.
The following error message is displayed:
"Unable to fetch index file from the depot, this is needed to fetch the bundles information {}."
This prevents the utility from retrieving the required bundle information and performing the bundle transfer operation.
VMware Cloud Foundation Download Tool 9.x
VMware Cloud Foundation 5.x
The bundle transfer utility fails because the specified --outputDirectory is empty, causing the utility to be unable to fetch the index file from the depot.
Create a tmp folder inside the specified --outputDirectory path, then re-run the lcm-bundle-transfer-util command. This allows the utility to successfully fetch the index file and proceed with the bundle transfer.
For Reference:
Suppose the intended command is: lcm-bundle-transfer-util --sddcMgrVersion 5.2.1.2 --outputDirectory /home/admin/sddc-bundles
If the folder /home/admin/sddc-bundles is empty, the command fails.
To resolve the issue, manually create a tmp folder inside the output directory: mkdir -p /home/admin/sddc-bundles/tmp
Re-run the command: lcm-bundle-transfer-util --sddcMgrVersion 5.2.1.2 --outputDirectory /home/admin/sddc-bundles
The utility now succeeds in fetching the index file and downloading the required bundles.