Bug 2269551

Summary: Restore of incremental backup taken from RHEL7-based Satellite 6.11 on RHEL8-based Satellite 6.11 fails
Product: Red Hat Satellite Reporter: momran
Component: Satellite MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.11.5CC: saydas
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-14 16:16:15 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:

Description momran 2024-03-14 15:31:43 UTC
Description of problem:

Restore of incremental backup taken from RHEL7-based Satellite 6.11 on RHEL8-based Satellite 6.11 fails with an error like this, leaving Satellite server in broken state:

--------------------------------------------------------------------------------
REINDEX databases: 
- Reindexing the databases                                            [FAIL]    
Failed executing runuser - postgres -c "reindexdb -a", exit status 1:
 reindexdb: error: could not connect to database template1: FATAL:  could not open file "base/1/167655": No such file or directory
--------------------------------------------------------------------------------


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

Red Hat Satellite 6.11.x


How reproducible:

Always.


Steps to Reproduce:

1. Take full offline backup from a RHEL7-based Satellite server.

2. Copy the full backup to and restore it on a newly built RHL8-based Satellite server. The restore completes successfully.

3. Take an incremental offline backup from the RHEL7-based Satellite server.

4. Copy the incremental backup to and restore it on the RHL8-based Satellite server. The restore fails with an error similar to the one in the problem description.


Actual results:

- The restore of the full backup completes successfully.
- The restore of the incremental backup fails with an error similar to the one in the problem description.


Expected results:

Both full and incremental offline backups complete successfully.