Bug 1652516

Summary: Foreman Maintain backups up the entire /var/www/html/pub directory during "Collecting Config files"
Product: Red Hat Satellite Reporter: Ade Bradshaw <abradshaw>
Component: Satellite MaintainAssignee: Anurag Patel <apatel>
Status: CLOSED NEXTRELEASE QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: apatel, bkearney, egolov, inecas, kgaikwad, mbacovsk, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-02 12:33:24 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 Ade Bradshaw 2018-11-22 09:32:46 UTC
Description of problem:
Foreman Maintain backups up the entire /var/www/html/pub directory during "Collecting Config files"

If the customer has placed other things in this pub directory - they are also backed up. I noticed this when the script had been stick on "Collecting Config files" for over 15 mins and the config_files.tar.gz was at 26G

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.2.11

How reproducible:
100%

Steps to Reproduce:
1. Place some large files in /var/www/hml/pub
2. run foreman-maintain backup
3. observe the entire contents of pub dir get added to the zip file

Actual results:
a config_files.tar.gz that is 30G in size


Expected results:
a config_files.tar.gz that is less than 300M

Additional info:

Comment 1 Evgeni Golov 2018-11-22 09:43:04 UTC
Created redmine issue https://projects.theforeman.org/issues/25535 from this bug

Comment 5 Bryan Kearney 2020-03-04 14:08:24 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 6 Bryan Kearney 2020-04-02 12:33:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.

Comment 7 Anurag Patel 2020-10-03 21:42:39 UTC
A fix for this bug has been merged upstream: https://github.com/theforeman/foreman_maintain/pull/353