Attempting to extend VDS network using HCX fails with the below error:
Source HCX-MGR UI:
"Failed to resolve vc backing network moref for network <logical-switch path>"
Source HCX-MGR app.log (common/logs/admin/app.log):
2024-10-01 21:27:16.173 UTC [NetworkStretchService_SvcThread-1092, j: 4b4f36d1, s: 807d07ef, , TxId: ########-####-####-####-d4a11210bcbe] INFO c.v.v.h.n.i.NetworkStretchJobInt- Preparing destination network.
2024-10-01 21:35:01.963 UTC [NetworkStretchService_SvcThread-1097, j: 4b4f36d1, s: 807d07ef, , TxId: ########-####-####-####-d4a11210bcbe] INFO c.v.v.h.n.i.NetworkStretchJobInt- Running in state PROCESS_PREPARE_DESTINATION_NETWORK_RESULT
2024-10-01 21:35:01.965 UTC [FailureDetectionService_EventListener, , , TxId: ] INFO c.v.v.h.f.FailedJobEventsListener- Received a Failed Job, jobType: NetworkStretchJobs workflow type: prepareCloudNetwork
2024-10-01 21:35:01.970 UTC [NetworkStretchService_SvcThread-1097, j: 4b4f36d1, s: 807d07ef, , TxId: ########-####-####-####-d4a11210bcbe] ERROR c.v.v.h.n.i.AbstractJobInt- NetworkStretchJobs workflow prepareCloudNetwork failed. Error: Operation timedout in state CREATE_NETWORK
Cloud HCX-MGR app.log (common/logs/admin/app.log):
2024-10-01 21:27:23.341 UTC [NetworkStretchService_SvcThread-59, j: 6795c634, s: 807d07ef, , TxId: TxId: ########-####-####-####-8ffd717a64a2] WARN c.v.v.h.networkstretch.AbstractJob- Failed to resolve vc opaque network moref for logical switch ########-####-####-####-68fcd8e3442f: Failed to get opaque network moref with logical switch id ########-####-####-####-68fcd8e3442f
HCX
NSX
This message indicates that HCX is not able to retrieve the NSX Segment information via vCenter for the cluster specified in the cloud side Compute Profile.
The steps taken during HCX network extension as it relates to this error are as follows:
At this time there is no way for HCX to specify a particular cluster/TZ to create a network segment in.
Verify that the HCX L2E segment is being created on the appropriate VDS. In this example, there were about 5 Clusters attached to 1 Transport zone (1 VDS per cluster). It was discovered that the HCX segment was not being created on all VDS's in the transport zone due to an NSX inventory sync issue.
Perform the below steps: