How to remediate Create VI/Cluster failure when we edit Distributed Switch name in UI?
search cancel

How to remediate Create VI/Cluster failure when we edit Distributed Switch name in UI?

book

Article ID: 312075

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This article is required to allow users to create VI or cluster from UI with modified VDS name when predefined profiles are selected.


Symptoms:

Example for error message in the logs:

Domain Manager log:

Caused by:
java.lang.NullPointerException: Cannot invoke "com.vmware.evo.sddc.clustermanager.is.rest.model.spec.UplinkProfile.getTransportVlan()" because "uplinkProfile" is null

        at com.vmware.vcf.clustermanager.controller.ClusterAssembler.getGeneveVlanId(ClusterAssembler.java:1153)
        at com.vmware.vcf.clustermanager.controller.ClusterAssembler.toNsxTClusterSpec(ClusterAssembler.java:1119)
        at com.vmware.vcf.clustermanager.controller.ClusterAssembler.toClusterSpecBase(ClusterAssembler.java:768)
        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)

 

 

Environment

VMware Cloud Foundation 5.1
VMware Cloud Foundation 5.1.1

Cause

UI generates incorrect payload when user selects predefined Network profile and  modifies VDS name.

Resolution

VMware is aware of this issue and working to resolve this in a future release.


Workaround:

1. In the "Switch Configuration" page please Select "CREATE CUSTOM SWITCH CONFIGURATION" 
image.png
 

2. Click on "COPY FROM PRECONFIGURED PROFILE" and select a profile from drop down.

image.png
 

3. Edit VDS name and provide VLAN ID.