-
Notifications
You must be signed in to change notification settings - Fork 16
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
chore: Upgrade Superset to version 4.0.1 #838
chore: Upgrade Superset to version 4.0.1 #838
Conversation
Hi @saraburns1 CC @bmtcril :) I'm trying to rebuild my Tutor Aspects dev stack from scratch (which I haven't done for a couple months), but I'm getting this error, which prevents the
I've tried the following steps using superset versions
..but the error persists. It might be a regression for superset -- people were reporting this same issue for 2.0.0 -> 2.0.1 -- but I haven't found anyone reporting this issue for 4.x. Have you seen this before? Is there anything else I could try? |
I've seen this a couple of times recently, mostly in CI. I've always been able to re-run and had it succeed the 2nd time. It does seem entirely like a superset regression. |
I'd also try rebuilding the aspects image and/or doing a 'tutor dev launch'.
…On Wed, Jul 31, 2024 at 5:04 PM Brian Mesick ***@***.***> wrote:
I've seen this a couple of times recently, mostly in CI. I've always been
able to re-run and had it succeed the 2nd time. It does seem entirely like
a superset regression.
—
Reply to this email directly, view it on GitHub
<#838 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIR4DO3M5SNNFZAFJ7MT723ZPFGMTAVCNFSM6AAAAABIO5MBTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGQ2TQOBYHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've faced the same issue with a Production deployment.
Exception during the init jobs
Interesting that for the Dev environment everything works fine and the table is presented:
I've tried to re-run the deploy from scratch on the new DB w/o any success for now. But at least I have a reproducible issue :) |
UDP: While writing this message, I decided to try one last option: manually dropping the database with DROP DATABASE superset;. Then, I re-ran the deployment on production, and magically, all the required tables were created! I have no idea why this worked because, previously, I had tried completely destroying the MySQL instance along with the PVC (it's a Kubernetes installation) without any success. |
Yep, there are a number of issues on the Superset repository about this. It seems very random, probably some kind of race condition. On our side the workaround is just to re-run Tutor init limited to Aspects. It's otherwise harmless, just annoying. |
closes #835
Tested as Superuser and Instructor (non-superuser). All local dashboards work correctly, no new errors in lms/superset logs.