Requisition file names with a colon ( : ) break resource graphs

Description

Using a colon in a requisition name causes the resource graphs to break because OpenNMS is unable to find the node.

Whenever you try to graph something, on the GUI you get:

There are no resources for this node

Please check the data collection configuration for this node.

 

And on the web log :

2024-09-20 21:27:07,860 ERROR [qtp302615930-32915] o.o.w.r.v.OnmsRestService: No node found with criteria 'opennms:fra14:dcim.device.927'.

 

We changed this requisition name to one containing only dots and that fixed it.

If a colon breaks the graphs, OpenNMS shouldn’t allow names with a colon in it.

Environment

Running under Kubernetes cluster v1.30, with , pgo, ScyllaDB and newts

Acceptance / Success Criteria

None

Attachments

2

Activity

Show:

Christian Pape March 5, 2025 at 2:39 PM

Merged.

Christian Pape March 4, 2025 at 9:41 AM

Please review:
* PR:

Shahid Munir October 22, 2024 at 11:07 AM

As per instructions by , I am moving this back to Open, as the requisition name “imported:“ is set as the default name.

Shahid Munir October 18, 2024 at 6:54 PM
Edited

Yeah as I mentioned we can add with Rest API, and BE is just checking for “/“ in name, I am going to change the code to restrict all characters which Web UI does.

2nd entry added by Rest API

Chandra Gorantla October 18, 2024 at 6:42 PM

I think this is known. Can’t add it through Web UI. Try with Rest API or through manual requisition through xml

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Affects versions

Priority

PagerDuty

Created September 23, 2024 at 10:08 PM
Updated March 10, 2025 at 1:24 PM
Resolved March 5, 2025 at 2:39 PM