Error in SDDC UI - Remove AZ2 NSX uplink profiles "Invalid parameter: uplinkProfileId cannot be null"
search cancel

Error in SDDC UI - Remove AZ2 NSX uplink profiles "Invalid parameter: uplinkProfileId cannot be null"

book

Article ID: 403194

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Un-stretching vSAN Cluster fails with following errors in SDDC UI

Description Gather the AZ2 uplink profile for removal
Progress Messages Unable to get input for NSX configuration

Error

Message: Unable to get input for NSX configuration

 

Description

Remove AZ2 NSX uplink profiles

Progress Messages

Invalid parameter: uplinkProfileId cannot be null

Error

Invalid parameter: uplinkProfileId cannot be null

Error

Message: Invalid parameter: uplinkProfileId cannot be null

Remediation Message:

 

Environment

VCF 5.2

Cause

The failure is caused by mismatched uplink and portgroup profile names, resulting from code differences between VCF versions 4.x and 5.x.
In VCF 5.x, the changes to profile naming conventions are hardcoded, which leads to failures if the expected naming pattern is not present.

Resolution

Un-Stretch Failure – Workaround

Issue 1: Portgroup Not Found (Unable to get input for NSX configuration)

  1. Log in to vCenter.

  2. Navigate to the affected host and go to the Network tab.

  3. Identify all connected portgroups on the impacted host.

  4. Rename each portgroup by adding the prefix az_ to the existing name.
    (Example: az_<existing-portgroup-name>)

  5. Retry the Un-Stretch Workflow from SDDC Manager.

 

Issue 2: Uplink Profile Not Found (uplinkProfileId cannot be null)

  1. Log in to the NSX Manager.

  2. Navigate to: System > Fabric > Hosts, and locate the AZ2 hosts.

  3. Click Configure on one of the hosts and click Next to view the current uplink profile name.

  4. Then go to: System > Fabric > Profiles > Uplink Profiles.

  5. Rename the relevant uplink profile by adding the prefix az2_ to the existing name.
    (Example: az2_<existing-profile-name>)

  6. Retry the Un-Stretch operation in SDDC Manager.