Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1523495

Summary: Free space check fail even there is enough free space in the disk partation
Product: Red Hat Satellite Reporter: Ranjan Kumar <rankumar>
Component: Satellite CloneAssignee: John Mitsch <jomitsch>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.3.0CC: ahumbe, bbuckingham, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-15 20:30:53 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 Ranjan Kumar 2017-12-08 07:17:24 UTC
Description of problem: After modifying variable required_root_free_space, satellite still complain about less space and error message is misleading

TASK [satellite-clone : debug] ************************************************************************************************************************************************************************************
ok: [localhost] => {
    "msg": "Free space in root partition is 40.045805568GB and required free space is atleast 35GB. ***NOTE:*** If you have more pulp data, it is your responsibility to check for the required free space.  Perhaps you can increase the required_root_free_space variable to a desired high value."
}


How reproducible: Always


Steps to Reproduce:
1. Make sure disk space is less than 75 GB, after running satellite-clone, It raise error message for less disk space as given below

TASK [satellite-clone : debug] ************************************************************************************************************************************************************************************
Friday 08 December 2017  06:44:51 +0530 (0:00:00.083)       0:00:04.900 ******* 
ok: [localhost] => {
    "msg": "Free space in root partition is 32.03147776GB and required free space is atleast 75GB. ***NOTE:*** If you have more pulp data, it is your responsibility to check for the required free space.  Perhaps you can increase the required_root_free_space variable to a desired high value."
}

2. Now free some space and
Open /usr/share/satellite-clone/satellite-clone-vars.yml and modify required_root_free_space to 35 

TASK [satellite-clone : debug] ************************************************************************************************************************************************************************************
ok: [localhost] => {
    "msg": "Free space in root partition is 40.045805568GB and required free space is atleast 35GB. ***NOTE:*** If you have more pulp data, it is your responsibility to check for the required free space.  Perhaps you can increase the required_root_free_space variable to a desired high value."
}


Actual results:
"Free space in root partition is 40.045805568GB and required free space is atleast 35GB"

Expected results: It should not raise error


Additional info:

Comment 2 sthirugn@redhat.com 2018-01-15 20:30:53 UTC
The space check will be removed and is tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1519535

*** This bug has been marked as a duplicate of bug 1519535 ***