Cluster transition from baselines to Image fails with error "Failed to inspect transport node configuration in the cluster"
search cancel

Cluster transition from baselines to Image fails with error "Failed to inspect transport node configuration in the cluster"

book

Article ID: 429073

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Cluster transition from Baselines to vSphere Lifecycle Manager Image on the SDDC Manager fails at 'Inspect TransportNode Configuration in the cluster' task with error:

    Message: Failed to inspect transport node configuration in the cluster
    Remediation Message:
    Reference Token: ######
    Cause: Cannot Invoke com.vmware.vapi.bindings.Structure_convertTo(java.lang.Class)" because the return value of "com.vmware.nsx_policy.model.HostTransportNode.getHostSwitchSpec()" is null

  • The below article is used to transition a cluster from baseline to  Lifecycle Manager Image using Powershell:
    Transitioning vSphere Lifecycle Manager Baseline Clusters to vSphere Lifecycle Manager Image Clusters Using PowerShell

  • On the SDDC Manager, in /var/log/vmware/vcf/domainmanager/domainmanager.log:

    YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm, ###############,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-6] [#####] FAILED_TO_INSPECT_CLUSTER_TN_CONFIGURATION Failed to inspect transport node configuration in the cluster
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to inspect transport node configuration in the cluster
    Caused by: java.lang.NullPointerException: Cannot invoke "com.vmware.vapi.bindings.structure.convertTo(java.lang.Class)" because the return value of "com.vmware.nsx_policy.model.HostTransportNode.getHostSwitchSpec()" is null

Environment

VMware Cloud Foundation 5.x

Cause

The Transport Node Profile (TNP) was missing for the affected cluster in NSX Manager, under System -> Fabric -> Nodes -> Host -> Transport Node Profile.

Resolution

  1. On the NSX Manager, navigate to System -> Fabric -> Profiles -> Transport Node Profiles and create a valid profile for the affected cluster using the correct VDS and Transport Zone settings.
    Refer Adding a Transport Node Profile

  2. Navigate to System -> Fabric -> Nodes -> Host Transport Nodes, select the affected Cluster, and click Configure NSX to apply the profile.
    Refer Prepare ESXi Cluster Hosts as Transport Nodes by Using TNP