Bug 1988455

Summary: Add support for backup/restore to handle the pulp3 data on 6.10
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: Satellite MaintainAssignee: Amit Upadhye <aupadhye>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: ahumbe, apatel, aupadhye, gtalreja, kgaikwad, ktordeur, pcreech, saydas
Target Milestone: 6.10.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-0.8.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 13:48:19 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: 1998502, 1998623    
Bug Blocks:    

Description Vladimír Sedmík 2021-07-30 15:16:09 UTC
Description of problem:
foreman-maintain backup and restore commands shall be updated to handle the pulp3 used in 6.10 while still supporting the previous pulp2 used in 6.9 and 6.8

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

Expected results:
appropriate DBs and pulp data are successfully backed up and restored for all combinations of backup types and supported releases

Comment 4 Vladimír Sedmík 2021-09-06 08:00:46 UTC
Verified on 6.10.0 snap 16 using rubygem-foreman_maintain-0.8.13 - successfully performed online, offline, incremental online, incremental offline (each with and without pulp data) backup and restore. Also 6.9.6 snap 1 was checked that old legacy and new backups (same combinations as above) were restored successfully.

Same scenarios passed on 6.10 and 6.9 Capsules too.

Yet there are 2 issues pending for snapshot backups and offline backup on an external DB setup. These will be tracked separately:
Snapshot backup/restore: https://bugzilla.redhat.com/show_bug.cgi?id=1999841
External DB offline backup/restore: https://bugzilla.redhat.com/show_bug.cgi?id=2000971

Comment 7 errata-xmlrpc 2021-11-16 13:48:19 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 (Satellite 6.10 Satellite Maintenance Release), 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/RHBA-2021:4697