-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[meta] Grafana persistence has been broken for most of a year, and so has the process of PR review #10306
Comments
@AaronFriel First, let me say that you are right the process around this is broken in some ways and you can see that with this particular problem. Thank you for highlighting that. I would like to talk about a few things to help fix this situation along with highlight a couple reasons this happened to add context. First, how did we get here? Why did this happen?
Because of this the problem has been poorly addressed. Second, what can we do about this.
I'm happy to help get this resolved and sorry this happened. |
Hey Matt, thanks for getting back to me. I admit, there are a lot of ways to try to resolve this, but I don't see any that don't have pretty obvious, apparent downsides. I'm sure you're doing your best and trying to grow and maintain a community is not easy; I greatly appreciate your response here. In an ideal world, charts for third party projects would be fully maintained by a team of dedicated, eager volunteers from the project who respond quickly to every issue and write perfect code. We're just human though, and I'm no stellar example of a responsive maintainer myself, so some sort of process might be nice when charts are just plain broken, because that affects anyone who tries to install the image and hurts the reputation of everyone involved. I know better, but I could see how if My only suggestion would be to have some cross-chart maintainers for charts in this repo (maybe call them something like curators?) who can volunteer to review PRs. Their focus would be break/fix only, when a chart just doesn't work, and punt on reorganization and feature development to chart maintainers where the project would probably have an opinionated stance on changes to what resources are deployed, how they're configured, etc. I would have liked to be able to ping someone who, if they had only a few minutes on their own Docker machine could run |
We have meetings on Tuesdays and I've added this topic, including a link to this issue, to the agenda. The meeting schedule, including an ics feed, is available at https://github.com/helm/community/ for anyone interested. The next step is for folks to talk about this broader topic. |
The hub is a nice start, but one benefit of this repo is the ability to have all of the auto testing and not having to host your own index repo. |
@mattfarina I think it might be helpful to add some copy somewhere prominent about both the hub and that the current maintainers are overwhelmed in this repo. As a chart developer, I found the lack of response time and dependence on the core maintainers frustrating, but more because I had the expectation of a speedy response time. I don't fault the maintainers for being a victim of Helm's own popularity, but a heads up that folks are swamped might go a long way in calming some frustrations. |
@mattfarina Is there a way to allow the people in (I kinda expected that this was how the OWNERS file works, but it does not appear to actually work this way.) |
While I can understand your sentiments @AaronFriel if find your critique a little bit harsh. I like to do thorough reviews, sometimes questioning things and enforcing our best practices. I'm always open for discussion, though, and have frequently changed my mind when folks convinced me about their changes. I always try to be helpful and you can always ping us on Slack in the charts channel as well. As @mattfarina mentioned, Grafana maintainers were kind of inactive. It was kind of hard for us charts maintainers to follow allong and see which of several PRs that tried to fix the same thing should go in or not. I was hoping for the chart's maintainers to jump in which should have deeper knowledge about their charts as us charts maintainers. |
@jkodroff This is possible. See https://github.com/helm/charts#owning-and-maintaining-a-chart |
@unguiculus excellent that is a part that I was missing how do I become a |
@unguiculus Being thorough needs to be balanced with "making charts work". A chart that is broken for most of a year is a bad signal to users of Helm and to the users commenting on the repo. Accepting a PR that fixes a chart, then making your own PR to fix your nits is a perfectly acceptable way of doing things that makes everyone happy. You never responded to @sylr's reply to your requested changes, blocking it from being merged indefinitely. |
Hey, It is important to note that until now, the grafana chart had no OWNERS file, so the chart maintainers were limited in what they could do. See this PR for example, where one of the maintainers tried to lgtm, but failed to do so: This is now resolved as an OWNERS file was added, and a new maintainer (myself) was added to balance the load. I hope that things will be better from now on ;) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Persistence in Grafana has been broken for months (#4156), a PR was made to fix the volume permissions (#5576), this was incorrectly nitpicked twice by the person it was assigned to @unguiculus, then there was some bikeshedding about whether the change that caused it broke semver and how that should be dealt with in the future.
Then #5576 was never merged and unceremoniously closed.
In the meantime, in #5635 the advice is the chart is broken and wait on #5576 which of course was closed.
Nevermind that persistence was disabled by default and it's pretty obvious more effort went into making sure that chart template was done correctly, but since it left a bunch of values (persistence size, access modes) unspecified, people ran into other issues which are unresolved in #5102, #8857, #9660, #10116, and #10276.
Those are just the results I found recently when searching for "grafana persistence" in issues.
Here's what I propose:
Fix the chart by adding an initContainer, as in #5576. If the assignee @unguiculus would just fix up the PR and merge it, at least half a dozen people would be happy(er), and those are just the people who reported issues. As it is, even if a user sets all of the persistence properties correctly the container won't boot. That's not a user issue, that's an issue with the chart. I fix this in #10307 by simply following the instructions other people laid out in the issues above. Here's a smattering of the issues (that I could find) fixed by my PR:
The text was updated successfully, but these errors were encountered: