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 - Free space check fail even there is enough free space in the disk partation
Summary: Free space check fail even there is enough free space in the disk partation
Keywords:
Status: CLOSED DUPLICATE of bug 1519535
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Clone
Version: 6.3.0
Hardware: All
OS: Linux
urgent
high
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-08 07:17 UTC by Ranjan Kumar
Modified: 2019-04-12 15:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-15 20:30:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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