Error Installing Packages on RHOCP 4.18 Cluster for RHEL 8 Compute Nodes
Issue
- An error occurs when attempting to add an RHEL 8 Compute Node to an RHOCP 4.18 cluster.
- The Ansible log indicates that packages such as
cri-tools
,crun
,openshift-kubelet-4.18*
,podman
,netavark
,runc
,skopeo
,containernetworking-plugins
, and others cannot be installed. - The error message mentions conflicting dependencies between
runc
andcri-o
:
Depsolve Error occurred: Problem: package cri-o-1.31.6-2.rhaos4.18.gitda737c9.el8.x86_64 requires runc >= 1.0.0-61.rc8, but none of the providers can be installed
- The
dnf
repository list shows that some packages are available for RHEL 8 in RHOCP 4.17 but not in RHOCP 4.18. - The
rhocp-4.18-for-rhel-8-x86_64-rpms
channel only includes 12 packages, while the rhocp-4.18-for-rhel-9-x86_64-rpms channel has more packages available. - Error messages include:
No match for argument: openshift-kubelet-4.18*
Unable to find a match: openshift-kubelet-4.18*
Unable to install conmon,cri-o-1.31.6,cri-tools,crun,openshift-clients-4.18*,openshift-kubelet-4.18*,podman,netavark,runc,..... Please ensure repos are configured properly to provide these packages and indicated versions.
Environment
- Red Hat OpenShift Container Platform 4.18
- Red Hat Enterprise Linux 8 for RHOCP compute nodes
- UPI Installer for Bare Metal
- Repositories Configured:
- rhel-8-for-x86_64-baseos-rpms
- rhel-8-for-x86_64-appstream-rpms
- rhocp-4.18-for-rhel-8-x86_64-rpms
- fast-datapath-for-rhel-8-x86_64-rpms
- ansible-2-for-rhel-8-rhui-rpms
- rhel-8-appstream-rhui-rpms
- rhel-8-baseos-rhui-rpms
- rhui-client-config-server-8
- Documentation Followed: Adding RHEL Compute Nodes
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.