OpenNMS points to the wrong URL when trying to generate graphs

Description

When starting the latest snapshot of Horizon 30 via Docker (i.e., opennms/horizon:bleeding, I get "null" on the graphs page.

To reproduce the problem, start a simple lab via Docker, for instance:

As you can see, I'm using the defaults (no changes in OpenNMS configuration besides access to the database).

By default, OpenNMS will add a node to monitor itself. You can add more nodes if you need them. From the node page, when you click on Resource Graphs, then either select a few and click Graph Selection or use Graph All, the URL you'll see on the Browser's navigation bar has "null" instead of "graph/results.htm" which is what OpenNMS must use.

If you manually update the URL, I can see the graphs appropriately rendered.

I'm having issues compiling OpenNMS from source, so I don't know if the problem is associated with the Docker deployment or not.

I even tried using a Private Browser Tab to discard potential cache-related problems, and the problem persists.

Acceptance / Success Criteria

None

is duplicated by

Lucidchart Diagrams

Activity

Show:

Benjamin Reed March 24, 2022 at 3:20 PM

this got merged to foundation-2019 yesterday 👍

Alberto March 23, 2022 at 8:32 PM

Rebased the PR to foundation-2019 where it seems the issue started

Jeff Gehlbach March 23, 2022 at 6:40 PM

This problem also affects Horizon 29.0.7. It appears to be a regression against 29.0.6.

Alberto March 21, 2022 at 9:35 PM

Alejandro Galue March 16, 2022 at 6:56 PM

I installed Horizon 30.0.0-0.20220314.develop.123099 using the packages available at Cloudsmith on a VM running Ubuntu 20, and the problem remains.

I created another VM with RockyLinux 8; installed the same Horizon version from Cloudsmith, and the problem persists.

I tried the WebUI on a Private Window from Firefox 98.0.1, Chrome 99.0.4844.74, and the result is the same.

That means the problem is not just Docker.

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Affects versions

Priority

PagerDuty

Created March 8, 2022 at 5:05 PM
Updated March 24, 2022 at 3:22 PM
Resolved March 24, 2022 at 3:20 PM