Improve provisiond error logging

Description

I use PRIS to generate requisition files. For some reasons it happened that a node was defined like this:



PRIS does not care about if there are two interfaces defined with primary P tag.
But OpenNMS / provisiond does. Unfortunately, it does not tell you.

The logs look like:



An error message like: duplicate entry of snmp-primary

would helped me a lot here. So I think provisiond should print out error messages based on the rule set it has to allow or deny a node definition.

Environment

None

Acceptance / Success Criteria

None

Activity

Show:

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created February 10, 2023 at 11:56 AM
Updated June 1, 2023 at 2:59 PM