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

[kube-prometheus-stack] failed to delete orphaned service accounts: Error 1064 MariaDB #5007

Open
noe-max opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@noe-max
Copy link

noe-max commented Nov 20, 2024

Describe the bug a clear and concise description of what the bug is.

This bug is related to following issue. grafana/grafana#95904
It seem to be fixed in grafana but the fix didn't made it kube-prom-stack yet.
Any ETA ?

What's your helm version?

v3.12.3

What's your kubectl version?

v1.30.1

Which chart?

kube-prom-stack

What's the chart version?

65.8.1

What happened?

Grafana DB migration failed:
id="delete orphaned service account permissions" │
│ logger=migrator t=2024-11-20T10:13:17.934155634Z level=error msg="Executing migration failed" id="delete orphaned service account permissions" error="failed to delete orphaned service accounts: Error 1064 (42000): You have an error in │
│ logger=migrator t=2024-11-20T10:13:17.934184985Z level=error msg="Exec failed" error="failed to delete orphaned service accounts: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your Maria │
│ logger=migrator t=2024-11-20T10:13:17.935264019Z level=info msg="Unlocking database" │
│ Error: ✗ migration failed (id = delete orphaned service account permissions): failed to delete orphaned service accounts: Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB serve │

What you expected to happen?

Should run through even with MariaDB 10.x (default on most debian based systems)

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

helm upgrade kube-prom-stack prometheus-community/kube-prometheus-stack --version -namespace monitoring
-f "prom-stack-values-v${HELM_CHART_VERSION}.yaml"

Anything else we need to know?

Not sure if this is the right approach to address this, as somewhat it's an upstream issue. let me know. Thanks

@noe-max noe-max added the bug Something isn't working label Nov 20, 2024
@zeritti zeritti changed the title [name of the chart e.g. prometheus-kube-stack] failed to delete orphaned service accounts: Error 1064 MariaDB [kube-prometheus-stack] failed to delete orphaned service accounts: Error 1064 MariaDB Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant