During Addition or commissioning of new VMware vSphere ESX host 9.x to an SDDC Management cluster with NFS as the primary storage, the workflow fails during the "Create NFS vmknic(s) on ESXi Host" sub-task.
Message: A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.
Reference Token: ####
Cause: java.lang.reflect.InvocationTargetException Vds not found for portgroup type NFS
The SDDC Manager logs at the location /var/log/vmware/vcf/domainmanager/domainmanager.log file shows the vMotion VMkernel port creates successfully, but fails when configuring the NFS VMkernel port:
INFO [vcf_dm,####,####] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-##] Creating vmotion vmknic on host host-#### attached to DvSwitch #### with IP address ####
INFO [vcf_dm,####,####] [c.v.e.s.c.c.v.vsphere.VcManagerBase,dm-exec-##] Vmknic vmk# created on DistributedVirtualPort dvportgroup-####
INFO [vcf_dm,####,####] [c.v.v.c.f.p.a.i.BaseCreateVmknicsAction,dm-exec-##] Succesfully created VMOTION vmknics under DvSwitch dvs-####
DEBUG [vcf_dm,####,####] [c.v.e.s.o.c.ProcessingTaskSubscriber,dm-exec-#] Invoking task CreateNfsVmknicsAction.PREVALIDATE Description: Create NFS vmknic(s) on ESXi Host, Plugin: DvsNetworkingPlugin, ParamBuilder com.vmware.vcf.hostmanager.adapters.CreateNfsVmknicsParamBuilder, Input map: null, Id: ####
INFO [vcf_dm,####,####] [c.v.v.h.a.c.HostManagerParamBuilderClient,dm-exec-#] Vmknic type NFS
ERROR [vcf_dm,####,####] [c.v.e.s.o.c.ProcessingTaskSubscriber,dm-exec-#] method invocation target not found
java.lang.reflect.InvocationTargetException: null
Caused by: java.util.NoSuchElementException: Vds not found for portgroup type NFS
ERROR [vcf_dm,####,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-#] [####] VCF_ERROR_INTERNAL_SERVER_ERROR Param Building for prefix 'preValidate' part of task CreateNfsVmknicsAction in plugin DvsNetworkingPlugin failed with exception.
The transportType="NFS" metadata is missing from the SDDC Manager database for the target vSphere Distributed Switch (vDS).
SDDC Manager maintains an internal PostgreSQL database (platform) that tags VMware vCenter Server port groups with specific roles. When a host is added, SDDC queries this database to identify the correct port group for storage traffic routing.
This issue is resolved in VMware Cloud Foundation 9.0.1.
Workaround
If an immediate upgrade is not possible, the missing NFS port group metadata can be manually restored in the SDDC Manager database. To ensure this is implemented, engage Broadcom Technical Support to perform this remediation. See Contact Broadcom Support