The ReST end-point for the Flow Exporter details is returning invalid content

Description

One user from a customer reported a problem with the Flow Dashboard in Helm/Grafana related with the function interfacesOnExporterNodeWithFlows, explaining concerns about seeing interfaces returned by this function that are not supposed to be there (i.e., interfaces without flows).

This method appears to rely on the Flow Exporter ReST end-point, and another person from the same customer reported that this end-point is returning duplicate entries, like the same interfaces listed multiple times.

Interestingly, the evidence shown by the first person is different.
It is not clear if both problems are associated with the same cause, but they are both associated somehow with the endpoint in question.

The customer is not using the org.opennms.features.telemetry.ingressAndEgressRequired flag, the content of the snmpinterface table in PostgreSQL for the node in question seems legit, but the information returned by the ReST API (hence the information shown in Helm) is inconsistent.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Christian Pape June 4, 2020 at 1:59 PM

Merged.

Christian Pape June 4, 2020 at 8:38 AM

Good catch. I added a test to this PR.

Sean Torres June 4, 2020 at 6:29 AM

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created June 3, 2020 at 1:54 PM
Updated June 4, 2020 at 1:59 PM
Resolved June 4, 2020 at 1:59 PM

Flag notifications