VCF Offline Bundle Transfer Utility (OBTU) Tool bundle downloads from internet facing VMware by Broadcom public repositories fails with below errors . Got Http error[403] while downloading bundle [/evo/vmw/bundles/bundle-124938.tar]
Failed downloading bundle: bundle-124938.. Will retry after 5 seconds
VMware Cloud Foundation (OBTU tool)
Public facing repository URLs and authentication mechanisms are changing. Download URLs are no longer common but unique for each customer therefore will require to be re-configured.
Download the Token from Broadcom Support Portal by following the steps in VCF Authenticated downloads Configuration Update Instructions. If you already have it, apply the same by following below instructions.
Download Bundles with Bundle Transfer Utility
/opt/vmware/vcf/lcm/lcm-tools/conf/application-prod.properties
lcm.depot.adapter.host=dl.broadcom.com
lcm.depot.adapter.remote.rootDir=/<downloadToken>/PROD
lcm.depot.adapter.remote.repoDir=/COMP/SDDC_MANAGER_VCF
lcm.depot.adapter.remote.lcmManifestDir=/COMP/SDDC_MANAGER_VCF/lcm/manifest
lcm.depot.adapter.remote.bundletransferconfig.repoDir:/COMP/SDDC_MANAGER_VCF/obtu
Note: Replace <downloadToken>
with the actual downloaded token id.Setup offline depot.
-setupOfflineDepot
configure application-prod.properties
following the steps above.└── <download Token>
└── PROD
├── COMP
│ └── SDDC_MANAGER_VCF
│ ├── bundles
│ │ └── bundle-202281.tar
│ ├── Compatibility
│ │ └── VmwareCompatibilityData.json
│ ├── deltaFileDownloaded
│ ├── deltaFileDownloaded.md5
│ ├── index.v3
│ ├── lcm
│ │ └── manifest
│ │ └── v1
│ │ └── lcmManifest.json
│ ├── manifests
│ │ ├── bundle-202281.manifest
│ │ └── bundle-202281.manifest.sig
│ └── tmp
│ ├── index.v3
│ └── lcmManifest.json
└── vsan
└── hcl
├── all.json
└── lastupdatedtime.json
--offlineDepotRootDir
cp -r PROD2/evo/vmw/bundles/* <download Token>/PROD/COMP/SDDC_MANAGER_VCF/bundles/
cp -r PROD2/evo/vmw/manifests/* <download Token>/PROD/COMP/SDDC_MANAGER_VCF/manifests/
<download Token>/PROD/COMP/SDDC_MANAGER_VCF/
directory
cat <download Token>/PROD/COMP/SDDC_MANAGER_VCF/deltaFileDownloaded PROD2/evo/vmw/deltaFileDownloaded | sort | uniq > deltaFileDownloaded
cp deltaFileDownloaded <download Token>/PROD/COMP/SDDC_MANAGER_VCF/
cd <download Token>/PROD/COMP/SDDC_MANAGER_VCF/
md5sum deltaFileDownloaded | cut -d ' ' -f 1 > deltaFileDownloaded.md5