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 2102145 - 'Satellite-maintain backup online' states info about Mongo in the warning message
Summary: 'Satellite-maintain backup online' states info about Mongo in the warning mes...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Ladislav Vasina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-29 11:43 UTC by Ladislav Vasina
Modified: 2022-11-28 10:37 UTC (History)
6 users (show)

Fixed In Version: rubygem-foreman_maintain-1.1.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:34:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35195 0 Normal Closed The database backup dumps refer to mongodb 2022-08-09 17:00:25 UTC
Red Hat Issue Tracker SAT-12375 0 None None None 2022-08-22 18:04:44 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:34:30 UTC

Description Ladislav Vasina 2022-06-29 11:43:36 UTC
Description of problem:
When running the 'satellite-maintain backup online' command warning message is shown. In this warning message, there is 'Mongo' stated which shouldn't be there in my opinion because the satellite doesn't use MongoDB since 6.10.
 
See 3rd line from the end of the warning message below.

*********************************************************************************
*********************************************************************************
# satellite-maintain backup online  /var/backup
Starting backup: 2022-06-29 07:29:45 -0400
...
Running Backup
================================================================================
Data consistency warning: 
*** WARNING: The online backup is intended for making a copy of the data
*** for debugging purposes only. The backup routine can not ensure 100% consistency while the
*** backup is taking place as there is a chance there may be data mismatch between
*** Mongo and Postgres databases while the services are live. If you wish to utilize the online backup
*** for production use you need to ensure that there are no modifications occurring during
*** your backup run.

Do you want to proceed?, [y(yes), q(quit)]
*********************************************************************************
*********************************************************************************

Versions:
satellite-6.11.0-2.el8sat.noarch Snap: 26
foreman-3.1.1.21-1.el8sat.noarchrpm
satellite-maintain-0.0.1-1.el8sat.noarch


How reproducible:
100% of the time

Steps to Reproduce:
1. Have satellite 6.11
2. Execute 'satellite-maintain backup online /var/backup'
3. See the warning message that will appear

Actual results:
In the warning message, there is 'Mongo' stated

Expected results:
'Mongo' shouldn't be stated in the warning message because it has not been used since satellite 6.10

Comment 1 Ladislav Vasina 2022-07-01 06:53:20 UTC
I just figured out that the same bug is happening on satellite 6.10.7.

Comment 3 Ladislav Vasina 2022-08-25 10:41:58 UTC
VERIFIED
Warning message is correct on:
satellite-6.12.0-2.el8sat.noarch Snap: 8
foreman-3.3.0.5-1.el8sat.noarch


Warning message from backup. Mongo is not stated anymore.
================================================================================
Data consistency warning: 
*** WARNING: The online backup is intended for making a copy of the data
*** for debugging purposes only. The backup routine can not ensure 100% consistency while the
*** backup is taking place as there is a chance there may be data mismatch between
*** the databases while the services are live. If you wish to utilize the online backup
*** for production use you need to ensure that there are no modifications occurring during
*** your backup run.
================================================================================

Comment 7 errata-xmlrpc 2022-11-16 13:34:14 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 (Important: Satellite 6.12 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/RHSA-2022:8506


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