Error: LR port creation failed during Service Mesh creation - HCX
search cancel

Error: LR port creation failed during Service Mesh creation - HCX

book

Article ID: 446376

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • Service Mesh Creation failed and the IX Appliance is in Unknown State.
  • IP address assigned dp-management Interface is not reachable from the HXC Manager CLI.
  • Service Mesh creation fails with an "Internal Server Error". The following error is visible in the HCX Manager /common/logs/admin/app.log
    YYYY-MM-DDTHH:MM:SS.sssZ ERROR hcx-app-engine 2489 [hcx@4413 logger="c.v.v.h.s.i.InitiateServiceMeshOperation" thread="InterconnectService_SvcThread-4796" ent="J:d0####79" user="" txid="b7######-####-####-####-##########ed"] processServiceMesh failed, errorCode:null. stacktrace:null, errorMessage:Process Service Mesh failed. Interconnect Service Workflow ConfigureIXEdge failed. Error: LR port creation failed: Failed to create logical router port for management-dp_uplink network of appliance with name HCX-#####-IXE-R1, ID e1######-####-####-####-##########78. Error - Internal Server Error. Cause: Failed to create logical router port for management-dp_uplink network of appliance with name HCX-#####-IXE-R1, ID e1######-####-####-####-##########78. Error - Internal Server Error, LR port creation failed: Failed to create logical router port for management-dp_uplink network of appliance with name HCX-#####-IXE-I1, ID 1e######-####-####-####-##########88. Error - Internal Server Error. Cause: Failed to create logical router port for management-dp_uplink network of appliance with name HCX-#####-IXE-I1, ID 1e######-####-####-####-##########88. Error - Internal Server Error

Environment

VCF Operations HCX 9.1

Cause

This issue occurs when Network Profiles associated with the Service Mesh are configured with overlapping IP subnet ranges. The overlap prevents the HCX Manager from successfully assigning an IP address to the management-dp_uplink interface of the IX appliance, causing the Logical Router (LR) port creation to fail.

Resolution

Reconfigure the Network Profiles  to ensure there are no overlapping IP ranges or subnets between different profiles at either the source or destination sites.

  1. Log in to the HCX Manager UI.
  2. Navigate to Interconnect > Network Profiles.
  3. Review each profile to ensure that IP ranges do not overlap within the same CIDR block.
  4. Update the profiles with unique, non-overlapping IP ranges.
  5. Redeploy the Service Mesh.

Kindly refer to document Create a Network Profile for more information related to Network Profile creation.

Note: Ensure MTU settings are consistent (e.g., 9000) across the Network Profiles and Service Mesh configuration if jumbo frames are required for migration performance.