Bug 2102145

Summary: 'Satellite-maintain backup online' states info about Mongo in the warning message
Product: Red Hat Satellite Reporter: Ladislav Vasina <lvasina>
Component: Satellite MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Ladislav Vasina <lvasina>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.11.0CC: ahumbe, apatel, aupadhye, gtalreja, kgaikwad, pcreech
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-1.1.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:34:14 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 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