Bug 1173476

Summary: spacewalk-upgrade-postgresql: postgresql-server(s390-64) = 8.4.20-1.el6_5 is needed by (installed) postgresql-pltcl-8.4.20-1.el6_5.s390x
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 570CC: pstudeni, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-setup-postgresql-2.3.0-13-sat Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 10:26:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1128174    
Attachments:
Description Flags
rhn_installation.log none

Description Jan Hutař 2014-12-12 08:49:32 UTC
Created attachment 967523 [details]
rhn_installation.log

Description of problem:
When upgrading 5.6.0@embeddedPG@RHEL6@s390x to 5.7.0@embeddedPG92@RHEL6@s390x, `install.pl --upgrade` fails.


Version-Release number of selected component (if applicable):
Satellite-5.7.0-RHEL6-re20141205.0-s390x


How reproducible:
1 of 1


Steps to Reproduce:
1. # ./install.pl --upgrade


Actual results:
# install.pl --upgrade
[...]
** Database: Setting up database connection for PostgreSQL backend.
*** Upgrading embedded database.
There was a problem during embedded database upgrade.
  Exit value: 2.
Please examine /var/log/rhn/rhn_installation.log for more information.


Expected results:
Should work.

Comment 1 Jan Hutař 2014-12-12 08:52:02 UTC
Maybe this is due to order of actions in spacewalk-upgrade-postgresql script where we attempt to remove postgresql-server before postgresql-pltcl?

# grep postgresql-server -A 5 /usr/bin/spacewalk-upgrade-postgresql
rpm -e postgresql-server postgresql92-postgresql-upgrade
for i in {postgresql-pltcl,postgresql-contrib}; do
if rpm -q $i > /dev/null; then
    rpm -e $i
fi
done

Comment 2 Jan Hutař 2014-12-12 08:53:13 UTC
And in case it is important, I have used:

rhn-upgrade-5.7.0.14-1.el6sat.noarch

Comment 8 Clifford Perry 2015-01-13 10:26:09 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff

NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed.