Duplicate V3 trap security names causing spurious errors on non V3 traps

Description

It appears that when we handle duplicate SNMPv3 security names as part of trap processing, we are attempting to iterate through the v3 credentials to decode a trap even when the trap is v1 or v2, resulting in spurious error messages:

This reproduces on Horizon 30 as well.

This caused a ton of confusion for the customer, who rightly thought support had been removed for v1 and v2 traps, and that these traps were being dropped and events lost.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alex May September 22, 2022 at 2:06 PM

Merged into foundation-2020

Alex May September 21, 2022 at 6:54 PM

That was all I needed, thanks.

PR: https://github.com/OpenNMS/opennms/pull/5304

Dino Yancey September 20, 2022 at 6:40 PM

Let me know if you need more.

Alex May September 20, 2022 at 5:59 PM

Can you write out steps on how to reproduce this?

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

FD#

Components

Sprint

Priority

PagerDuty

Created August 31, 2022 at 6:43 PM
Updated September 22, 2022 at 2:06 PM
Resolved September 22, 2022 at 2:05 PM