Bug 1813371 - Persistent Postgres Upgrade using Gluster File PVs fails on Socket Issue [rh-postgresql10]
Summary: Persistent Postgres Upgrade using Gluster File PVs fails on Socket Issue [rh-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: postgresql
Version: rh-postgresql10
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: 3.4
Assignee: Patrik Novotný
QA Contact: Vaclav Danek
URL:
Whiteboard:
Depends On: 1696732
Blocks: 1813215
TreeView+ depends on / blocked
 
Reported: 2020-03-13 15:38 UTC by Barbora Mikulova
Modified: 2022-07-09 11:15 UTC (History)
9 users (show)

Fixed In Version: rh-postgresql10-postgresql-10.12-2.el7
Doc Type: No Doc Update
Doc Text:
Clone Of: 1696732
Environment:
Last Closed: 2020-03-26 12:28:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:0980 0 None None None 2020-03-26 12:28:42 UTC

Comment 4 Honza Horak 2020-03-18 08:53:43 UTC
Steps to reproduce outside of OpenShift:
1) #> yum -u install rh-postgresql96 rh-postgresql10
2) #> scl enable rh-postgresql96 -- postgresql-setup --initdb
3) #> scl enable rh-postgresql10 bash
4) bash# PGSETUP_PGUPGRADE_OPTIONS='-s /tmp' postgresql-setup --upgrade --upgrade-from=rh-postgresql96-postgresql

Actual results:
bash# PGSETUP_PGUPGRADE_OPTIONS=-s=/tmp postgresql-setup --upgrade --upgrade-from=rh-postgresql96-postgresql
 * upgrading from 'rh-postgresql96-postgresql.service' to 'rh-postgresql10-postgresql.service'
 * Upgrading database.
ERROR: pg_upgrade tool failed
ERROR: Upgrade failed.
 * See /var/lib/pgsql/upgrade_rh-postgresql10-postgresql.log for details.

Expected results:
bash# PGSETUP_PGUPGRADE_OPTIONS='-s /tmp' postgresql-setup --upgrade --upgrade-from=rh-postgresql96-postgresql
 * upgrading from 'rh-postgresql96-postgresql.service' to 'rh-postgresql10-postgresql.service'
 * Upgrading database.
 * Upgraded OK.
WARNING: The configuration files were replaced by default configuration.
WARNING: The previous configuration and data are stored in folder
WARNING: /var/opt/rh/rh-postgresql96/lib/pgsql/data.
 * See /var/lib/pgsql/upgrade_rh-postgresql10-postgresql.log for details.

Comment 9 errata-xmlrpc 2020-03-26 12:28:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:0980


Note You need to log in before you can comment on or make changes to this bug.