Unable to add vXrail hosts to sddc cluster in worklaod domain with error "Gather input to add host to NSX Fabric and migrate networking from DVS to NVDS"
search cancel

Unable to add vXrail hosts to sddc cluster in worklaod domain with error "Gather input to add host to NSX Fabric and migrate networking from DVS to NVDS"

book

Article ID: 402156

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

While adding vXrail host to workload domain cluster fails with below error:

Adding new host(s) to VxRail cluster <Cluster name>

Gather input to add host to NSX Fabric and migrate networking from DVS to NVDS

Gather input to add host to NSX Fabric and migrate networking from DVS to NVDS
Error occurred while generating input for adding new host(s) in NSX environment
Message: Error occurred while generating input for adding new host(s) in NSX
environment
Remediation Message:
Reference Token: US35UL
Cause: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>

 

sddc /var/log/vmware/vcf/domainmanager/domainmanager.log:

Caused by: java.lang.IllegalStateException: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
Caused by: java.lang.IllegalStateException: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
Caused by: java.lang.IllegalStateException: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
Caused by: java.lang.IllegalStateException: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>

YYYY-MM-DDTHH:MM:SS.DEBUG [vcf_dm,6846a84324f4ff2875b36f5d078e4c5d,513d] [c.v.v.c.n.s.c.c.ApiConnection,dm-exec-12] Closed ApiClient connection.
YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm,6846a84324f4ff2875b36f5d078e4c5d,513d] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-12] [HS3KHO] ERROR_OCCURRED_WHILE_GENERATING_INPUT_FOR_ADD_HOST ERROR_OCCURRED_WHILE_GENERATING_INPUT_FOR_ADD_HOST
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: ERROR_OCCURRED_WHILE_GENERATING_INPUT_FOR_ADD_HOST
        at com.vmware.vxrail.vcf.hostmanager.action.vcf31100.VxRailNsxtAddHostHeader.execute(VxRailNsxtAddHostHeader.java:580)
        at com.vmware.vxrail.vcf.hostmanager.action.vcf31100.VxRailNsxtAddHostHeader.execute(VxRailNsxtAddHostHeader.java:78)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionState.invoke(FsmActionState.java:62)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:159)
        at com.vmware.evo.sddc.orchestrator.platform.action.FsmActionPlugin.invoke(FsmActionPlugin.java:144)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:400)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:520)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:124)
        at jdk.internal.reflect.GeneratedMethodAccessor2263.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
        at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
        at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:59)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.IllegalStateException: Unable to find any hostswitch in the Transport node with Id: <xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
        at com.vmware.vxrail.vcf.hostmanager.action.vcf31100.VxRailNsxtAddHostHeader.lambda$execute$11(VxRailNsxtAddHostHeader.java:302)
        at java.base/java.util.Optional.orElseThrow(Optional.java:403)
        at com.vmware.vxrail.vcf.hostmanager.action.vcf31100.VxRailNsxtAddHostHeader.execute(VxRailNsxtAddHostHeader.java:299)
        ... 16 common frames omitted
YYYY-MM-DDTHH:MM:SS DEBUG [vcf_dm,6846a84324f4ff2875b36f5d078e4c5d,513d] [c.v.e.s.o.c.ProcessingTaskSubscriber,dm-exec-12] Collected the following errors for task with name VxRailNsxtAddHostHeader and ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: [ExecutionError [errorCode=null, errorResponse=LocalizableErrorResponse(messageBundle=com.vmware.vcf.common.fsm.plugins.nsxt.messages)]]

Environment

SDDC Manager

VCF 5.2.X.X

Cause

With the release of VMware NSX 4.0. N-VDS is not supported for ESXi hosts,

When upgraded to NSX-T to later versions, it could leave stale entries for these NVDS.

Resolution

Identify the TransportNodeProfiles with NVDS switch which are not in use.

Using NSX-UI, Delete TransportNodeProfiles with NVDS switch.

Restart failed host add task from SDDC manager.

Additional Information

If need assistance to identify TransportNodeProfiles with NVDS switch which are not in use, connect with NSX-T team on a support case.