NSX BGP neighbor configuration edit fails with an error Invalid route map.
book
Article ID: 376764
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
NSX BGP neighbor configuration edit fails with an error Invalid route map. Error: Invalid route map. (Error code: 503056)
Prior to this edit, the BGP Neighbor and route filter was configured using a route map from UI.
Then a PUT API call was used to configure the in/out route filter. PUT https://GM-IP/global-manager/api/v1/global-infra/tier-0s/tier-0-01/locale-services/nsx-services/bgp/neighbors/7d2###3b-6###-###4-a##e-24######04bf
Then the route map was deleted from UI
Upon the route-map deletion being successful from UI, attempting to edit of BGP configuration throws the invalid route map error as the BgpNeighbor has a stale reference of route-map IN and OUT filters.
Environment
VMware NSX
Cause
Under normal circumstances, you are prevented from deleting a route map filter when a BgpNeighbor is consuming this object. However, due to a glitch in handling cross-references between BgpNeighbor and RouteMap objects, you may encounter this invalid route map error instead.