Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana Image Renderer fails to start on CentOS7 due to GLIBC dependency #580

Open
smacd-beeks opened this issue Oct 24, 2024 · 1 comment

Comments

@smacd-beeks
Copy link

smacd-beeks commented Oct 24, 2024

What happened:
On a CentOS7 environment running Grafana 11.2.1, after recently upgrading the grafana-image-renderer plugin from version 3.7.1 to 3.11.5, Grafana no longer was able to start and the following error was reported in the logs:

level=error msg="Stopped background service" service=*rendering.RenderingService reason="Unrecognized remote plugin message: \nFailed to read any lines from plugin's stdout\nThis usually means\n the plugin was not compiled for this architecture,\n the plugin is missing dynamic-link libraries necessary to run,\n the plugin is not executable by this process due to file permissions, or\n the plugin failed to negotiate the initial go-plugin protocol handshake\n\nAdditional notes about plugin:\n Path: /etc/grafana/plugins/grafana-image-renderer/plugin_start_linux_amd64\n Mode: -rwxr-xr-x\n Owner: 999 [grafana] (current: 999 [grafana])\n Group: 996 [grafana] (current: 996 [grafana])\n ELF architecture: EM_X86_64 (current architecture: amd64)\n"

/lib64/libc.so.6: version 'GLIBC_2.18' not found (required by /etc/grafana/plugins/grafana-image-renderer/chrome-headless-shell/linux-130.0.6715.0/chrome-headless-shell-linux64/chrome-headless-shell) /lib64/libc.so.6: version 'GLIBC_2.25' not found (required by /etc/grafana/plugins/grafana-image-renderer/chrome-headless-shell/linux-130.0.6715.0/chrome-headless-shell-linux64/chrome-headless-shell)

However, yum info shows that the latest supported version of glibc on CentOS7 is 2.17.
On further investigation, it appears that the above errors start being reported from version 3.10.4 of the plugin, so 3.10.1 is the last stable release we are currently able to use.

I've seen no mention in the documentation to state that CentOS7 is not supported beyond this version

Environment:

  • Grafana Image Renderer version: upgrade from 3.7.1 to 3.11.5
  • Grafana version: 11.2.1
  • User OS: CentOS7
@McTonderski
Copy link
Contributor

CectOS7 is EOL so we probably should drop support for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants