NSX BGP neighbor configuration edit fails with an error Invalid route map.
search cancel

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.

Resolution

This issue is resolved in VMware NSX 4.2.1 available at Broadcom Downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.