VCF Offline Depot connectivity fails due to application-prod.properties path configuration
search cancel

VCF Offline Depot connectivity fails due to application-prod.properties path configuration

book

Article ID: 450638

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

Connectivity issues with the VCF offline depot may result in bundle download failures, such as BundleNotFoundException, or 404 errors when accessing OVA binaries or upgrade images. This article provides steps to verify and correct path configurations in the SDDC Manager Lifecycle Management service that prevent successful bundle synchronization.

  • Bundle download failures in SDDC Manager.
  • BundleNotFoundException: Bundle with ID was not found in Software depot in logs.
  • 404 Not Found error when the SDDC Manager attempts to access depot content via the defined root directory.

Environment

  • VMware Cloud Foundation (VCF) 9.x
  • SDDC Manager

Cause

The lcm.depot.adapter.remote.v2.rootDir parameter in the application-prod.properties file is misconfigured or previously modified during deployment. Incorrect formatting (e.g., lcm.depot.adapter.remote.v2.rootDir=/<location>/PROD/) prevents the LCM service from resolving the correct URL path to the depot repository.

Resolution

  1. Take a snapshot of SDDC Manager.
  2. Log in to the SDDC Manager via SSH.
  3. Navigate to the configuration directory:

    cd /opt/vmware/vcf/lcm/lcm-app/conf/
  4. Open application-prod.properties using a text editor.
  5. Locate the parameter lcm.depot.adapter.remote.v2.rootDir.
  6. Correct the path value to remove redundant slashes. Ensure it follows this format:

    lcm.depot.adapter.remote.v2.rootDir=/PROD/

  7. Save the file and exit the editor.

    Press ":
    Press "wq" and then press "ENTER" to save.
  8. Restart the Lifecycle Management services to apply the changes:

    systemctl restart lcm

  9. Verify bundle synchronization in the SDDC Manager UI.