diff options
author | 2023-08-01 22:12:49 +0200 | |
---|---|---|
committer | 2023-08-01 22:20:31 +0200 | |
commit | 050e9e1eb5ab41b7c9e4fef697f81322ce0a6f0e (patch) | |
tree | 2cffab87407d55a384e7a763f7f3301c611fe2ce | |
parent | Ignore vault when running ansible-lint (diff) |
Add meeting notes for today
-rw-r--r-- | docs/meeting_notes/2023-08-01.md | 57 |
1 files changed, 48 insertions, 9 deletions
diff --git a/docs/meeting_notes/2023-08-01.md b/docs/meeting_notes/2023-08-01.md index 328c7f5..61bb647 100644 --- a/docs/meeting_notes/2023-08-01.md +++ b/docs/meeting_notes/2023-08-01.md @@ -2,18 +2,57 @@ ## Agenda -- We need to come to a decision on the infrastructure migration idea. -- We should discuss [where we want to place meeting - minutes](https://github.com/python-discord/infra/issues/108). -- Let's clean up our [kubernetes repo pull - requests](https://github.com/python-discord/kubernetes/pulls). -- We should find a way to deal with the test failures in the infra repository - due to linting the Ansible playbooks. Do we fix it? Do we remove the linter? - For instance, [PR #110](https://github.com/python-discord/infra/pull/110) - bumps `dnspython` (which is only used as a lookup plugin), but CI fails. +### Infrastructure migration + +The vote is tied. Chris and Johannes decided that we should test out migrating +the PostgreSQL database at the very least. We then have more freedom about our +data. What we need to do: + +- Allow PostgreSQL connections from LKE's static IPs in the firewall +- Whitelist the static IPs from Linode via `pg_hba.conf` +- Schedule downtime for the PostgreSQL database +- **At downtime** + - Take writers offline + - Dump database from Linode into Netcup + - Update all the client's database URLs to point to netcup + - Restart writers + +We want to rely on the restore to create everything properly, but will need to +test run this beforehand. The following `pg_virtualenv` command has showcased +that it works properly: + +```sh +kubectl exec -it postgres-... -- pg_dumpall -U pythondiscord \ +| pg_virtualenv psql -v ON_ERROR_STOP=1 +``` + +Note however that the database extension `pg_repack` needs to be installed. + +Before we can get started, we need to allow the PostgreSQL role to configure +`pg_hba.conf` and `postgresql.conf` entries. + + +### Meeting notes + +We're using GitHub at the moment. Some are left in Notion. We should migrate +these to GitHub to have a uniform interface: Johannes will pick up +[python-discord/infra#108](https://github.com/python-discord/infra/issues/108) +to merge them together into Git, as its more open than Notion. + + +### Ansible lint failures in the infra repository + +Excluding the vault was found as the working solution here, as implemented by +Chris. + +### Kubernetes repository pull requests + +These were cleaned up thanks to Chris. + ## Roadmap review & planning +- Chris will prepare the PostgreSQL configuration mentioned above. <!-- vim: set textwidth=80 sw=2 ts=2: --> |