<IP>/32
fails.The following errors are observed in /common/logs/admin/app.log
2024-05-14 21:51:09.689 UTC [NetworkStretchService_SvcThread-217606, j: b9e04809, s: 89bc3516, , TxId: 0bf95a0a-9e92-4d16-b39e-69698f0d39a5] WARN c.v.v.h.n.ConfigureHostRoutesOnEdgeJob- Failed to add static route {"network":"###.###.###.###\/32","display_name":"HCX Policy based MON for Subnet ###.###.###.###\/22","resource_type":"StaticRoute","next_hops":[{"scope":["\/infra\/segments\/hcx-ne-
####
"]}]}, error {"status":"failure","statusCode":400,"details":"","result":
Even though the segment is connected to the T1 router and the T1 router is connected to the T0 gateway, the following error is reported:
{"httpStatus":"BAD_REQUEST","error_code":528039,"module_name":"Policy","error_message":"Segment \/infra\/segments\/hcx-ne-#### is not connected to Tier0\/1 Gateway."}}
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX
VMware HCX
When changes to the segment name are made via the NSX-T manager to an extended segment, on versions of NSX-T older than 3.2, the communication is broken due to changed reference points.
The issue occurs when the segment's name is changed, causing the HCX manager's API call to fail with a specific error code (400), indicating a bad request.
This issue is resolved in VMware NSX 3.2.4 and 4.0.0.1, and HCX 4.8.
Note: Both products must be in at least these versions for a resolution.
There is no preventative workaround. If you are unable to upgrade NSX and HCX, renaming the segment should be done during a maintenance window as the dataplane will be impacted. Then, the reactive workaround may be implemented to restore the dataplane.
For any renamed segments that are affected, the below steps must be followed to recreate them and changes must only be introduced once they are unstretched: