Skip to content

Commit

Permalink
Add meeting notes for today
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Aug 1, 2023
1 parent 1c7ed75 commit 050e9e1
Showing 1 changed file with 48 additions and 9 deletions.
57 changes: 48 additions & 9 deletions docs/meeting_notes/2023-08-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: -->

0 comments on commit 050e9e1

Please sign in to comment.