Modified Tier-0 Gateway name does not appear correctly when creating a Supervisor Namespace on the vSphere UI.
search cancel

Modified Tier-0 Gateway name does not appear correctly when creating a Supervisor Namespace on the vSphere UI.

book

Article ID: 381398

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 8.0 vSphere with Tanzu

Issue/Introduction

  • The modified or renamed Tier-0 gateway name from NSX-T does not appear correctly when creating a supervisor namespace on the vCenter Server UI.
  • There are no issues with a newly created Tier-0 gateway which is not renamed.
  • Restarting WCP and VPXD services from vCenter, or restarting the NCP deployment do not resolve the issue

Environment

  • vCenter Server 7.x
  • vCenter Server  8.x
  • vSphere Kubernetes Service

Cause

As part of the workflow, the vSphere UI references the Tier-0 gateway name, but NSX-T only modifies the display name when renaming the Tier-0 gateway from the NSX Manager. vCenter is not aware of this change which leads to the display inconsistency.

Resolution

There are workarounds available for vCenter 7.x and vCenter 8.x as follows.

Workaround 1: Using Developer Tools in a Web Browser

  1. Open the Developer Tools tab on the Browser.
  2. Invoke the Create Namespace wizard from VC UI
  3. Navigate to the Network Settings page
  4. In the Developer Tools tab of the browser, go to the Network tab and filter the requests by nsx_t0_gateways.
  5. Go to the Response tab and check the values of tier0gateway and displayName to identify the correct T0 gateway.

 

Workaround 2: Using dcli Command

  1. SSH in to the vCenter and run below command to get the Distributed Switch ID

    root@vcenter [ ~ ]# dcli com vmware vcenter namespacemanagement networks nsx distributedswitches list

    Username: [email protected]
    Password: <Enter the password>

    |---------|-----------------------------------------------|
    |name     |distributed_switch                             |
    |---------|-----------------------------------------------|
    |<name>   |50 ## 44 ## 19 ## e4 ##-b8 ## a0 ## 74 ## ac ##|
    |---------|-----------------------------------------------|

  2. Run the below command to get the tier0_gateway name as follows

    root@vcenter [ ~ ]# dcli com vmware vcenter namespacemanagement nsxtier0gateway list --distributed-switch "50 ## 44 ## 19 ## e4 ##-b8 ## a0 ## 74 ## ac ##"

    Username: [email protected]
    Password: **********

    |----------------------|--------------------|-----------|-------------|------------|
    |path                  |parent_tier0_gateway|description|tier0_gateway|display_name|
    |----------------------|--------------------|-----------|-------------|------------|
    |/infra/tier-0s/<Name> |                    |           |<Name>       |<Name>      |
    |----------------------|--------------------|-----------|-------------|------------|