Uploading manifest file to LCM fails using OBTU VCF 5.2
search cancel

Uploading manifest file to LCM fails using OBTU VCF 5.2

book

Article ID: 381165

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

  • Uploading manifest file to LCM fails when using Bundle transfer utility
  • lcmManifest.json is present in location "/home/vcf/manifest
  • Below is the syntax and exception occurred uploading manifest file to LCM.

     root@sddc01 [ /opt/vmware/vcf/lcm/lcm-tools/bin ]# ./lcm-bundle-transfer-util --update --sourceManifestDirectory /home/vcf/manifest/ --sddcMgrFqdn sddc01.labs.local --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 <sddc01.labs.local> 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.07-24108578
    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

    2024-10-17T09:24:14.309+0000 [main] DEBUG [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtilityUploader] Fetched supported lcm manifest version:1
    2024-10-17T09:24:14.309+0000 [main] ERROR [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility] Uploading the manifest file from the directory:/home/vcf/manifest/ failed. Please verify the logs
    2024-10-17T09:24:14.318+0000 [main] ERROR [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility] Exception occurred uploading manifest file to LCM. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<-------------------------------------------
    2024-10-17T09:24:14.357+0000 [main] ERROR [com.vmware.evo.sddc.lcm.tools.bundletransfer.BundleTransferUtility] Bundle Transfer Utility Tool failed with error : LCM Manifest upload failed.

Environment

VMware Cloud Foundation 5.x

Cause

OBTU is trying to find the file in a specific file structure that is built during the download workflow.

Validate if lcmManifest.json file is located under  ==> /home/vcf/manifest/lcm/manifest/v1/lcmManifest.json


Resolution

To resolve the issue, 

  1. Create the below directories in the location ==> /home/vcf/manifest/

    mkdir lcm -> manifest -> v1

  2. Copy the lcmManifest.json in the following location  /home/vcf/manifest/lcm/manifest/v1/

  3. Execute the command to upload the manifest file . 

    root@sddc01 [ /opt/vmware/vcf/lcm/lcm-tools/bin ]# ./lcm-bundle-transfer-util --update --sourceManifestDirectory /home/vcf/manifest/ --sddcMgrFqdn sddc01.labs.local --sddcMgrUser
    [email protected]