Fresh installation of Foreman Katello 3.10 fails

Using the same install guide that I did some weeks ago, now doesn’t work: https://theforeman.org/plugins/katello/3.10/installation/index.html

Error: python2-kombu conflicts with python2-amqp-2.4.0-1.el7.noarch
Error: Package: 1:python2-kombu-4.0.2-10.el7.noarch (pulp)
           Requires: python2-amqp < 2.3
           Available: python2-amqp-2.2.2-4.el7.noarch (pulp)
               python2-amqp = 2.2.2-4.el7
           Installing: python2-amqp-2.4.0-1.el7.noarch (epel)
               python2-amqp = 2.4.0-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

googling the error hasn’t brought any solution sofar.
System is CentOS Linux release 7.6.1810 (Core)
Installation was webserver “template”.

Did you try to downgrade amqp to < 2.3 ?

no, I just followed the steps in the documentation. Should I manually downgrade it ? if so how would i even do that ?

This is a very new issue that broke just some days ago with upstream EPEL and pulp repositories.
You can find some hints how to work around this here: Pulp celery stack conflicts with epel versions

As far as I can see you install the python2-amqp-2.4 from epel repository.

Try yum downgrade python2-amqp-2.2.2-4.el7

Otherwise if you installed it via pip pip install amqp=2.2.2-4

Thank you both for the good tips. Wouls it eventually be better to try installing 3.11-rc2 ? or will I have to expect simmillar or worse issues ?

From the explained situation in the above liked thread I would guess that you have to expect something similar. I doubt Katello packages have been updated to reflect this yet.

haven’t had any luck yet. yum downgrade python2-amqp-2.2.2-4.el7 gives me :

 No Match for available package: python2-amqp-2.2.2-4.el7.noarch
 Nothing to do

I tried the hints from : https://community.theforeman.org/t/pulp-celery-stack-conflicts-with-epel-versions/12960

But still the same error:

--> Processing Conflict: 1:python2-kombu-4.0.2-10.el7.noarch conflicts python2-amqp >= 2.3
--> Finished Dependency Resolution
Error: python2-kombu conflicts with python2-amqp-2.4.0-1.el7.noarch
Error: Package: 1:python2-kombu-4.0.2-10.el7.noarch (pulp)
           Requires: python2-amqp < 2.3
           Available: python2-amqp-2.2.2-4.el7.noarch (pulp)
               python2-amqp = 2.2.2-4.el7
           Installing: python2-amqp-2.4.0-1.el7.noarch (epel)
               python2-amqp = 2.4.0-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

To be precise I changed /etc/yum.repo.d/epel.repo:

[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
exclude=python-celery*  python-kombu* python-amqp* python-vine*
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

and
katello.repo:

[pulp]
name=Pulp Community Release
baseurl=https://repos.fedorapeople.org/repos/pulp/pulp/stable/2.18/$releasever/$basearch
gpgkey=https://repos.fedorapeople.org/repos/pulp/pulp/GPG-RPM-KEY-pulp-2
enabled=1
priorty=2
gpgcheck=1

Manually installing yum install python2-amqp-2.2.2-4.el7 from the Pulp repository brought the success. Now Foreman Katello 3.10 installed successfully.

Pulp is changing their strategy for ensuring the proper celery stack is installed. The fix should be out sometime today hopefully, and this issue should no longer arise.

You can check this thread out for updates: Pulp celery stack conflicts with epel versions

3 Likes