Unable to upload Aria LCM bundle to SDDC Manager, failing with the error: Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.
search cancel

Unable to upload Aria LCM bundle to SDDC Manager, failing with the error: Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.

book

Article ID: 401870

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • Unable to upload Aria LCM bundle to SDDC Manager, failing with the error: Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.

root@sddc01 [ /opt/vmware/vcf/lcm/lcm-tools/bin ]# ./lcm-bundle-transfer-util --update --sourceManifestDirectory /home/vcf/manifest/ --sddcMgrFqdn sddc_fqdn --sddcMgrUser [email protected]
*********Welcome to OBTU tool***********

Make sure to download the most recent metadata files and upload them to the SDDC Manager appliance before
downloading bundles. If you do not have the most recent metadata files, the metadata for most recent upgrades will be
missing and will impact the upgrades. The following metadata files are required: LCM manifest and VMware compatibility
data (For 5.0 or upgrade to 5.0), vSAN HCL data (For 5.1 or upgrade to 5.1). VxRail requires these additional metadata files:
VxRail compatibility data (For 5.0 or upgrade to 5.0) and partner bundle manifest (PBM).
https://docs.vmware.com/en/VMware-Cloud-Foundation/5.0/context?id=vcf_451\n
please confrim this is the right finger print sha256 Fingerprint=46:F9:###########################Y/N Y
keytool error: java.lang.Exception: Alias <sddc_fqdn> does not exist
Certificate was added to keystore
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
Please acknowledge that the above requirements are met and press [Y/N] to continue: Y
VMware Cloud Foundation LCM Bundle Transfer Tool, Version: 2024.10-24352717
Uploading manifest file
Enter SDDC Manager User password:
Manifest File Path: /home/vcf/manifest/lcm/manifest
Setting base path - sddc01.labs.local
Uploading the manifest file from the directory:/home/vcf/manifest/ failed. Please verify the logs
Exception occurred uploading manifest file to LCM.
2024-10-18T06:57:25.716Z INFO --- [ main] com.vmware.vipclient.i18n.VIPCfg : Formatting cache created.
Formatting cache created.
2024-10-18T06:57:25.721Z INFO --- [ main] com.vmware.vipclient.i18n.VIPCfg : Translation Cache created.
Translation Cache created.

Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.

  • /var/log/vmware/vcf/lcm/tools/debugtool/tmp/debuglog/lcmdebug.log

yyyy-mm-ddThh:mm:ss.sss+0000 [main] INFO [c.v.e.s.c.c. 1.1.LogLayoutWithHeader] &X{placeHolder} THIS LOG FILE IS MANAGED BY SDDC MANAGER
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. bundle. download. depot . utils. BundleUtils]
List of not supported products : PKS, HORIZON, NSX_MANAGER
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. bundle. download. depot . DepotBundleDownloadServiceImpl]
Creating local manifest directory: /root/PROD2/evo/vmw/tmp/manifests
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. bundle . download. depot . DepotBundleDownloadServiceImpl]
Creating local bundle directory: /root/PROD2/evo/vmw/tmp/bundles
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware . evo. sddc. 1cm. tools. asyncpatch.AsyncPatchConfigProperties]
Added ESX HOST to supportBundleSoftwareType
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools.asyncpatch. AsyncPatchConfigProperties]
Added NSX T MANAGER to supportBundleSoftwareType
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools. asyncpatch. AsyncPatchConfigProperties]
Added VCENTER to supportBundleSoftwareType
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools.asyncpatch.AsyncPatchConfigProperties]
Adding VXRAIL to supportBundleSoftwareType
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools. common. WarningsDisplayUtil]
Loaded warning message map file: WarningMessageMap. json
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools. common. WarningsDisplayUtil]
Skip warnings: []
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools . common. WarningsDisplayUtil]
Include warnings: []
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools . common. ConsoleUtil]
trial 1/3
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools . common. WarningsDisplayUtil]
Customer acknowledged to proceed.
yyyy-mm-ddThh:mm:ss.sss+0000 [main] DEBUG [com. vmware. evo. sddc. 1cm. tools.bundletransfer. BundleTransferUtilityUploader]
Fetched supported 1cm manifest version:1
yyyy-mm-ddThh:mm:ss.sss+0000 [main] ERROR [com. vmware. evo. sddc. 1cm. tools.bundletransfer. BundleTransferUtility]
Uploading the manifest file from the directory:/home/vcf failed. Please verify the logs
yyyy-mm-ddThh:mm:ss.sss+0000 [main] ERROR [com. vmware. evo. sddc. 1cm. tools.bundletransfer. BundleTransferUtility]
Exception occurred uploading manifest file to LCM.
yyyy-mm-ddThh:mm:ss.sss+0000 [main] ERROR [com. vmware. evo. sddc. 1cm. tools.bundletransfer.BundleTransferUtility]
Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.

 

  •  While trying to upload the bundle using the below command:

# curl -X POST http://127.0.0.1/lcm/bundle/upload -d '{"bundle":"/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.tar","manifest":"/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.manifest","signature":"/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.manifest.sig"}' -H 'Content-Type:application/json'

The output stated that there were issues with the permissions for the files:

    • {"status": 500, "code": "Internal Server Error", "message": "INSUFFICIENT_BUNDLE_READ_PERMISSIONS; /nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.manifest file can not read
      by LCM due to insufficient permissions. vcf_lcm user must have read and write access to /nfs/vmware/vcf/nfs-mount/bundles directory or upload bundle files from any dir
      ectory where vcf_lcm user have read and write access. "}

Environment

SDDC Manager 5.2.1

Resolution

  • Verify each folder within the directory /opt/vmware/vcf/lcm/lcm-tools/bin to ensure that the required permissions are correctly set and that no folder is missing necessary permissions
    • For example we see from the below that the lcm folder did not have the right permissions:
  • If there is any permission related issue, give the right ownership to the folder using the command:  chown -R vcf:vcf 
  • After making the above changes we see that the upload went through: 

root@XXXr [ /nfs/vmware/vcf/nfs-mount/bundles ]# curl -X POST http://127.0.0.1/1cm/bundle/upload -d '{"bundle": "/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.ta
r", "manifest": "/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.manifest", "signature":"/nfs/vmware/vcf/nfs-mount/bundles/bundle-120815.manifest. sig"}' -H 'Content-Type: a
pplication/json'
{"uploadId": "fe6f730c-94d8-46cd-9255-f129a4bdc447", "bundleId": "a41faebe-c1d7-4beb-88ae-8bd6ffcfea87", "status": "VALIDATING", "startTime": 1750150022649}

  • Reboot the SDDC Manager if the uploaded bundle doesn't reflect on the SDDC Manager UI