Problem:
I’m trying to upgrade our Katello dev environment to RHEL8 using LEAP, following the inplace upgrade guie. I managed to sort out most problems, but now leapp preupgrade
failes with dnf errors.
Expected outcome:
Working inplace upgrade
Foreman and Proxy versions:
3.2.1
Foreman and Proxy plugin versions:
- foreman-tasks 6.0.1
- foreman_bootdisk 19.0.3
- foreman_discovery 20.0.1
- foreman_expire_hosts 7.0.4
- foreman_hooks 0.3.17
- foreman_puppet 3.0.7
- foreman_remote_execution 6.0.0
- foreman_scc_manager 1.8.20
- foreman_snapshot_management 2.0.1
- foreman_templates 9.1.0
- foreman_webhooks 3.0.3
- katello 4.4.1
- puppetdb_foreman 5.0.0
Distribution and version:
RHEL7.9
Other relevant data:
Errors shown by leapp preupgrade
============================================================
ERRORS
============================================================
2022-08-22 16:35:10.860397 [ERROR] Actor: dnf_transaction_check
Message: DNF execution failed with non zero exit code.
STDOUT:
Last metadata expiration check: 0:01:06 ago on Mon Aug 22 16:33:51 2022.
Package tfm-rubygem-smart_proxy_dynflow-0.7.0-1.fm3_2.el7.noarch is already installed.
Package foreman-installer-katello-1:3.2.1-2.el7.noarch is already installed.
Package python3-cffi-1.14.5-1.el7.x86_64 is already installed.
Package tfm-pulpcore-python3-createrepo_c-0.20.0-1.el7.x86_64 is already installed.
Package rubygem-foreman_maintain-1:1.0.10-1.el7.noarch is already installed.
Package python3-cryptography-2.9.2-1.el7.x86_64 is already installed.
Package python3-jinja2-2.11.3-1.el7.noarch is already installed.
Package python3-pyOpenSSL-19.1.0-1.el7.noarch is already installed.
Package python3-pycparser-2.20-1.el7.noarch is already installed.
Package python3-idna-2.10-1.el7.noarch is already installed.
Package python3-six-1.15.0-1.el7.noarch is already installed.
Package python3-iniparse-0.4-33.el7.noarch is already installed.
Package python3-urllib3-1.26.6-1.el7.noarch is already installed.
Package python3-pyparsing-2.4.7-1.el7.noarch is already installed.
Package python3-requests-2.25.1-1.el7.noarch is already installed.
Package python3-dateutil-2.8.1-3.el7.noarch is already installed.
Package katello-4.4.1-1.el7.noarch is already installed.
Package python3-subscription-manager-rhsm-1.27.5-2.el7.x86_64 is already installed.
Package python3-chardet-3.0.4-2.el7.noarch is already installed.
Package tfm-rubygem-smart_proxy_remote_execution_ssh-0.5.3-1.fm3_2.el7.noarch is already installed.
Package python3-lxml-4.6.3-1.el7.x86_64 is already installed.
Package python3-markupsafe-1.1.1-2.el7.x86_64 is already installed.
Package foreman-installer-1:3.2.1-2.el7.noarch is already installed.
Package python3-pyyaml-5.4.1-1.el7.x86_64 is already installed.
Package python3-pytz-2021.1-1.el7.noarch is already installed.
Package createrepo_c-0.20.0-1.el7.x86_64 is already installed.
STDERR:
Warning: Package marked by Leapp to install not found in repositories metadata: rubygem-foreman-tasks-core boost-python3-devel boost-python3 rubygem-foreman_remote_execution_core log4j12
Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp-upgrade-el7toel8 leapp python2-leapp
Transaction check:
Problem: package rubygem-angular-rails-templates-1:1.1.0-2.el8.noarch requires rubygem(railties) < 7, but none of the providers can be installed
- package rubygem-angular-rails-templates-1:1.1.0-2.el8.noarch requires rubygem(railties) >= 4.2, but none of the providers can be installed
- package rubygem-angular-rails-templates-1:1.1.0-2.el8.noarch requires (rubygem(railties) >= 4.2 with rubygem(railties) < 7), but none of the providers can be installed
- package rubygem-katello-4.4.1-1.el8.noarch requires rubygem(angular-rails-templates) >= 1.1.0, but none of the providers can be installed
- package rubygem-katello-4.4.1-1.el8.noarch requires rubygem(angular-rails-templates) < 1.2, but none of the providers can be installed
- package rubygem-railties-6.0.3.7-1.el8.noarch requires rubygem(thor) < 2.0, but none of the providers can be installed
- cannot install the best candidate for the job
- conflicting requests