-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Make installation using RDS work cleanly #13521
Comments
Hello @zulip/server-production members, this issue was labeled with the "area: production installer" label, so you may want to check it out! |
The first part is completed. |
@alexmv to what extent did the recent puppet to add profile classes make the remaining task for this project complete? I think it's possible we might just need to document an |
I think that's accurate, but I think it certainly needs testing. |
is this still high priority? from reading, it feels medium/low given that it's a small hassle in the grand scheme of production installs. does this affect other hosted Postgres installs? e.g. GCP postgres, Azure postgres, Heroku do we want to support aurora and other postgres-compatible hosted databases? (should be easy) |
Following #13105, it's now reasonable to use Zulip with a remote postgres database service like Amazon RDS. However, there are a few things that are awkward about the setup:
POSTGRES_MISSING_DICTIONARIES
configure is passed via an environment variable, which can result in issues if folks run the instructions at the end ofscripts/setup/install --remote-postgres
rather than remembering to pass the flag each time. I think what we should do is make--postgres-missing-dictionaries
option set a value in thepostgresql
section calledvia
crudini, and have the database initialization code read that using e.g.
get_configfrom
zproject/settings.py` to determine which mode to use. This would also expose the fact that we're in such a configuration to Zulip if we wanted the UI to show anything about that state.voyager.pp
set of puppet rules, even though we actually don't want to include all of those manifests. There are two potential paths forward here. (1) is to makevoyager.pp
support reading some options likeenable_postgres = false
in/etc/zulip/zulip.conf
that is can use to determine whether to include a postgres server, and then the install can have options like--no-postgres
that just set those options when writing out the original/etc/zulip/zulip.conf
. (2) Is to have the installer write out the individual puppet role classes. I think that latter approach may be a worse choice in that it gives us less flexibility to refactor the puppet class hierarchy over time.The text was updated successfully, but these errors were encountered: