Description of problem: Required space check is calculated incorrectly when there are mounted volumes Version-Release number of selected component (if applicable): satellite-clone-1.1.4-1.el7sat.noarch How reproducible: Always Steps to Reproduce: Code in pre_install_check.yml: - name: find root partition's free space set_fact: root_free_space: "{{ (item.size_available | int) / 1000000000 }}" cacheable: true when: item.mount == "/" with_items: "{{ hostvars[inventory_hostname] ['ansible_mounts'] }}" The above logic ignores the mounted volume space so an error is thrown although the user has enough space on the mounted volumes. Sample file system where this check failed: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/root_vg-root_lv 2.0G 74M 2.0G 4% / /dev/mapper/root_vg-usr_lv 6.0G 2.1G 4.0G 35% /usr /dev/mapper/root_vg-home_lv 2.0G 33M 2.0G 2% /home /dev/mapper/root_vg-var_lv 6.0G 2.2G 3.9G 36% /var /dev/mapper/data_vg-rhsatVarLib_lv 800G 184M 800G 1% /var/lib Actual results: Space check failed although mounted volumes had a lot of space. Expected results: Space check logic should consider the mounted volumes too. Additional info:
Workaround: Go to /etc/satellite-clone/satellite-clone-vars.yml -> Change the value of `required_root_free_space` to 0
*** Bug 1523790 has been marked as a duplicate of this bug. ***
As my bug (1523790) was merged into this one, I'd add this: Per the 6.3 beta document, Upgrading and Updating Red Hat Satellite, the Before You Begin (2.1.2) section says this: The target server must have capacity to store the backup files, which the source server transfers to the target server, and the backup files when they are restored. This document does not say how much space the source server should have, or how to calculate how much space to provision. The command line entry only suggests an output directory of /backup/ In section 2.1.4, Step 10: The satellite-clone command does not specify which server the administrator should use.
*** Bug 1523495 has been marked as a duplicate of this bug. ***
upstream PR merged
Space check is already removed in production in current release. This bug is not applicable anymore.