Skip to content

Upgrading to PostgreSQL 15 is always failing, the upgrade script wrongly requires 67% of free disk space #1728

@tartina

Description

@tartina

Environment info

  • NooBaa Operator Version: 4.14.z-rhodf
  • Platform: OpenShift 4.14.z

Actual behavior

  1. PostgreSQL upgrade script fails

Expected behavior

  1. PostgreSQL upgrade script succeds

Steps to reproduce

  1. Run the upgrade with 67% free disk

More information - Screenshots / Logs / Other output

When upgrading from version 12 to 15, two scripts are executed.
The first is dumpdb.sh which requires no more than 33% of used disk space and this is ok.
Then this script dumps the db to the disk.
Then the real upgrade script is run, this requires the same max 33% of used disk space, but this is really not possible, because the dump is using some more disk space. This script should require less disk space, maybe 50%.
If we reserve 67% of free disk space at the beginning of the process, after the dump the free disk will be much less, and we always fail upgrading the db.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions