-
Notifications
You must be signed in to change notification settings - Fork 1.3k
V1.4.0 Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: no such file or directory #1709
Comments
i know that i can mount a config file into it but i would rather not. any eta when a release with the fix is expected? |
@Robbilie The fix can only add an empty |
thats not the desired way. the official grafana and previous versions of heapsters grafana had a grafana.ini and i dont see why the 1.4.0 release shouldnt have one |
@Robbilie Having not know that we have a grafana.ini in previous release. Will check this later. |
lol theres literally no reason to not have one, 1.3 aswell as official grafana releases had one |
@Robbilie You mean |
@andyxning with one less slash yeah, thats the previous one which had the ini, https://hub.docker.com/r/grafana/grafana/ has the ini aswell |
any workaround? trying to deploy a brand new heapster and having problems |
mount the file into the pod… |
I believe @piosz is working on it, and it's marked as high priority. We should have a fix soon. |
/assign @loburm |
Change the image to be gcr.io/google_containers/heapster-grafana-amd64:v4.0.2 will fix this issue. |
thats not a fix, i used to use a newer grafana image while waiting for heapster 1.4 because i need certain grafana notification channels |
Apologies for the problems. @loburm is investigating this. |
any news? |
Sorry for the delay, I'm looking at this problem now. I will post update as soon as will find a root cause of issue. |
This commit on the side of grafana is the root cause of the issue: Shortly: previously they have been always creating grafana.ini file but in January this part was moved to the postinst script which is executed only when we actually install package on the system (in our case we just extracting files, so script is not executed). I'll try to find workaround. Maybe we can use official grafana image for this. |
Unfortunately, solution with docker image officially provided by the grafana is not going to work. This image is built only for amd64 (we support different arch) and image size almost 2 times bigger. So I have prepared PR that just manually copies configuration files to /etc/grafana/: #1728 |
check this #1722 |
@ffahri this is not a fix of problem. Some users need features that have been released in 4.2.0 or later we just can't stuck with version 4.0.2 forever. |
PR was merged. Tomorrow I'll push a new image to the gcr. |
Image is pushed. In #1731 updates deploy file. |
@loburm just tested the new image and it works without any problems ;) |
@discostur thanks for checking it. Considering that last PR was merged, I'm closing this issue. |
As a heads-up, this is still broken in the https://github.com/kubernetes/heapster/tree/release-1.4 branch |
@andyxning I have tried but it still fail |
Failed to parse /etc/grafana/grafana.ini, open /etc/grafana/grafana.ini: no such file or directory
there is no such file in there since the config dir is in /usr/share/grafana
theres at least a defaults file…
The text was updated successfully, but these errors were encountered: