Issues

Select view

Select search mode

 
18 of 18

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

Fixed

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

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

Activity

Show:

Christian PapeMarch 5, 2025 at 2:39 PM

Merged.

Christian PapeMarch 4, 2025 at 9:41 AM

Please review:
* PR:

Shahid MunirOctober 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 MunirOctober 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 GorantlaOctober 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