ome / prod-playbooks

Playbooks used by the OME team for deploying production services including OMERO
https://www.openmicroscopy.org/omero
BSD 2-Clause "Simplified" License
4 stars 19 forks source link

Update learning/sls-gallery to PSQL 13 #361

Closed sbesson closed 2 years ago

sbesson commented 2 years ago

Includes some of the commits from #360 to bump the roles to versions supporting PSQL 13+.

Also migrates the postgresql_version under vars as it is transitively used in the om.postgresql_client dependency

sbesson commented 2 years ago

On ome-learning, given I had less than 50% space on the /var/lib/pgsql partition, I had to go for a modified version of https://github.com/ome/prod-playbooks/pull/360#issuecomment-1179182594

joshmoore commented 2 years ago

It sounds a little bit like the openstack creation routines which can choose what their source "volume" is. Here it's source "database" which could be local if there's enough space but otherwise is remote and needs to be copied/unzipped into place.

sbesson commented 2 years ago

It sounds a little bit like the openstack creation routines which can choose what their source "volume" is. Here it's source "database" which could be local if there's enough space but otherwise is remote and needs to be copied/unzipped into place.

In the back of my mind, I was considering how to perform such an upgrade in the case of IDR where we are at also over 50% usage

[sbesson@prod107-database ~]$ df -h | grep pgsql
/dev/vdb        800G  553G  248G  70% /var/lib/pgsql

A source volume containing a dump of the database might effectively mirror what happens here.