Bug 2242906

Summary: Installer --reset-data fails on an external DB setup
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: InstallationAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.10.3CC: ahumbe, egolov, ehelms, gsulliva, gtalreja, iballou, jpathan, lpramuk
Target Milestone: 6.13.6Keywords: AutomationBlocker, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foreman-installer-3.5.2.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2053421 Environment:
Last Closed: 2023-11-21 21:27:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 3 Lukas Pramuk 2023-11-01 13:59:33 UTC
VERIFIED.

@Satellite 6.13.6 Snap 1
foreman-installer-3.5.2.5-1.el8sat.noarch

by the reproducer described in comment#0:

# yes | satellite-installer --reset-data
...
  Success!

>>> installer data reset runs successfully on external DB setup

by running backup and restore on external DB setup:

# satellite-maintain backup offline -y /var/backup

# satellite-maintain restore -y /var/backup/satellite-backup-2023-11-01-07-32-29
...

--------------------------------------------------------------------------------
Run installer reset: 
- Installer reset                                                     [OK]      
--------------------------------------------------------------------------------

>>> restore for external DB setup finished successfully

Comment 9 errata-xmlrpc 2023-11-21 21:27:35 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.13.6 Async Update), 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-2023:7461