grafana / helm-charts

Apache License 2.0
1.59k stars 2.24k forks source link

[grafana] Installing plugins doesn't work with persistence enabled #2091

Open NathanAlcantara opened 1 year ago

NathanAlcantara commented 1 year ago

I'm 'reopening' the issue #459 that was closed without a proper resolution or explanation.

I'm facing the same problem and every time that i want to update i have to uninstall entire helm and install again, this is the same thing that not enabling persistence right?

I want to know if this is a problem with the plugin of zabbix or from helm or grafana itself or even me haha

tks

Aaron-ML commented 1 year ago

Also seeing this, any solutions?

Robbie558 commented 8 months ago

Seeing similar when running multiple Grafana replicas sharing a single SMB backed Persistent Volume. Tried modifying the PV to ReadWriteMany mode, though the issue persists and each pod after the first appears to try and re-build the plugins/ directory on startup.

It should be noted that it does seems to fail repeatedly on the same plugin; grafana-googlesheets-datasource, so unclear if the issue is with how this plugin is installed?

mkozikowsk commented 5 months ago

I have the same problem when installing the yesoreyeram-infinity-datasource plugin using SMB to store plugins and two Grafana replicas. It looks like the first pod installs the plugin and the second pod tries to reinstall it but can't remove the directory used by the first pod.

Error: ✗ failed to extract plugin archive: unlinkat /var/lib/grafana/plugins/yesoreyeram-infinity-datasource: directory not empty