at com.vmware.vcf.clustermanager.fsm.actions.GenerateAddClusterInternalModelAndRecipeParamsAction.isNetworkTypePresentInDvsSpec(GenerateAddClusterInternalModelAndRecipeParamsAction.java:629)
at com.vmware.vcf.clustermanager.fsm.actions.GenerateAddClusterInternalModelAndRecipeParamsAction.lambda$getDvsByNetworkType$15(GenerateAddClusterInternalModelAndRecipeParamsAction.java:622)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
Environment
VCF 9.0
VCF Installer 9.0
Cause
The code is attempting to search for the NFS transport type port groups in the defined VDS list, but comes across a VDS with an empty list of port groups (which it does not expect) before it finds NFS traffic VDS.
Resolution
If initiating workflow from UI:
Input the VDS with empty list of port groups last, so that it comes after the VDSes which contain the management and NFS transport type port groups
If initiating workflow from API:
In the list of VDS specs, ensure the VDS with empty list of port groups comes last, so that it comes after the VDSes which contain the management and NFS transport type port groups