Unable to create report on Horizon 28.0.1

Description

On database reports page, creating a report using the 2-panel grafana report throws an error:

Failed to run Jasper report local_Grafana-Dashboard-Report-2ppp

on the web ui. Scheduling the report does not work either.

Have attached the section of the web.log that shows the exception being thrown.

Environment

RHEL 7.9

Acceptance / Success Criteria

None

Attachments

1
  • 21 Jul 2021, 04:46 AM

Lucidchart Diagrams

Activity

Show:

Sandy Skipper August 3, 2021 at 3:26 PM

Resolved in FD #707.

Dino Yancey July 21, 2021 at 3:04 PM

The grafana image renderer plugin depends on a project called Puppeteer for an embedded headless chrome / chromium that has some un-required dependencies. In my lab env, i also had to pull in packages: gtk3 libXScrnSaver at-spi2-atk

 

The full dependency list is available at: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix

 

You should have an error should be in your Grafana server log about missing lib(s) similar to:

t=2021-07-21T09:47:10-0500 lvl=eror msg="Render request failed" logger=plugins.backend pluginId=grafana-image-renderer url="http://localhost:3000/d-solo/FmGJSri7k/meridian-cortex-heap?panelId=2&from=1626757200000&to=1626843600000&width=1149&height=730&timeout=30&theme=light&tz=America%2FChicago&render=1" error="Error: Failed to launch the browser process!\n/var/lib/grafana/plugins/grafana-image-renderer/chrome-linux/chrome: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md\n"
Fixed

Details

Assignee

Reporter

FD#

Affects versions

Priority

PagerDuty

Created July 21, 2021 at 4:58 AM
Updated August 3, 2021 at 8:12 PM
Resolved August 3, 2021 at 3:26 PM