VMware Aria for Networks fails to query BGP Connections Status
search cancel

VMware Aria for Networks fails to query BGP Connections Status

book

Article ID: 378875

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • You are running VMware NSX 4.X

  • NSX  API which is used to fetch the bgp neighbors status is failing with the below error:

    GET https://<manager-ip/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/bgp/neighbors/status
    {
    "module_name" : "common-services",
    "error message" : "Internal server error has occurred.".
    "details": "Request processing failed_ nested exception is com.vnware.nsx.management.policy-policyframework.exceptions.ObjectNotFoundException: Enforcement point connection info not found",
    "error_code" : 99 
    }

Environment

VMware NSX

Cause

  • BGP neighbor status is supported only on NSX enforcement point, The API is erroring because there is AVI enforcement Point.

Resolution

  • This is a known issue, which will be fixed in a future product release.
  • As a workaround, you can use the below API instead:
    GET https://<manager-ip/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/status?enforcement_point_path=/infra/sites/default/enforcement-points/default