While attempting to building a new Katello server version 3.18RC1 I am unable to install due to a package requirement of python2-qpid. It appears this package has been removed from the epel repository, making installation of Katello impossible. This was attempted on a fresh Centos 7 minimal installation following the installation guide provided by the documentation. In fact, I followed the guide a week or so ago with no issues.
When following the installation guide, running yum install -y katello should install all the proper packages. Running a --skip-broken doesnât install the proper packages. Iâve tried to install several other packages, and manually download and install the RPM, but all the google links are dead, and a manual compile doesnât seem to resolve the dependency either.
updates: mirrors.gigenet.com
Resolving Dependencies
â> Running transaction check
â> Package katello.noarch 0:3.18.0-0.1.rc1.el7 will be installed
â> Package qpid-tools.noarch 0:1.39.0-1.el7 will be installed
â> Processing Dependency: python2-qpid for package: qpid-tools-1.39.0-1.el7.noarch
â> Package tfm-rubygem-public_suffix.noarch 0:3.0.3-2.el7 will be installed
â> Finished Dependency Resolution
Error: Package: qpid-tools-1.39.0-1.el7.noarch (epel)
Requires: python2-qpid
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I can confirm the workaround works and lets me install packages.
I however couldnât find any notes around if the removal from epel was accidental or intentional. However given that the python 2 is no longer supported, Iâm suspecting this is probably an intentional action.
For now Iâll hold onto this package, as Iâm just starting my journey down Foreman, and will probably be building / rebuilding it several more times.
Update: looks like the previous EPEL maintainer started https://copr.fedorainfracloud.org/coprs/g/qpid/qpid/ and weâre going to add that as a dependency. Until updated katello release files are available itâs recommended to manually enable that.
Is this issue related?
When executing the repo installation steps, the following katello package for qpid gets inststalled, which causes yum update to complain.
I was able to bypass it by setting enable = 1, but I suspect it breaks things further down the installer because the installer breaks later in the install process citing package repo locks etc.
from /etc/yum.repos.d/katello.repo
[qpid]
name=Copr repo for qpid owned by @qpid
baseurl=https://download.copr.fedorainfracloud.org/results/@qpid/qpid/epel-7-$basearch/
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/@qpid/qpid/pubkey.gpg
enabled=@PULP_ENABLED@
I gave it another run with 18RC1 using the same install on a reverted vm,
still getting errors later in the install run.
2020-12-09 14:28:54 [ERROR ] [configure] /Stage[main]/Pulpcore::Static/Pulpcore::Admin[collectstatic --noinput]/Exec[pulpcore-manager collectstatic --noinput]: Failed to call refresh: âpulpcore-manager collectstatic --noinputâ returned 1 instead of one of [0]
2020-12-09 14:28:54 [ERROR ] [configure] /Stage[main]/Pulpcore::Static/Pulpcore::Admin[collectstatic --noinput]/Exec[pulpcore-manager collectstatic --noinput]: âpulpcore-manager collectstatic --noinputâ returned 1 instead of one of [0]
2020-12-09 14:29:33 [NOTICE] [configure] 1300 out of 2205 done.
2020-12-09 14:37:06 [ERROR ] [configure] âpulpcore-manager migrate --noinputâ returned 1 instead of one of [0]
2020-12-09 14:37:06 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ânotrunâ to [â0â] failed: âpulpcore-manager migrate --noinputâ returned 1 instead of one of [0]
2020-12-09 14:37:07 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]: Failed to call refresh: âpulpcore-manager migrate --noinputâ returned 1 instead of one of [0]
2020-12-09 14:37:07 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]: âpulpcore-manager migrate --noinputâ returned 1 instead of one of [0]
Note that for my install I am using custom certs, but they validated OK with katello-certs-check - in fact, the install command spit out by that tool is what is executedâŚ