-
Notifications
You must be signed in to change notification settings - Fork 131
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
"Unknown error" when loading Query Analytics on PMM 2.43.2 due to dirty clickhouse DB migration #3288
Comments
Hi, could you share clickhouse logs for that period? |
Hi @BupycHuk, sorry for the wait. Here are the Clickhouse logs. Sorry there are a lot - wasn't sure which ones you might need so uploaded quite a chunk. Show logs
|
Hello! I also encountered this issue when attempting to update from v2.42.0 to v2.43.2. I found this thread and carried out migration 17 manually. Then, I executed the following: |
@Grokon Wow, thank you so much for that! It solved the problem for me as well! |
Thanks for the workaround! From my side as it wasn't so important I've deleted |
Description
We recently updated PMM to v2.43.2 and encountered an error in QAN "Unknown error". The network logs show 502 bad gateway responses. Looking at the qan-api2.log, we see the following error:
Going back in time a ways, it looks like the migration attempted to run after the upgrade but the DB was not healthy, so it got a connection refused. When the DB became healthy again, the migration began failing.
Expected Results
After updating the Helm chart version, we expected a smooth update and QAN to continue to work correctly.
Actual Results
QAN stopped working after updating the Helm chart version to latest.
Version
v2.43.2
Steps to reproduce
Relevant logs
see snippets above (can provide additional logs if requested)
Code of Conduct
The text was updated successfully, but these errors were encountered: