VCF Operations inventory sync fails with duplicate key uplink-profile error
search cancel

VCF Operations inventory sync fails with duplicate key uplink-profile error

book

Article ID: 460151

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

During inventory synchronization between SDDC Manager and NSX-T, the task to create uplink host switch profiles terminates with an execution failure.

You observe the failure within the SDDC Manager user interface during the "Create Uplink Host Switch Profiles per DVS" task, displaying the following error details:

Description: Create Uplink Host Switch Profiles per DVS
Progress Messages: A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.
Error Message: A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.
Remediation Message:
Reference Token: ####
Cause: Duplicate key uplink-profile.# (attempted merging values #### and ####)

 

Environment

  • VMware Cloud Foundation 9.1.x

  • NSX-T 9.1.x

Cause

The domain manager inventory sync workflow fails because two distinct, active host switch profiles in NSX-T share the exact same display name (such as uplink-profile.#). Both profiles are active and bound to separate vSphere Distributed Switches.

When VCF Operations executes discovery to build its internal object map, it keys these objects by their profile name. The duplicate name causes an unhandled merge exception, which halts the workflow.

Resolution

To resolve this issue, you must recreate the duplicate uplink profiles with unique names in NSX-T.

  1. Log in to the NSX-T Manager user interface.

  2. Navigate to the uplink profiles section and identify each profile that shares the duplicate display name.

  3. Note the configuration and attached uplinks for each profile.

  4. Create new uplink profiles using unique names.

  5. Attach the appropriate uplinks to the newly created profiles.

  6. Delete the original uplink profiles that contained the duplicate names.

  7. Log in to VCF Operations and run the inventory sync again to validate the error no longer occurs.