Foreman 3.9/Katello 4.11 upgrade issues

Problem:

RPM installs fails, it appears that it might be a conflict with ansible packages installed - ansible 2.9.27.
We are actively using ansible 2.9.27 and do not have access to ansible automation platform currently so an ansible-core >2.10 installation would have to be via a pip install and would not appear as an RPM.

Is there a workaround to be able to upgrade Foreman/Katello and leave existing ansible version in place?

The selinux-policy errors might be unrelated.

# dnf update
Updating Subscription Management repositories.
Last metadata expiration check: 0:19:16 ago on Thu 08 Aug 2024 13:18:41 BST.
Error:
Problem 1: cannot install the best update candidate for package candlepin-selinux-4.3.1-1.el8.noarch

  • nothing provides selinux-policy >= 3.14.3-128.el8_9.1 needed by candlepin-selinux-4.3.12-1.el8.noarch
  • nothing provides selinux-policy-base >= 3.14.3-128.el8_9.1 needed by candlepin-selinux-4.3.12-1.el8.noarch
    Problem 2: cannot install the best update candidate for package foreman-selinux-3.8.0-1.el8.noarch
  • nothing provides selinux-policy >= 3.14.3-128.el8_9.1 needed by foreman-selinux-3.9.3-1.el8.noarch
    Problem 3: cannot install the best update candidate for package pulpcore-selinux-2.0.0-1.el8.x86_64
  • nothing provides selinux-policy >= 3.14.3-128.el8_9.1 needed by pulpcore-selinux-2.0.1-1.el8.x86_64
    Problem 4: package ansible-test-2.14.2-4.el8_8.x86_64 requires ansible-core = 2.14.2-4.el8_8, but none of the providers can be installed
  • package ansible-core-2.14.2-4.el8_8.x86_64 conflicts with ansible < 2.10.0 provided by ansible-2.9.27-1.el8ae.noarch
  • cannot install the best update candidate for package ansible-test-2.9.27-1.el8ae.noarch
  • cannot install the best update candidate for package ansible-2.9.27-1.el8ae.noarch
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

Foreman and Proxy versions:
Installed Packages
foreman.noarch 3.8.0-1.el8
katello.noarch 4.10.0-1.el8

Distribution and version:

Red Hat Enterprise Linux release 8.8

Foreman/Katello will always default to the latest release of EL, you need 8.10 bits, using 8.8 will not work when you try to upgrade the packages for Katello.

Thanks for your input, I will have to postpone the upgrades until we upgrade RHEL OS to 8.10 :slight_smile: