Bug 1173476 - 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
Summary: spacewalk-upgrade-postgresql: postgresql-server(s390-64) = 8.4.20-1.el6_5 is ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 570
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: sat570-upgrades
TreeView+ depends on / blocked
 
Reported: 2014-12-12 08:49 UTC by Jan Hutař
Modified: 2015-01-13 10:26 UTC (History)
2 users (show)

Fixed In Version: spacewalk-setup-postgresql-2.3.0-13-sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-13 10:26:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rhn_installation.log (26.67 KB, text/plain)
2014-12-12 08:49 UTC, Jan Hutař
no flags Details

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.


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