In order to have expansion operations on the Management vSphere Cluster in the Management Workload Domain, the following resolution must be executed.
Symptoms:
Any expansion operations (Add Host/vSAN Stretch Cluster/Expand vSAN Stretch Cluster) executed on the Management vSphere Cluster in the Management Workload Domain where the environment's network topology is VLAN-based AVN configured during VCF 3x4x Migration with MR1 and MR2 releases and/or ingested AVN following this KB:
https://kb.vmware.com/s/article/80864, is going to fail at "Attach VLAN Transport Zone to Host Transport Nodes" action with the following error in domainmanager.log:
2022-08-02T16:59:17.024+0000 ERROR [vcf_dm,9d0a4a46cfca44fa,0d6f] [c.v.v.c.f.p.n.a.NsxtAddHostVlanHeader,dm-exec-10] Error occurred while generating input for add hosts in nsxt environment
java.lang.NullPointerException: null
2022-08-02T16:59:17.024+0000 ERROR [vcf_dm,9d0a4a46cfca44fa,0d6f] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-10] [GL0M7C] ERROR_OCCURRED_WHILE_GENERATING_INPUT Error occurred while generating input for add hosts in nsxt environment
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Error occurred while generating input for add hosts in nsxt environment
Caused by:
java.lang.NullPointerException: null at com.vmware.vcf.common.fsm.plugins.nsxt.action.NsxtAddHostVlanHeader.execute(NsxtAddHostVlanHeader.java:218)
... 18 common frames omitted2022-08-02T16:59:17.471+0000 DEBUG [vcf_dm,9d0a4a46cfca44fa,e5d3] [c.v.e.s.c.s.a.l.LockingServiceAdapterImpl,dm-exec-12] Execution name ADD_HOST_WORKFLOW, execution ID 99ad7352-3d6b-43e7-97ab-326e4376c06e, resource type DEPLOYMENT, resource ID null.