Bug 1749933

Summary: [RFE] Scheduled backup overestimates the needed space quite a lot. Backup may not happen because of that.
Product: Red Hat CloudForms Management Engine Reporter: Jaroslav Henner <jhenner>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: Jaroslav Henner <jhenner>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: abellott, jocarter, obarenbo
Target Milestone: GAKeywords: RFE
Target Release: cfme-future   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-18 14:34:03 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 Jaroslav Henner 2019-09-06 19:41:10 UTC
Description of problem:
I was verifying https://bugzilla.redhat.com/show_bug.cgi?id=1703278#c30 and during that I had problem with the backing-up code is estimating the space required on the target. I think it is only feasible to get some upper bound of that space required, but I don't think getting this kind of number is much good.

The problem is that the estimation was 8x the real space needed. So this can prevent the backup procedure to happen which may have big implications although all could have been backed up safely.

Instead of doing some pre-check, I think the CFME should just try to dump the data and if there is no space left, then to properly report this (or any other error that could happen) to the user.



Version-Release number of selected component (if applicable):
cfme-5.11.0.19-1.el8cf.x86_64


How reproducible:
3/3

Steps to Reproduce:
1. Take big db
2. restore
3. Schedule backup to NFS with little bit more than what was the original backup

Actual results:
CFME won't allow the backup

Expected results:
backed up to NFS

Additional info:

Comment 2 Jaroslav Henner 2019-09-06 19:52:02 UTC
I linked the RFE to UI improvement.

Comment 4 Jaroslav Henner 2020-01-02 16:31:27 UTC
This is WONTFIX, so setting qe_tests_coverage-