Problem:
After following the usual instructions to update the RPMs from Foreman 1.24.2 to 2.0 and Katello 3.14. to 3.15 (https://www.theforeman.org/plugins/katello/3.15/upgrade/index.html).
I get the Error “Failed to verify available disk space” in the upgrade-step.
foreman-installer --scenario katello --upgrade -v
[ INFO 2020-05-11T18:30:19 verbose] Executing hooks in group pre_migrations
[ INFO 2020-05-11T18:30:19 verbose] All hooks in group pre_migrations finished
[ INFO 2020-05-11T18:30:19 verbose] Executing hooks in group boot
[ INFO 2020-05-11T18:30:19 verbose] All hooks in group boot finished
[ INFO 2020-05-11T18:30:19 verbose] Executing hooks in group init
[ INFO 2020-05-11T18:30:19 verbose] All hooks in group init finished
[ INFO 2020-05-11T18:30:19 verbose] Loading default values from puppet modules...
[ INFO 2020-05-11T18:30:19 verbose] ... finished
[ INFO 2020-05-11T18:30:19 verbose] Executing hooks in group pre_values
[ INFO 2020-05-11T18:30:19 verbose] All hooks in group pre_values finished
[ INFO 2020-05-11T18:30:19 verbose] Running installer with args [["--scenario", "katello", "--upgrade", "-v"]]
[ INFO 2020-05-11T18:30:19 verbose] Executing hooks in group pre_validations
Failed to verify available disk space
[ERROR 2020-05-11T18:30:21 verbose] Failed to verify available disk space
[ INFO 2020-05-11T18:30:21 verbose] Installer finished in 11.876826966 seconds
At the moment the installation uses 42GB and 54GB are free.
Expected outcome:
Upgrade to Foreman 2.0 and Katello 3.15
Foreman and Proxy versions:
foreman-2.0.0-2.el7.noarch
Foreman and Proxy plugin versions:
foreman-proxy-2.0.0-1.el7.noarch
That was it.
There is a facter under /usr/local/bin with version 2.5.1.
At the moment I don’t know from where it originates, as it does not belong to a rpm package.
If I rename that one, it works.