Project

General

Profile

Bug #31486

Upgrade results in empty /var/opt/rh/rh-postgresql12/lib/pgsql/data which causes upgrade to fail

Added by Eric Helms 4 months ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

During 6.7->6.8 upgrade, results in a conflict during the installer run:

'Execution of '/bin/yum -d 0 -e 0 -y install rh-postgresql12-postgresql-syspaths' returned 1: Error: rh-postgresql12-postgresql-syspaths conflicts with postgresql-9.2.24-4.el7_8.x86_64'

Workaround appears to be to do the following:

1) rmdir /var/opt/rh/rh-postgresql12/lib/pgsql/data
2) yum install rh-postgresql12-postgresql-syspaths

Installer logs indicate that postgresql package fails to remove if user has postgresql-devel installed.

Associated revisions

Revision 5bb28a45 (diff)
Added by Eric Helms 4 months ago

Fixes #31486: Remove postgresql-devel during postgresql upgrade

If a user has postgresql-devel installed, the removal of postgresql
will fail and prevent the upgrade from completing properly. All
subsequent runs will continually fail.

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Eric Helms
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/627 added

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.4.0 added

#3 Updated by Tomer Brisker 4 months ago

  • Subject changed from Satellite 6.8 upgrade results in empty /var/opt/rh/rh-postgresql12/lib/pgsql/data which causes upgrade to fail to Upgrade results in empty /var/opt/rh/rh-postgresql12/lib/pgsql/data which causes upgrade to fail

#4 Updated by Eric Helms 4 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 2.2.2, 2.3.2 added

#6 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 2.3.1 added
  • Fixed in Releases deleted (2.3.2)

#7 Updated by Amit Upadhye 27 days ago

  • Category set to Foreman modules

#8 Updated by Ewoud Kohl van Wijngaarden 26 days ago

  • Triaged changed from No to Yes
  • Category changed from Foreman modules to foreman-installer script

Also available in: Atom PDF