uploading vSAN HCL DB file (all.json) on SDDC LCM using offline bundle utility fails.
search cancel

uploading vSAN HCL DB file (all.json) on SDDC LCM using offline bundle utility fails.

book

Article ID: 410983

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Below command used for upload vsan file on the SDDC LCM,

./lcm-bundle-transfer-util --vsanHclUpload --inputDirectory /nfs/vmware/vcf/nfs-mount/vcf5.2.2_Latest/vsan/hcl --sddcMgrFqdn FQDN --sddcMgrUser Username

Below error is seen the obtu.log,


vSAN HCL upload File Path: /nfs/vmware/vcf/nfs-mount/vcf5.2.2_Latest/vsan/hcl
Exception occurred uploading vSAN HCL file: Is a directory
Exception occurred uploading vSAN HCL file : Is a directory
yyyy-mm-ddThh:mm:53.998Z INFO -- [        main]        com. vmware. vipclient. i18n. VIPCfg        : Formatting cache created.    
Formatting cache created.
yyyy-mm-ddThh:mm:53.999Z INFO -- [        main]        com. vmware. vipclient. i18n. VIPCfg        : Formatting cache created.    
Translation Cache created.
Bundle Transfer Utility Tool failed with error : Is a directory
Caused by: java. io. IOException: Is a directory

Environment

VCF 5.2

Cause

The path provided in the command belongs to the directory.

Resolution

Need to specific the file name as well, hence the complete path to the file, as like below,
/nfs/vmware/vcf/nfs-mount/vcf5.2.2_Latest/vsan/hcl/all.json