VCF Cloud Proxy 9.0.x deployment using Automation Tool or API fails with error code LCMVSPHERECONFIG1000073
search cancel

VCF Cloud Proxy 9.0.x deployment using Automation Tool or API fails with error code LCMVSPHERECONFIG1000073

book

Article ID: 445673

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Deploying VCF Cloud Proxy 9.0.x using Automation Tool or API fails with the following error:

    Request createenvironment failed with error cause [{"messageId":"LCMVSPHERECONFIG1000073",
            "message":"Error while using the ova file for deployment. Check the correctness of the file. Ensure that ova is mapped in Settings-Binary Mapping.",
            "eventId":"#######-####-####-####-#########",
            "retry":true,
            "exceptionMessage":"File : http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova not found.",
            "exceptionStackTrace":"com.vmware.vrealize.lcm.drivers.vsphere65.domain.InvalidFileException: File : http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova not found.\n\tat com.vmware.vrealize.lcm.plugin.core.vsphere.tasks.ValidateDeployInputsTask.execute(ValidateDeployInputsTask.java:399)\n\tat com.vmware.vrealize.lcm.platform.automata.service.Task.retry(Task.java:158)\n\tat com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:60)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat java.base/java.lang.Thread.run(Unknown Source)\n",
            "localizedMessageId":"VSPHERE_VALIDATEINPUTS_00002",
            "parameters":["http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova"],
            "properties":{"installerLocation":"http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova"}}]

  • The API payload is updated to install the Cloud Proxy version 9.0.2.0200.25430781.

Environment

VMware Cloud Foundation 9.0.x

Cause

  • The product version parameter (9.0.2.0.25430781) passed in the initial API payload causes the Fleet Manager (ops-lcm) deployment workflow to construct an invalid binary mapping path (vrops/9.0.2.0200/).
  • The directory structure in the repository maps to the 4-digit release version (9.0.2.0) rather than the specific build string (9.0.2.0200).
  • Because the incorrectly constructed path http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova does not exist, ValidateDeployInputsTask throws an InvalidFileException error.

Resolution

  1. Connect to the Fleet Manager appliance via SSH.

  2. Enable the Fleet Manager UI by executing the following command:
    touch /var/lib/vrlcm/UI_ENABLED

  3. Log in to the Fleet Manager UI as admin@local.

  4. Navigate to the failed VCF Operations deployment task for the cloud proxy.

  5. Click Retry and modify the task payload to correct the installerLocation URL:
    • Change from: "installerLocation" : "http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0200/install/cloudproxy.ova"
    • Change to: "installerLocation" : "http://localhost:8080/repo/productBinariesRepo/vrops/9.0.2.0/install/cloudproxy.ova"