Project

General

Profile

Actions

Bug #61814

open

install-deps.sh script does not work for centos 9

Added by Laura Flores 11 months ago. Updated 11 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

# ./install-deps.sh
Using dnf to install dependencies
Last metadata expiration check: 0:01:32 ago on Mon Jun 26 19:20:36 2023.
Package yum-utils-4.3.0-8.el9.noarch is already installed.
Package selinux-policy-targeted-38.1.14-1.el9.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:01:33 ago on Mon Jun 26 19:20:36 2023.
Package python3-devel-3.9.16-2.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:01:33 ago on Mon Jun 26 19:20:36 2023.
Package python3-devel-3.9.16-2.el9.x86_64 is already installed.
No matching package to install: 'CUnit-devel'
No matching package to install: 'cryptsetup-devel'
No matching package to install: 'fuse-devel'
No matching package to install: 'libbabeltrace-devel'
No matching package to install: 'librabbitmq-devel'
No matching package to install: 'librdkafka-devel'
No matching package to install: 'libtool-ltdl-devel'
No matching package to install: 'lttng-ust-devel'
No matching package to install: 'lua-devel'
No matching package to install: 'nasm'
No matching package to install: 'ninja-build'
Package pkgconf-pkg-config-1.7.3-10.el9.x86_64 is already installed.
Package python3-3.9.16-2.el9.x86_64 is already installed.
No matching package to install: 'python3-Cython'
No matching package to install: 'python3-asyncssh'
Package python3-dateutil-1:2.8.1-6.el9.noarch is already installed.
Package python3-devel-3.9.16-2.el9.x86_64 is already installed.
No matching package to install: 'python3-routes'
Package python3-setuptools-53.0.0-12.el9.noarch is already installed.
No matching package to install: 'python3-sphinx'
No matching package to install: 'snappy-devel'
No matching package to install: 'utf8proc-devel'
Package which-2.21-29.el9.x86_64 is already installed.
No matching package to install: 'xmlsec1-devel'
No matching package to install: 'xmlsec1-openssl-devel'
Not all dependencies satisfied
Error: Some packages could not be found.

Related issues 1 (0 open1 closed)

Related to Infrastructure - Bug #61648: centos9: ceph-cm-ansible fails with "Error: No matching repo to modify: powertools."Resolved

Actions
Actions #1

Updated by Laura Flores 11 months ago

Laura Flores wrote:

[...]

Done on a centos 9.stream container:

# cat /etc/os-release
NAME="CentOS Stream" 
VERSION="9" 
ID="centos" 
ID_LIKE="rhel fedora" 
VERSION_ID="9" 
PLATFORM_ID="platform:el9" 
PRETTY_NAME="CentOS Stream 9" 
ANSI_COLOR="0;31" 
LOGO="fedora-logo-icon" 
CPE_NAME="cpe:/o:centos:centos:9" 
HOME_URL="https://centos.org/" 
BUG_REPORT_URL="https://bugzilla.redhat.com/" 
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9" 
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream" 

Actions #2

Updated by Casey Bodley 11 months ago

in the past, install-deps.sh had to enable the powertools repo for some packages. for centos 9, we might need to enable the 'crb' repo that we added for https://tracker.ceph.com/issues/61648

Actions #3

Updated by Laura Flores 11 months ago

  • Related to Bug #61648: centos9: ceph-cm-ansible fails with "Error: No matching repo to modify: powertools." added
Actions #4

Updated by Laura Flores 11 months ago

Hey Casey, what would be the command to enable the crb repo?

Also, looking at the script, we enable the lab-extras repo for centos 8 that doesn't seem available for centos 9.

                if test $ID = centos -a $MAJOR_VERSION = 8 ; then
                    # Enable 'powertools' or 'PowerTools' repo
                    $SUDO dnf config-manager --set-enabled $(dnf repolist --all 2>/dev/null|gawk 'tolower($0) ~ /^powertools\s/{print $1}')
                    dts_ver=11
                    # before EPEL8 and PowerTools provide all dependencies, we use sepia for the dependencies
                    $SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
                    $SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save
                    $SUDO dnf -y module enable javapackages-tools

Actions #5

Updated by Dan Mick 11 months ago

replace powertools with crb to enable it.

yes, we'll likely need a lab-extras repo built for centos9 as well. I don't know who's responsible for that off the top of my head.

Actions

Also available in: Atom PDF