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

Plugin executable missing for arm64 architecture #48

Closed
gytisrepecka opened this issue Aug 20, 2020 · 5 comments
Closed

Plugin executable missing for arm64 architecture #48

gytisrepecka opened this issue Aug 20, 2020 · 5 comments
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@gytisrepecka
Copy link

Describe the bug

ARM64 executable missing.

Version

Redis plugin for Grafana v1.1.2
Grafana v7.1.3
Ubuntu focal v20.04 (arm64)

Steps to reproduce

  1. Install plugin using sudo grafana-cli plugins install redis-datasource;
  2. Restart grafana-server service;
  3. Service status shows error: lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=redis-datasource error="fork/exec /var/lib/grafana/plugins/redis-datasource/redis-datasource_linux_arm64: no such file or directory";
  4. When saving datasource error is shown: Plugin health check failed.

Expected behavior

Error should not be shown in service status and plugin should work.

I believe executable for arm64 is expected in /var/lib/grafana/plugins/redis-datasource. Currently it contains only following:

redis-datasource_darwin_amd64
redis-datasource_linux_amd64
redis-datasource_windows_amd64.exe
@mikhail-vl mikhail-vl added the question Further information is requested label Aug 21, 2020
@mikhail-vl
Copy link
Contributor

Hello @gytisrepecka, thank you for submitting the issue.

Unfortunately, Linux on Arm64 is not supported in Grafana SDK grafana-plugin-sdk-go and I have submitted enhancement request grafana/grafana-plugin-sdk-go#220.

Meanwhile, I create a branch with linux_arm64 binary inside https://github.com/RedisTimeSeries/grafana-redis-datasource/archive/feat/arm64.zip.

Do you want to try it and let me know if it works for you? Because the plugin is unsigned, you will need to allow unsigned plugin as described in the BUILD instructions.

@mikhail-vl mikhail-vl added the enhancement New feature or request label Aug 21, 2020
@mikhail-vl mikhail-vl added this to the Version 1.2 milestone Aug 21, 2020
@gytisrepecka
Copy link
Author

Thanks for detailed instructions, @mikhailredis - executable from feat/arm64 works smooth on my Khadas VIM3 Pro!

@mikhail-vl
Copy link
Contributor

@gytisrepecka Thank you for the update. I will include support for Linux on arm64 in 1.2.0.
I hope PR will be included in Grafana SDK: grafana/grafana-plugin-sdk-go#221.

@mikhail-vl
Copy link
Contributor

@gytisrepecka Grafana SDK pull request merged and should be available by default in the upcoming version.

@gytisrepecka
Copy link
Author

Awesome, thanks @mikhailredis !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants