I’m currently running Grafana Version 6.7.2, with built-in phantomJS rendered.
I’m using Kubernetes and Grafana is being routed by Kong Ingress Controller.
When I try to render a pane, the output image is:
I get this output regardless of the active organization, dashboard or user.
Grafana logs seem to indicate everything went fine:
t=2020-04-24T12:32:00+0000 lvl=info msg=Rendering logger=rendering renderer=phantomJS path="d-solo/SSgSVYjWk/sla-century-link-performance-cisco?orgId=1&refresh=5m&from=1587126719469&to=1587731519469&var-group=Century%20Link&var-host=SDW-BSK-ALPH-01&panelId=51&width=1000&height=500&tz=America%2FSao_Paulo"
t=2020-04-24T12:32:00+0000 lvl=dbug msg="executing Phantomjs" logger=rendering renderer=phantomJS binPath=/usr/share/grafana/tools/phantomjs/phantomjs cmdArgs="[--ignore-ssl-errors=true --web-security=true --local-url-access=false --debug=false /usr/share/grafana/tools/phantomjs/render.js url=http://grafana.staged-by-discourse.com/d-solo/SSgSVYjWk/sla-century-link-performance-cisco?orgId=1&refresh=5m&from=1587126719469&to=1587731519469&var-group=Century%20Link&var-host=SDW-BSK-ALPH-01&panelId=51&width=1000&height=500&tz=America%2FSao_Paulo&render=1 width=1000 height=500 png=/var/lib/grafana/png/cm8vGkcPWw84vFgS805b.png domain=localhost
timeout=60 renderKey=EwWusDggAr31nmScYFWOMs60SM8Icqa2]" timezone=America/Sao_Paulo
t=2020-04-24T12:32:02+0000 lvl=dbug msg="Phantomjs output" logger=rendering renderer=phantomJS out="Loading a web page: http://grafana.staged-by-discourse.com/d-solo/SSgSVYjWk/sla-century-link-performance-cisco?orgId=1&refresh=5m&from=1587126719469&to=1587731519469&var-group=Century%20Link&var-host=SDW-BSK-ALPH-01&panelId=51&width=1000&height=500&tz=America%2FSao_Paulo&render=1 status: success 60000\n"
t=2020-04-24T12:32:02+0000 lvl=dbug msg="Image rendered" logger=rendering renderer=phantomJS path=/var/lib/grafana/png/cm8vGkcPWw84vFgS805b.png
t=2020-04-24T12:32:07+0000 lvl=dbug msg="Scheduling update" logger=alerting.scheduler ruleCount=0
My custom.ini is as follows:
http_port = 3000
domain = some_domain/grafana
root_url = http://some_domain/grafana
serve_from_sub_path = true
[users]
default_theme = light
[security]
admin_user = some_admin
admin_password = some_password
[log]
level = debug
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
I know this is not a bug with Grafana because things work fine if I deploy a new pod. However it doesn’t look like a settings problem because the same custom.ini works in new pods.
The current pod is a “pre-production” environment so I would like some understanding on what caused the issue. Can someone point me in a direction?