-
Notifications
You must be signed in to change notification settings - Fork 447
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
K8s: Disabling RUN_MYSQL
should also not deploy the mysql init job
#1017
Comments
Ditching the mysql init job entirely seems rather drastic, so I'm not sure that's the actual solution to your problem. Can you please provide us with the logs from the mysql init job to understand why it's failing? (be careful not to share production credentials from these logs) |
@waza-ari Hi, just trying to catchup and see if you can provide the answer/context to what Régis asked above. Thanks |
My apologies, I got hung up on different topics and in the meantime am hosting our dev environment on a regular Ubuntu machine instead of K8s, to stay closer to the production environment. If I remember correctly, it was about the job assuming root privileges when trying to create the |
Indeed, none of the k8s jobs have a |
Bug description
When trying to run tutor with an external MYSQL database, we're setting
RUN_MYSQL
tofalse
which prevents the pod to be created. It does however still create the MySQL init job, which is doing nothing else than creating the database for openedx.We'd prefer not to specify root credentials here, but instead specify credentials directly using:
Use case would be a centrally operated database, in our environment using a database operator within k8s.
How to reproduce
When trying to bring up the platform, it will fail with the following error message:
Either
RUN_MYSQL
should also prevent the job from being created, or we may want to introduce another variable to achieve that.Environment
Mac OS Sonoma 14.2.1
Tutor version
tutor, version 17.0.2
The text was updated successfully, but these errors were encountered: