Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2242906 - Installer --reset-data fails on an external DB setup
Summary: Installer --reset-data fails on an external DB setup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.10.3
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: 6.13.6
Assignee: Evgeni Golov
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-09 17:24 UTC by Odilon Sousa
Modified: 2023-11-21 21:27 UTC (History)
8 users (show)

Fixed In Version: foreman-installer-3.5.2.5-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2053421
Environment:
Last Closed: 2023-11-21 21:27:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36238 0 Normal Closed Installer --reset-data fails on an external DB setup 2023-10-09 17:25:06 UTC
Red Hat Issue Tracker SAT-17451 0 None None None 2023-10-09 17:25:06 UTC
Red Hat Issue Tracker SAT-20674 0 None None None 2023-10-09 17:26:10 UTC
Red Hat Product Errata RHBA-2023:7461 0 None None None 2023-11-21 21:27:48 UTC

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


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