Bug 1175629

Summary: after restoring cold DB backup from 5.6.0@embedded which was already upgraded (in-place), mine /etc/rhn/service-list got corrupted
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: UpgradesAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 570CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-setup-postgresql-2.3.0-16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-13 10:25:38 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    

Description Jan Hutař 2014-12-18 08:39:45 UTC
Description of problem:
After restoring cold DB backup from 5.6.0@embedded which was already upgraded (in-place), mine /etc/rhn/service-list got corrupted.


Version-Release number of selected component (if applicable):
Satellite-5.7.0-RHEL6-re20141212.0-x86_64
rhn-upgrade-5.7.0.19-1.el6sat.noarch


How reproducible:
1 of 1 attempt


Steps to Reproduce:
1. Install 5.6.0 with embedded PostgreSQL 8.4 on RHEL6
2. Create cold backup
3. Do in-place upgrade to 5.7.0 with embedded PostgreSQL 9.2
4. Restore from backup created in 2nd step
5. Run /usr/bin/spacewalk-upgrade-postgresql to upgrade PostgreSQL 8.4
   data files to 9.2


Actual results:
# grep ^SERVICES /etc/rhn/service-list 
SERVICES="postgresql92-postgresql92-postgresql $SERVICES"


Expected results:
# grep ^SERVICES /etc/rhn/service-list 
SERVICES="postgresql92-postgresql $SERVICES"


Additional info:
I understand this might be unsupported usage, but reporting to be on a safe side

Comment 4 Clifford Perry 2015-01-13 10:25:38 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.