VCF 9.x deployment validation fails with error NSX install image for version 9.x was not found
search cancel

VCF 9.x deployment validation fails with error NSX install image for version 9.x was not found

book

Article ID: 429892

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • During the “Validate & Deploy” phase of a VMware Cloud Foundation (VCF) 9.x fleet deployment, validation may fail under the Existing Components section.



  • This usually happens when the VCF Installer is unable to find the required NSX Manager installation bundle for the vCenter Server being imported.
  • Under VCF Installer's /var/log/vmware/vcf/domainmanager/domainmanager.log, below log snippets are found:

    YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,##############,####] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7200-exec-#]  Handler Error Response: {"errorCode":"VCF_ERROR_INTERNAL_SERVER_ERROR","arguments":[],"message":"A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.","causes":[{"type":"com.vmware.vcf.vault.error.SddcManagerCommonVaultException","message":"Bad Request sent."}],"referenceToken":"#####"}
    YYYY-MM-DDTHH:MM:SS INFO  [vcf_dm,##############,####] [c.v.v.v.controller.VaultController,http-nio-127.0.0.1-7200-exec-#]  Getting secret for id c0a8441e-####-####-####-############
    YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm,##############,####] [c.v.v.v.controller.VaultController,http-nio-127.0.0.1-7200-exec-#]  Failed to get secret for id c0a8441e-####-####-####-############ com.vmware.vcf.vault.error.SddcManagerCommonVaultException: Bad Request sent.
            at com.vmware.vcf.vault.services.impl.VaultService2Internal.getSecret(VaultService2Internal.java:63)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

Environment

VCF Installer 9.x

Cause

  • The issue is caused by a mismatch or missing metadata in the deployment specification.
  • Even if the NSX bundle is present in the SDDC Manager, the VCF Installer may fail to associate the specific execution ID with the required workflow specs, particularly if previous failed attempts left stale configurations or if the workflow.json file does not contain the necessary greenfield/brownfield specs for the NSX deployment.

Resolution

To resolve this issue, follow below options:

  1. Perform standard remediation steps. For more information, refer Downloading Binaries to VCF Installer
  2. If Option 1 fails, then update NSX field under manifest.json file. For more information, refer VCF 9.0.x Deployment fails with VCF Installer 9.0.x with error - NSX install image validation failed for NSX Version
  3. If still the issue persists, then perform a clean installation to ensure no stale identifiers conflict with the validation process.