Bug 1434418 - Upgrade PostgreSQL to 9.5
Summary: Upgrade PostgreSQL to 9.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 570
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks: sat5-rhn
TreeView+ depends on / blocked
 
Reported: 2017-03-21 13:20 UTC by Tomáš Kašpárek
Modified: 2017-08-07 16:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-07 16:12:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1434446 0 unspecified CLOSED It should be possible to upgrade Satellite while coming from any PotsgreSQL version 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2017:2425 0 normal SHIPPED_LIVE Moderate: rh-postgresql95-postgresql security update 2017-08-07 20:11:22 UTC

Internal Links: 1434446

Description Tomáš Kašpárek 2017-03-21 13:20:38 UTC
Description of problem:
PostgreSQL 9.2 is EOL we need to upgrade PostgreSQL to 9.5.

Version-Release number of selected component (if applicable):
Satellite 5.7

Actual results:
Unsupported version of PostgreSQL is present.

Expected results:
PostgreSQL is upgraded to 9.5.

Additional info:
spacewalk-upgrade-postgresql can be backported to 5.7 - tested it and it works.

Comment 6 Lukáš Hellebrandt 2017-07-13 14:16:53 UTC
FailsQA because:

1) After spacewalk-upgrade-postgresql, the config file /usr/share/rhn/config-defaults/rhn_dobby.conf is not updated -> db-control {start,stop} do not work

2) After spacewalk-upgrade-postgresql, ManageDB is not running while EmbeddedDB is

3) On a self-registered Satellite, spacewalk-upgrade-postgresql shuts the Satellite down then runs a yum command against it, resulting in:
[...]
Loaded plugins: rhnplugin
There was an error communicating with RHN.
RHN channel support will be disabled.
rhn-plugin: Error communicating with server. The message was:
Internal Server Error
Setting up Remove Process
[...]


At least 1) is a blocker.

Comment 7 Lukáš Hellebrandt 2017-07-13 14:24:06 UTC
4) Package rh-postgresql95 is in the erratum but is not installed by update (rh-postgresql95 is installed for dependency). Everything works without this package but if we do not want it installed, it should not be in the erratum.

Comment 8 Tomáš Kašpárek 2017-07-17 07:04:14 UTC
1 - the erratum is missing several changes needed for spacewalk-dobby, spacewalk-debug and spacewalk-hostname-rename to work, will add this

2 - minor change, will fix

3 - will investigate

4 - will remove

Comment 15 Lukáš Hellebrandt 2017-08-01 14:44:26 UTC
Bug 1477245 also applies here

Comment 19 errata-xmlrpc 2017-08-07 16:12:04 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-2017:2425


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