The error message "ERROR: Binaries # out of ## failed to download" appears when using the vcf-download-tool to download VMware Cloud Foundation (VCF) binaries
search cancel

The error message "ERROR: Binaries # out of ## failed to download" appears when using the vcf-download-tool to download VMware Cloud Foundation (VCF) binaries

book

Article ID: 413849

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

1. The error message "ERROR: Binaries # out of ## failed to download" appears when using the command below; some binaries are successfully downloaded, while others fail: 

vcf-download-tool binaries download --vcf-version <VCF_VERSION> --type=INSTALL --depot-store /data/<VCF_DEPOT_STORE> --depot-download-token-file /root/token.file

2. The following errors are observed in the /usr/local/log/vdt.log file:

"Failed to download binary ..." and "Error downloading bundle ..."

"Premature end of Content-Length delimited message boby (expected: ########; received: ########)"

Environment

VMware Cloud Foundation 9.x

Resolution

Ensure the virtual machine's network connectivity is established and rerun the vcf-download-tool command (Components that have already been downloaded will not be downloaded again):

vcf-download-tool binaries download -- vcf-version 9.0.1 -- automated-install -d D:\offline\bundles -depot-download-token-file=D:\offline\token.txt

(D:\offline\bundles is the sample path where the binaries are downloaded and D:\offline\token.txt file contains the token )

vcf-download-tool binaries download --vcf-version <VCF_VERSION> --type=INSTALL --depot-store /data/<VCF_DEPOT_STORE> --depot-download-token-file /root/token.file

( To download just specific binaries , vcf-download-tool-9.0.1.0.24962179\bin>vcf-download-tool binaries download -d D:\offline\bundles -depot-download-token-file D:\offline\token.txt -- vcf-version=9.0.1.0 -sku VCF -- automated-in
stall -- component NSX_T_MANAGER -- type UPGRADE

Copy the binaries to SDDC manager to upload the files , 

vcf-download-tool binaries upload -- depot-store /nfs/vmware/vcf/nfs-mount/offline -- sddc-manager-fqdn FQDN -- sddc-manager-user [email protected]

(/nfs/vmware/vcf/nfs-mount/offline is the path where the binaries are copied in SDDC )

Additional Information