Response time query with ICMP fails for IPv6 interface

Description

When you try to look at ICMP response times for an IPv6 interface Backshift and Cortex just gives a "Query failed." error message. The response from the measurements API

Environment

Horizon 28 snapshot, Backshift and Cortex

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Christian Pape March 25, 2021 at 7:06 AM

Merged.

Christian Pape March 18, 2021 at 1:07 PM

The issue was really tricky. The error pattern was as follows: For nodes queried directly via OpenNMS, no response graphs of IPv6 addresses appeared at all, i.e. there were no errors at all. It just seemed that they were simply not present. In the case a Minion was used the response time graphs for IPv6 interfaces were listed but the graphs gave "Query failed." error messages.

It was actually a combination of two errors. In one special case the search()-method of the TimeseriesSearcher class did only line up the path elements without escaping the colons. Furthermore, the cortex plugin did not escape the backslashes itself. This resulted to a query error sind the backslash is the escape character itself and needs to be escaped by a backslash itself.

Ronny Trommer February 24, 2021 at 3:49 PM

Might be the same problem .

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Sprint

Fix versions

Priority

PagerDuty

Created February 16, 2021 at 12:42 PM
Updated March 25, 2021 at 7:06 AM
Resolved March 25, 2021 at 7:06 AM