Failed Extension. Check entries below for errors. Please allow network stretch for overlapping vlan if you still want to extend this network.
Unable to find Layer2 Id for segment /infra/segments/<segment-name>
2024-10-24 04:27:32.631 UTC [NetworkStretchService_SvcThread-162, j: eadba2a4, s: 50291c71, , TxId: d2690b78-704c-436f-83ae-7bde036ab751] WARN c.v.v.h.n.i.AbstractJobInt- Exception in NetworkStretchJobs:ExtendNetworkWorkflowInt. Reason : Unable to find Layer2 Id for segment /infra/segments/<segment-name>
2024-10-24 04:27:32.631 UTC [NetworkStretchService_SvcThread-162, j: eadba2a4, s: 50291c71, , TxId: d2690b78-704c-436f-83ae-7bde036ab751] ERROR c.v.v.h.n.i.NetworkStretchJobInt- Error encountered in Network Stretch job
java.lang.RuntimeException: Unable to find Layer2 Id for segment /infra/segments/<segment-name
>
The HCX Network Extension operation fails for the segment being extended
This issue may occur if the NSX-T manager is upgraded to a 3.1.x version prior to 3.1.3.5 where the issue is fixed, and the HCX manager is running version 4.3.0 or higher at the site initiating the Network Extension
VMware HCX
VMware NSX-T
During an HCX Network Extension operation, the NSX-T manager does not provide the overlay_id to the HCX Manager that is associated with the segment being extended. The VNI ID present in the NSX-T manager is reflected as overlay_ID in the "extended_attributes" of the GPRR table. This "overlay_id” was added to GPRR in NSX-T 3.1.x. However, in 3.1.x versions before 3.1.3.5, this overlay_id parameter is missing whenever an API call is made for getting details of segments.
This issue is resolved in NSX-T 3.1.3.5 and later releases.
Note: As this is not an HCX issue. For more information on this issue with versions of NSX 3.1.3.5 or earlier please open a Broadcom case with VMware NSX as product.