Host registration error

centos 7 host registration error:

[root@myserver] # rpm -i katello-ca-consumer-latest.noarch.rpm
error: Failed dependencies:
        rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by katello-ca-consumer-mos-as-foreman01.ceb.loc-1.0-1.noarch

[root@myserver] # cat /etc/*-release
^[[ACentOS Linux release 7.9.2009 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.9.2009 (Core)
CentOS Linux release 7.9.2009 (Core)


#### System Information

Version 3.10.0 © 2009-2024 Paul Kelly and [Ohad Levy](mailto:ohadlevy@gmail.com)

#### Installed Packages

* candlepin-4.3.12-1.el9.noarch
* candlepin-selinux-4.3.12-1.el9.noarch
* foreman-3.10.0-1.el9.noarch
* foreman-cli-3.10.0-1.el9.noarch
* foreman-dynflow-sidekiq-3.10.0-1.el9.noarch
* foreman-installer-3.10.0-1.el9.noarch
* foreman-installer-katello-3.10.0-1.el9.noarch
* foreman-postgresql-3.10.0-1.el9.noarch
* foreman-proxy-3.10.0-1.el9.noarch
* foreman-redis-3.10.0-1.el9.noarch
* foreman-release-3.10.0-1.el9.noarch
* foreman-selinux-3.10.0-1.el9.noarch
* foreman-service-3.10.0-1.el9.noarch
* katello-4.12.0-1.el9.noarch
* katello-certs-tools-2.9.0-2.el9.noarch
* katello-client-bootstrap-1.7.9-2.el9.noarch
* katello-common-4.12.0-1.el9.noarch
* katello-repos-4.12.0-1.el9.noarch
* katello-selinux-5.0.2-1.el9.noarch
* pulpcore-selinux-2.0.1-1.el9.x86_64
* python3.11-pulp-ansible-0.20.2-3.el9.noarch
* python3.11-pulp-certguard-1.7.1-2.el9.noarch
* python3.11-pulp-cli-0.21.2-5.el9.noarch
* python3.11-pulp-container-2.16.4-1.el9.noarch
* python3.11-pulp-deb-3.0.1-1.el9.noarch
* python3.11-pulp-file-1.15.1-2.el9.noarch
* python3.11-pulp-glue-0.21.2-3.el9.noarch
* python3.11-pulp-python-3.10.0-3.el9.noarch
* python3.11-pulp-rpm-3.23.3-1.el9.noarch
* python3.11-pulpcore-3.39.11-1.el9.noarch
* rubygem-foreman-tasks-9.1.1-1.fm3_11.el9.noarch
* rubygem-foreman_maintain-1.5.1-1.el9.noarch
* rubygem-foreman_remote_execution-13.0.0-1.fm3_11.el9.noarch
* rubygem-hammer_cli-3.10.0-1.el9.noarch
* rubygem-hammer_cli_foreman-3.10.0-1.el9.noarch
* rubygem-hammer_cli_foreman_remote_execution-0.3.0-1.el9.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.20-1.el9.noarch
* rubygem-hammer_cli_katello-1.12.0-0.1.pre.master.el9.noarch
* rubygem-katello-4.12.0-1.el9.noarch
* rubygem-pulp_ansible_client-0.20.3-1.el9.noarch
* rubygem-pulp_certguard_client-1.6.5-1.el9.noarch
* rubygem-pulp_container_client-2.16.4-1.el9.noarch
* rubygem-pulp_deb_client-3.0.1-1.el9.noarch
* rubygem-pulp_file_client-1.15.1-1.el9.noarch
* rubygem-pulp_ostree_client-2.1.3-1.el9.noarch
* rubygem-pulp_python_client-3.10.0-1.el9.noarch
* rubygem-pulp_rpm_client-3.23.2-1.el9.noarch
* rubygem-pulpcore_client-3.39.9-1.el9.noarch
* rubygem-smart_proxy_pulp-3.3.0-1.el9.noarch

This is something we didn’t anticipate. The problem appears to be that RPMs built using EL9 rpmbuild aren’t installable on EL7 because rpm is too old.

We’ve been intending to deprecate the consumer RPM and replace it with global registration. Short term that’s the quickest way to move forward.

Then we should consider a solution. Given it’s already deprecated, I’m leaning to adding a warning to the documentation and moving ahead with the deprecation faster.

3 Likes

Notes for myself (as I want to work on a fix): This comes via Changes/Switch RPMs to zstd compression - Fedora Project Wiki that is present in RHEL9+ – we might be able to disable zstd by redefining the %_binary_payload

1 Like