HCX Network Extension creation fails due to a failed NSX-T request
search cancel

HCX Network Extension creation fails due to a failed NSX-T request

book

Article ID: 391930

calendar_today

Updated On:

Products

VMware HCX VMware NSX

Issue/Introduction

When stretching a network from one HCX site to another, the operation fails with an Internal server error. The operation then rolls back.

In the HCX manager logs, you see messages similar to below:

Failed NSX-T Request and Internal server error messages

35167:2025-03-19 21:22:14.330 UTC [NetworkStretchService_SvcThread-29, j: d785a384, s: 53fc4ebb, , TxId: ########-####-####-####-############] ERROR c.v.v.h.n.i.AbstractJobInt- NetworkStretchJobs workflow BridgeNetworksJobInt failed. Error: Failed NSX-T request : {    "url": "https://x.x.x.x/api/v1/switching-profiles",    "method": "GET" } Got response : {    "status": "failure",    "statusCode": 500,    "details": "",    "result": {       "module_name": "common-services",       "error_message": "Internal server error has occurred.",       "details": "Request processing failed; nested exception is com.vmware.nsx.management.common.exceptions.InvalidArgumentException: Invalid sort key, key: create_time",       "error_code": 99    } }


Error Encountered in Network Stretch job

35169:2025-03-19 21:22:14.331 UTC [NetworkStretchService_SvcThread-29, j: d785a384, s: 53fc4ebb, , TxId: ########-####-####-####-############] ERROR c.v.v.h.n.i.NetworkStretchJobInt- Error encountered in Network Stretch job

Running in state ROLLBACK

35183:2025-03-19 21:22:14.345 UTC [NetworkStretchService_SvcThread-22, j: d785a384, s: 53fc4ebb, , TxId: ########-####-####-####-############] INFO  c.v.v.h.n.i.NetworkStretchJobInt- Running in state ROLLBACK

Environment

VMWare HCX 4.10

VMWare NSX 4.x

Cause

This is due to a known issue where the indexing service on NSX fails due to a race condition.

Resolution

Restart the NSX proton service or the NSX manager.

As root on the NSX manager run 

  • systemctl restart proton