Unable to install LEAPP on RHEL7 due to pulpcore using newer packets

Problem:
I’m planning to upgrade my foreman/katello setup from rhel 7 to rhel 8 due to the dropping support of el7 in next version. I was planning to use leapp for this. However I’m not able to install leapp on the server due to packet-conflicts with pulpcore. leapp requires dnf, which I can’t install.

Expected outcome:
A working LEAPP installation

Foreman and Proxy versions:
Foreman 3.3.0 and Katello 4.5.0

Distribution and version:
rhel 7

Other relevant data:

> yum install leapp
Loaded plugins: copr, fastestmirror, product-id, search-disabled-repos, subscription-manager
Loading mirror speeds from cached hostfile
 * centos-sclo-sclo: mirror.nsc.liu.se
 * epel: mirror.nsc.liu.se
 * epel-source: mirror.nsc.liu.se
 * epel-testing: mirror.nsc.liu.se
Resolving Dependencies
--> Running transaction check
---> Package leapp.noarch 0:0.14.0-1.el7_9 will be installed
--> Processing Dependency: python2-leapp = 0.14.0-1.el7_9 for package: leapp-0.14.0-1.el7_9.noarch
--> Processing Dependency: leapp-repository for package: leapp-0.14.0-1.el7_9.noarch
--> Running transaction check
---> Package leapp-upgrade-el7toel8.noarch 0:0.16.0-4.el7_9 will be installed
--> Processing Dependency: leapp-repository-dependencies = 6 for package: leapp-upgrade-el7toel8-0.16.0-4.el7_9.noarch
---> Package python2-leapp.noarch 0:0.14.0-1.el7_9 will be installed
--> Processing Dependency: leapp-framework-dependencies = 5 for package: python2-leapp-0.14.0-1.el7_9.noarch
--> Running transaction check
---> Package leapp-deps.noarch 0:0.14.0-1.el7_9 will be installed
---> Package leapp-upgrade-el7toel8-deps.noarch 0:0.16.0-4.el7_9 will be installed
--> Processing Dependency: dnf >= 4 for package: leapp-upgrade-el7toel8-deps-0.16.0-4.el7_9.noarch
--> Running transaction check
---> Package dnf.noarch 0:4.0.9.2-2.el7_9 will be installed
--> Processing Dependency: python2-dnf = 4.0.9.2-2.el7_9 for package: dnf-4.0.9.2-2.el7_9.noarch
--> Running transaction check
---> Package python2-dnf.noarch 0:4.0.9.2-2.el7_9 will be installed
--> Processing Dependency: dnf-data = 4.0.9.2-2.el7_9 for package: python2-dnf-4.0.9.2-2.el7_9.noarch
--> Processing Dependency: python2-hawkey >= 0.22.5 for package: python2-dnf-4.0.9.2-2.el7_9.noarch
--> Processing Dependency: python2-libcomps >= 0.1.8 for package: python2-dnf-4.0.9.2-2.el7_9.noarch
--> Processing Dependency: python2-libdnf >= 0.22.5 for package: python2-dnf-4.0.9.2-2.el7_9.noarch
--> Processing Dependency: python2-libdnf for package: python2-dnf-4.0.9.2-2.el7_9.noarch
--> Running transaction check
---> Package dnf-data.noarch 0:4.0.9.2-2.el7_9 will be installed
--> Processing Dependency: libreport-filesystem for package: dnf-data-4.0.9.2-2.el7_9.noarch
---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed
--> Processing Dependency: libdnf(x86-64) = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libdnf.so.2()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libjson-glib-1.0.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: librepo.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: librhsm.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
---> Package python2-libcomps.x86_64 0:0.1.8-14.el7 will be installed
--> Processing Dependency: libcomps(x86-64) = 0.1.8-14.el7 for package: python2-libcomps-0.1.8-14.el7.x86_64
--> Processing Dependency: libcomps.so.0.1.6()(64bit) for package: python2-libcomps-0.1.8-14.el7.x86_64
---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed
--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-libdnf-0.22.5-2.el7_9.x86_64
--> Running transaction check
---> Package json-glib.x86_64 0:1.4.2-2.el7 will be installed
---> Package libdnf.x86_64 0:0.22.5-2.el7_9 will be installed
--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolv.so.0(SOLV_1.1)(64bit) for package: libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolv.so.0()(64bit) for package: libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0()(64bit) for package: libdnf-0.22.5-2.el7_9.x86_64
---> Package librepo.x86_64 0:1.8.1-8.el7_9 will be installed
---> Package libreport-filesystem.x86_64 0:2.1.11-53.el7 will be installed
---> Package librhsm.x86_64 0:0.0.3-3.el7_9 will be installed
---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed
--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64
---> Package python2-libcomps.x86_64 0:0.1.8-14.el7 will be installed
--> Processing Dependency: libcomps(x86-64) = 0.1.8-14.el7 for package: python2-libcomps-0.1.8-14.el7.x86_64
--> Processing Dependency: libcomps.so.0.1.6()(64bit) for package: python2-libcomps-0.1.8-14.el7.x86_64
---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed
--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-libdnf-0.22.5-2.el7_9.x86_64
--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-libdnf-0.22.5-2.el7_9.x86_64
--> Finished Dependency Resolution
Error: Package: python2-libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
           Requires: libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-12.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-13.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Installed: libcomps-0.1.18-4.el7.x86_64 (@pulpcore/7)
               Not found
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.1)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.1)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.1)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
           Available: libsolv-0.6.11-1.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.20-5.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.26-1.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.26-2.el7.i686 (rhel-7-server-rpms)
               Not found
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
Error: Package: python2-libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
           Requires: libcomps(x86-64) = 0.1.8-14.el7
           Installed: libcomps-0.1.18-4.el7.x86_64 (@pulpcore/7)
               libcomps(x86-64) = 0.1.18-4.el7
           Available: libcomps-0.1.8-12.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-12.el7
           Available: libcomps-0.1.8-13.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-13.el7
           Available: libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-14.el7
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1(SOLV_1.0)(64bit)
Error: Package: python2-libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1(SOLV_1.0)(64bit)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: python2-libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
           Requires: libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-12.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-13.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Available: libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps.so.0.1.6()(64bit)
           Installed: libcomps-0.1.18-4.el7.x86_64 (@pulpcore/7)
               Not found
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.1)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.1)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.1)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
           Available: libsolv-0.6.11-1.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.20-5.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.26-1.el7.i686 (rhel-7-server-rpms)
               Not found
           Available: libsolv-0.6.26-2.el7.i686 (rhel-7-server-rpms)
               Not found
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
Error: Package: python2-libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
           Requires: libcomps(x86-64) = 0.1.8-14.el7
           Installed: libcomps-0.1.18-4.el7.x86_64 (@pulpcore/7)
               libcomps(x86-64) = 0.1.18-4.el7
           Available: libcomps-0.1.8-12.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-12.el7
           Available: libcomps-0.1.8-13.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-13.el7
           Available: libcomps-0.1.8-14.el7.x86_64 (rhel-7-server-extras-rpms)
               libcomps(x86-64) = 0.1.8-14.el7
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1(SOLV_1.0)(64bit)
              ~libsolv.so.1(SOLV_1.1)(64bit)
              ~libsolv.so.1(SOLV_1.2)(64bit)
              ~libsolv.so.1(SOLV_1.3)(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1(SOLV_1.0)(64bit)
Error: Package: python2-libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1()(64bit)
Error: Package: libdnf-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolv.so.0()(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolv.so.0()(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolv.so.1()(64bit)
Error: Package: python2-hawkey-0.22.5-2.el7_9.x86_64 (rhel-7-server-extras-rpms)
           Requires: libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.11-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.20-5.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-1.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.26-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-2.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Available: libsolv-0.6.34-4.el7.x86_64 (rhel-7-server-rpms)
               libsolvext.so.0(SOLV_1.0)(64bit)
           Installed: libsolv-0.7.22-4.el7.x86_64 (@pulpcore/7)
              ~libsolvext.so.1(SOLV_1.0)(64bit)

Our repos do provide special builds of libsolv and python-libcomps to avoid this issue (done via https://github.com/theforeman/pulpcore-packaging/pull/412).

Which pulpcore repository are you using (pulpcore/7 is not something we ship)?

Ah, it seems these packages didn’t make it to the 3.18 pulpcore repo that is used by Katello 4.5 (Index of /pulpcore/3.18/el7/x86_64).

I’ll see that this gets fixed.

1 Like

You were quicker than me :smiley: Thank you for the fast response on this!

So if you like to be quick, you need the packages from these two builds: libsolv0-0.6.34-4.el7 | Build Info | koji and python2-libcomps-0.1.15-5.pulp.el7 | Build Info | koji. libsolv0-0.6.34-4.el7.x86_64.rpm and python2-libcomps-0.1.15-5.pulp.el7.x86_64.rpm should do it.

I’ll make sure they do end up in the repos, but this will take a bit of time.

1 Like

I’m not in a hurry, but I will try it out within the next couple of days (before the weekend) and let you know of my results. Thanks again!

You can watch the official part of the process here: https://github.com/theforeman/pulpcore-packaging/pull/541

Related question, what is the best method to upgrade Satellite from rhel7 to rhel8? LEAPP or backup+restore?

“it depends” :wink:

Leapp should be quicker, doesn’t require a second machine (or prolonged downtime while you redeploy the one with el8), but isn’t supported for FIPS enabled systems.
Backup+Restore is certainly more classical and doesn’t require you to “learn” a new tool (as you have tested your restores regularly, right?)

That said, this is about Foreman/Katello, not Satellite :wink:

1 Like

The repos should now contain the needed builds.

Thanks @Odilhao!

1 Like

It works to install leapp now. Thanks guys, appreciate it!

1 Like

I’m running in to alot of errors when performing ‘leapp preupgrade’. Is this normal or am I missing something here?

 Problem 1: package foreman-installer-katello-1:3.3.0-1.el7.noarch requires katello-certs-tools, but none of the providers can be installed
  - package katello-certs-tools-2.9.0-1.el7.noarch requires python-setuptools, but none of the providers can be installed
  - conflicting requests
 Problem 2: package katello-4.5.0-1.el7.noarch requires candlepin >= 2.0, but none of the providers can be installed
  - package candlepin-4.1.11-1.el7.noarch requires /usr/bin/python, but none of the providers can be installed
  - conflicting requests
 Problem 3: package tfm-pulpcore-python3-createrepo_c-0.20.0-2.el7.x86_64 requires createrepo_c-libs = 0.20.0-2.el7, but none of the providers can be installed
  - cannot install the best candidate for the job
  - createrepo_c-libs-0.20.0-2.el7.x86_64 does not belong to a distupgrade repository
 Problem 4: package rh-ruby27-ruby-libs-2.7.4-130.el7.x86_64 requires libgdbm.so.4()(64bit), but none of the providers can be installed
  - package foreman-installer-1:3.3.0-1.el7.noarch requires rh-ruby27-ruby(release), but none of the providers can be installed
  - gdbm-1.10-8.el7.x86_64 does not belong to a distupgrade repository
  - conflicting requests
 Problem 5: problem with installed package ansible-2.9.27-1.el7.noarch
  - cannot install the best update candidate for package ansible-2.9.27-1.el7.noarch
  - problem with installed package ansible-test-2.9.27-1.el7.noarch
  - cannot install the best update candidate for package ansible-test-2.9.27-1.el7.noarch
  - package ansible-test-2.12.2-3.1.el8.x86_64 requires ansible-core = 2.12.2-3.1.el8, but none of the providers can be installed
  - package ansible-test-2.12.2-4.el8_6.x86_64 requires ansible-core = 2.12.2-4.el8_6, but none of the providers can be installed
  - package ansible-test-2.9.0-2.el8.noarch requires ansible = 2.9.0-2.el8, but none of the providers can be installed
  - package ansible-test-2.9.1-1.el8.noarch requires ansible = 2.9.1-1.el8, but none of the providers can be installed
  - package ansible-test-2.9.2-1.el8ae.noarch requires ansible = 2.9.2-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.4-1.el8ae.noarch requires ansible = 2.9.4-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.5-1.el8ae.noarch requires ansible = 2.9.5-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.6-1.el8ae.noarch requires ansible = 2.9.6-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.7-1.el8ae.noarch requires ansible = 2.9.7-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.9-1.el8ae.noarch requires ansible = 2.9.9-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.10-1.el8ae.noarch requires ansible = 2.9.10-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.11-1.el8ae.noarch requires ansible = 2.9.11-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.13-1.el8ae.noarch requires ansible = 2.9.13-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.14-1.el8ae.noarch requires ansible = 2.9.14-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.15-1.el8ae.noarch requires ansible = 2.9.15-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.16-1.el8ae.noarch requires ansible = 2.9.16-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.17-1.el8ae.noarch requires ansible = 2.9.17-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.18-1.el8ae.noarch requires ansible = 2.9.18-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.19-1.el8ae.noarch requires ansible = 2.9.19-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.20-1.el8ae.noarch requires ansible = 2.9.20-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.21-1.el8ae.noarch requires ansible = 2.9.21-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.22-1.el8ae.noarch requires ansible = 2.9.22-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.23-1.el8ae.noarch requires ansible = 2.9.23-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.24-1.el8ae.noarch requires ansible = 2.9.24-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.25-1.el8ae.noarch requires ansible = 2.9.25-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.26-1.el8ae.noarch requires ansible = 2.9.26-1.el8ae, but none of the providers can be installed
  - package ansible-core-2.12.2-3.1.el8.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
  - package ansible-core-2.12.2-4.el8_6.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.0-2.el8.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.1-1.el8.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.2-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.4-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.5-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.6-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.7-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.9-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.10-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.11-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.13-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.14-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.15-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.16-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.17-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.18-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.19-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.20-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.21-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.22-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.23-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.24-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.25-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.26-1.el8ae.noarch
  - ansible-test-2.9.27-1.el7.noarch does not belong to a distupgrade repository
  - ansible-2.9.27-1.el7.noarch does not belong to a distupgrade repository

No, preupgrade should finish cleanly.

You’re following Upgrading and Updating Foreman, right?

Oh, no I wasn’t. I was looking at this one: FOSDEM 2022 - Migrating Foreman/Katello from EL7 to EL8 using LEAPP/ELevate together with the official LEAPP documentation from Redhat. My fault, sorry.

I’ve followed the working documentation now and it looks quite a lot better. However, it still complains about not finding a suitable candidate for (ansible and ansible-test) together with some more errors/warning in the top. Would it be ok to remove ansible or could that break the upgrade? See output below.

STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
Warning: Package marked by Leapp to install not found in repositories metadata: rubygem-foreman_ansible_core python38-pulp-python rubygem-foreman-tasks-core python38-pulp-certguard boost-python3-devel python38-pulpcore python38-pulp-cli python38-pulp-container boost-python3 python38-pulp-ansible rubygem-foreman_remote_execution_core python38-pulp-rpm log4j12 python38-pulp-deb python38-pulp-file
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp
Transaction check: 

 Problem: problem with installed package ansible-2.9.27-1.el7.noarch
  - cannot install the best update candidate for package ansible-2.9.27-1.el7.noarch
  - problem with installed package ansible-test-2.9.27-1.el7.noarch
  - cannot install the best update candidate for package ansible-test-2.9.27-1.el7.noarch
  - package ansible-test-2.12.2-3.1.el8.x86_64 requires ansible-core = 2.12.2-3.1.el8, but none of the providers can be installed
  - package ansible-test-2.12.2-4.el8_6.x86_64 requires ansible-core = 2.12.2-4.el8_6, but none of the providers can be installed
  - package ansible-test-2.9.0-2.el8.noarch requires ansible = 2.9.0-2.el8, but none of the providers can be installed
  - package ansible-test-2.9.1-1.el8.noarch requires ansible = 2.9.1-1.el8, but none of the providers can be installed
  - package ansible-test-2.9.2-1.el8ae.noarch requires ansible = 2.9.2-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.4-1.el8ae.noarch requires ansible = 2.9.4-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.5-1.el8ae.noarch requires ansible = 2.9.5-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.6-1.el8ae.noarch requires ansible = 2.9.6-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.7-1.el8ae.noarch requires ansible = 2.9.7-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.9-1.el8ae.noarch requires ansible = 2.9.9-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.10-1.el8ae.noarch requires ansible = 2.9.10-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.11-1.el8ae.noarch requires ansible = 2.9.11-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.13-1.el8ae.noarch requires ansible = 2.9.13-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.14-1.el8ae.noarch requires ansible = 2.9.14-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.15-1.el8ae.noarch requires ansible = 2.9.15-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.16-1.el8ae.noarch requires ansible = 2.9.16-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.17-1.el8ae.noarch requires ansible = 2.9.17-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.18-1.el8ae.noarch requires ansible = 2.9.18-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.19-1.el8ae.noarch requires ansible = 2.9.19-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.20-1.el8ae.noarch requires ansible = 2.9.20-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.21-1.el8ae.noarch requires ansible = 2.9.21-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.22-1.el8ae.noarch requires ansible = 2.9.22-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.23-1.el8ae.noarch requires ansible = 2.9.23-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.24-1.el8ae.noarch requires ansible = 2.9.24-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.25-1.el8ae.noarch requires ansible = 2.9.25-1.el8ae, but none of the providers can be installed
  - package ansible-test-2.9.26-1.el8ae.noarch requires ansible = 2.9.26-1.el8ae, but none of the providers can be installed
  - package ansible-core-2.12.2-3.1.el8.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
  - package ansible-core-2.12.2-4.el8_6.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.0-2.el8.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.1-1.el8.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.2-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.4-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.5-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.6-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.7-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.9-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.10-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.11-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.13-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.14-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.15-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.16-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.17-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.18-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.19-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.20-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.21-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.22-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.23-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.24-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.25-1.el8ae.noarch
  - cannot install both ansible-2.9.27-1.el8ae.noarch and ansible-2.9.26-1.el8ae.noarch
  - ansible-test-2.9.27-1.el7.noarch does not belong to a distupgrade repository
  - ansible-2.9.27-1.el7.noarch does not belong to a distupgrade repository

Oh right, you’re on RHEL. Yeah, just yank Ansible for a moment: rpm -e ansible ansible-test --nodeps (this will make your system not be able to run Ansible playbooks until the upgrade is completed, but otherwise it should be “safe”)

And yes, a few things changed since my FOSDEM talk.

1 Like

That did the trick, awesome! The report is green now, wish me luck! :smiley:

The upgrade stops with an ERROR.

Error Summary
--------------------
Disk Requirements:
    At least 738MB more space neeeded on the / filesystem.

I tried increasing / with 100GB, but still get the same error-message.

Filesystem                 Size  Used Avail Use% Mounted on
devtmpfs                    32G     0   32G   0% /dev
tmpfs                       32G  5.9M   32G   1% /dev/shm
tmpfs                       32G   20M   32G   1% /run
tmpfs                       32G     0   32G   0% /sys/fs/cgroup
/dev/mapper/vg_01-lv_root  140G   10G  131G   8% /
/dev/mapper/vg_01-lv_tmp    10G   53M   10G   1% /tmp
/dev/sda1                  497M  156M  342M  32% /boot
/dev/mapper/vg_01-lv_opt    10G  2.2G  7.8G  22% /opt
/dev/mapper/vg_01-lv_home   24G   17G  7.3G  70% /home
/dev/mapper/vg_01-lv_var   608G  406G  202G  67% /var

Filesystem is XFS.

Any clue?

Nope, not have seen that one.

[leapp] At least X MB more space needed on the </XXX> filesystem - Red Hat Customer Portal This solved the issue with “At least 738MB more space neeeded on the / filesystem”.

A simple:

export LEAPP_OVL_SIZE=4096

I got this.

> journalctl -u leapp_resume
-- Logs begin at Thu 2022-08-11 17:17:30 CEST, end at Thu 2022-08-11 17:29:42 CEST. --
Aug 11 17:19:05 katello01.infra.aza.nu systemd[1]: Starting Temporary Leapp service which resumes execution after reboot...
Aug 11 17:19:20 katello01.infra.aza.nu leapp3[7838]: ==> Processing phase `FirstBoot`
Aug 11 17:19:20 katello01.infra.aza.nu leapp3[7838]: ====> * network_manager_update_connections
Aug 11 17:19:20 katello01.infra.aza.nu leapp3[7838]:         Update NetworkManager connections.
Aug 11 17:19:20 katello01.infra.aza.nu leapp3[7838]: ====> * enable_rhsm_target_repos
Aug 11 17:19:20 katello01.infra.aza.nu leapp3[7838]:         On the upgraded target system, set release and enable repositories that were used during the upgrade
Aug 11 17:20:12 katello01.infra.aza.nu leapp3[7838]: ====> * satellite_upgrader
Aug 11 17:20:12 katello01.infra.aza.nu leapp3[7838]:         Execute installer in the freshly booted system, to finalize Satellite configuration
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[8724]: 2022-08-11 17:22:09.384 ERROR    PID: 8724 leapp.workflow.FirstBoot.satellite_upgrader: Could not run the installer, please inspect the logs in /var/log/foreman-installer!
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[8724]: Running the installer. This can take a while.
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: ====> * remove_systemd_resume_service
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]:         Remove systemd service to launch Leapp.
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: Debug output written to /var/log/leapp/leapp-upgrade.log
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: ============================================================
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]:                            REPORT
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: ============================================================
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: A report has been generated at /var/log/leapp/leapp-report.json
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: A report has been generated at /var/log/leapp/leapp-report.txt
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: ============================================================
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]:                        END OF REPORT
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: ============================================================
Aug 11 17:22:09 katello01.infra.aza.nu leapp3[7838]: Answerfile has been generated at /var/log/leapp/answerfile
Aug 11 17:22:09 katello01.infra.aza.nu systemd[1]: leapp_resume.service: Succeeded.
Aug 11 17:22:09 katello01.infra.aza.nu systemd[1]: Started Temporary Leapp service which resumes execution after reboot.

Grep’ed for errors in /var/log/foreman-installer/katello.log

2022-08-11 17:20:25 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-08-11 17:20:30 [DEBUG ] [configure] -D DEFAULT_ERRORLOG="logs/error_log"
2022-08-11 17:20:30 [DEBUG ] [configure] -D DEFAULT_ERRORLOG="logs/error_log"
2022-08-11 17:20:50 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install qpid-cpp-server-linearstore' returned 1: Error: Unable to find a match: qpid-cpp-server-linearstore
2022-08-11 17:20:50 [ERROR ] [configure] /Stage[main]/Qpid::Install/Package[qpid-cpp-server-linearstore]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install qpid-cpp-server-linearstore' returned 1: Error: Unable to find a match: qpid-cpp-server-linearstore
2022-08-11 17:20:54 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulp-cli' returned 1: Error: Unable to find a match: pulp-cli
2022-08-11 17:20:54 [ERROR ] [configure] /Stage[main]/Pulpcore::Cli/Package[pulp-cli]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulp-cli' returned 1: Error: Unable to find a match: pulp-cli
2022-08-11 17:21:15 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(container)' returned 1: Error: Unable to find a match: pulpcore-plugin(container)
2022-08-11 17:21:15 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Container/Pulpcore::Plugin[container]/Package[pulpcore-plugin(container)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(container)' returned 1: Error: Unable to find a match: pulpcore-plugin(container)
2022-08-11 17:21:18 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(file)' returned 1: Error: Unable to find a match: pulpcore-plugin(file)
2022-08-11 17:21:18 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::File/Pulpcore::Plugin[file]/Package[pulpcore-plugin(file)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(file)' returned 1: Error: Unable to find a match: pulpcore-plugin(file)
2022-08-11 17:21:22 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(rpm)' returned 1: Error: Unable to find a match: pulpcore-plugin(rpm)
2022-08-11 17:21:22 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Rpm/Pulpcore::Plugin[rpm]/Package[pulpcore-plugin(rpm)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(rpm)' returned 1: Error: Unable to find a match: pulpcore-plugin(rpm)
2022-08-11 17:21:25 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(deb)' returned 1: Error: Unable to find a match: pulpcore-plugin(deb)
2022-08-11 17:21:25 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Deb/Pulpcore::Plugin[deb]/Package[pulpcore-plugin(deb)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(deb)' returned 1: Error: Unable to find a match: pulpcore-plugin(deb)
2022-08-11 17:21:28 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)' returned 1: Error: Unable to find a match: pulpcore-plugin(ansible)
2022-08-11 17:21:28 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Ansible/Pulpcore::Plugin[ansible]/Package[pulpcore-plugin(ansible)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(ansible)' returned 1: Error: Unable to find a match: pulpcore-plugin(ansible)
2022-08-11 17:21:32 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(python)' returned 1: Error: Unable to find a match: pulpcore-plugin(python)
2022-08-11 17:21:32 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Python/Pulpcore::Plugin[python]/Package[pulpcore-plugin(python)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(python)' returned 1: Error: Unable to find a match: pulpcore-plugin(python)
2022-08-11 17:21:35 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(certguard)' returned 1: Error: Unable to find a match: pulpcore-plugin(certguard)
2022-08-11 17:21:35 [ERROR ] [configure] /Stage[main]/Pulpcore::Plugin::Certguard/Pulpcore::Plugin[certguard]/Package[pulpcore-plugin(certguard)]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install pulpcore-plugin(certguard)' returned 1: Error: Unable to find a match: pulpcore-plugin(certguard)