-
Notifications
You must be signed in to change notification settings - Fork 69
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
Components, operators and builders resources not created when installing Yatai with postgresql.enabled=false #205
Comments
Hey @amelki Thank you for reporting the issue, really appreciate it. I am looking to the issue. I would love you to clarify a few things for me
|
cc @yetone |
Hey @yubozhao
The latest one, in https://bentoml.github.io/yatai-char
Yes : I first installed Yatai with an embedded Postgresql. Then I upgraded with an external RDS, which created the yatai database at some point.
If I install the charts with postgresql=true first, first and then upgrade with my external RDS, yes, I end up with a properly installed Yatai
|
@amelki Yes, you should either retry from an empty RDS database or manually install the yatai deployment component in the yatai UI. |
Guys, I see you reopened the issue. I just tried to reinstall Yatai with an empty RDS database, and it does not seem to work either... Do you confirm ? |
OK, I had to manually create the yatai DB in my RDS instance, and it worked OK |
@amelki The thing is, when you tell yatai the name of the database, yatai will think that the database is already created |
@yetone that is fine with me, I have adapted my install scripts to make sure the DB always exists and is empty when the helm charts are installed. I guess you can close the issue. |
Thanks for the update @amelki - our team dive into the issue a bit more and this is definitely something we should improve in documentation. The root cause of the issue is due to installing Yatai helm chat with a database that has information on a previous installation. A regular installation from clean state should not run into this issue. Yatai has a fairly complex architecture with multiple cluster components, both migrating to a new installation or reinstalling yatai from old DB requires a few extra steps to make sure the cluster state and DB state are in-sync. Our team will work on related documentation soon, as for now, we'd suggest try installing from a clean state as you did in your install script. It sounds like you are trying to write a script that reinstalls Yatai, may I ask what is this used for? Is it for testing purpose? |
Hi @parano, thanks for your answer. |
When I install Yatai using the following values:
none of the resources that should be created in components, operators and builders are created.
If I comment
postgresql.enabled
and reinstall (after having deleted all Yatai resources), then all components get created.I can then upgrade with
postgresql.enabled = false
.I tried the operation many times and consistently got the issue
Do you confirm the issue ? Am I missing something ?
The text was updated successfully, but these errors were encountered: