hoptical / grafana-kafka-datasource

A Grafana datasource plugin for Apache Kafka
Apache License 2.0
35 stars 13 forks source link

PLUGIN NOT AVAILABLE #31

Closed Murthy7587 closed 2 years ago

Murthy7587 commented 2 years ago

Getting "Plugin unavailable" on Grafana 8.3.3

Steps to reproduce the behavior:

  1. Go to Datasource
  2. Click on Kafka
  3. Give details of all brokers in broker field.
  4. On Click on save and test getting Plugin Unavailable.

Screenshots image

Desktop Information:

hoptical commented 2 years ago

Do you have the issue with only one broker in the servers field? And do you get the same error when you hit the Save & Test button multiple times?

Dingeman commented 2 years ago

I'd like to try the datasource plugin, but experiencing the same problem. I do have only 1 broker specified and getting the same error when hitting the Save & Test button multiple times.

hoptical commented 2 years ago

At the moment, the only reason that comes to my mind is the compatibility of confluent-kafka-go package to some operating systems that are mentioned here. For Oracle Linux, it may be resolved by building the package from the source in the same os. Additionally, we're considering changing the confluent-kafka-go package to resolve the problem for all of the operating systems.

yardenshoham commented 2 years ago

I also get this error.

grafana t=2022-09-11T16:08:48+0000 lvl=eror msg="Could not start plugin" logger=plugin.manager pluginId=hamedkarbasi93-kafka-datasource err="Unrecognized remote plugin message: \n\nThis usually means that the plugin is either invalid or simply\nneeds to be recompiled to support the latest protocol."

grafana t=2022-09-11T16:10:02+0000 lvl=eror msg="Plugin unavailable" logger=context userId=0 orgId=1 uname= error="plugin unavailable" remote_addr=10.0.94.18

Full log:

grafana-plugins-init grafana 16:08:42.66
grafana-plugins-init grafana 16:08:42.67 Welcome to the Bitnami grafana container
grafana-plugins-init grafana 16:08:42.68 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-grafana
grafana-plugins-init grafana 16:08:42.68 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-grafana/issues
grafana-plugins-init grafana 16:08:42.69
grafana-plugins-init grafana 16:08:42.72 INFO  ==> Detected mounted plugins directory at '/opt/plugins'. The container will exit after installing plugins as grafana-operator.
grafana-plugins-init grafana 16:08:42.73 WARN  ==> There are no plugins to install
                                                            Autoscroll:On     FullScreen:On     Timestamps:Off     Wrap:Off
grafana 16:08:43.35
grafana 16:08:43.36 Welcome to the Bitnami grafana container
grafana 16:08:43.36 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-grafana
grafana 16:08:43.37 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-grafana/issues
grafana 16:08:43.37
grafana 16:08:43.43 INFO  ==> Ensuring /etc/grafana/grafana.ini points to /opt/bitnami/grafana/conf/grafana.ini
grafana 16:08:43.46 INFO  ==> Ensuring /var/lib/grafana points to /opt/bitnami/grafana/data
grafana 16:08:43.47 INFO  ==> Ensuring /var/log/grafana points to /opt/bitnami/grafana/logs
grafana 16:08:43.48 INFO  ==> Ensuring /etc/grafana/provisioning points to /opt/bitnami/grafana/conf/provisioning
grafana 16:08:43.86 INFO  ==> Installing plugin hamedkarbasi93-kafka-datasource
✔ Downloaded hamedkarbasi93-kafka-datasource v0.2.0 zip successfully

Please restart Grafana after installing plugins. Refer to Grafana documentation for instructions if necessary.

grafana 16:08:44.44 INFO  ==> ** Grafana setup finished! **
grafana 16:08:44.46 INFO  ==> ** Starting Grafana **
Error checking server process execution privilege. error: could not get current OS user to detect process privileges
t=2022-09-11T16:08:44+0000 lvl=warn msg="falling back to legacy setting of 'min_interval_seconds'; please use the configuration option in the `unified_alerting` section if Grafana 8 aler
t=2022-09-11T16:08:48+0000 lvl=eror msg="Could not start plugin" logger=plugin.manager pluginId=hamedkarbasi93-kafka-datasource err="Unrecognized remote plugin message: \n\nThis usually
t=2022-09-11T16:09:32+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:40+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:43+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:43+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:49+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:49+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:49+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:09:50+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:01+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:01+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:02+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:02+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:02+0000 lvl=eror msg="Plugin unavailable" logger=context userId=0 orgId=1 uname= error="plugin unavailable" remote_addr=10.0.94.18
t=2022-09-11T16:10:02+0000 lvl=eror msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/api/datasources/3/health status=503 remote_addr=10.0.94.18 time_ms=2 s
t=2022-09-11T16:10:02+0000 lvl=eror msg="Failed to look up user based on cookie" logger=context error="user token not found"
t=2022-09-11T16:10:02+0000 lvl=eror msg="Plugin unavailable" logger=context userId=0 orgId=1 uname= error="plugin unavailable" remote_addr=10.0.94.18
t=2022-09-11T16:10:02+0000 lvl=eror msg="Request Completed" logger=context userId=0 orgId=1 uname= method=GET path=/api/datasources/3/health status=503 remote_addr=10.0.94.18 time_ms=3 s

Desktop Information:

OS: Container-optimised OS with containerd (cos_containerd) - GKE Browser Chrome Plugin Version 0.2.0 Grafana Version 8.3.3