Project

General

Profile

Actions

Feature #51156

open

qa: Teuthology Testing on Centos 9 Stream

Added by Adam King almost 3 years ago. Updated over 2 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently there are challenges to setup Teuthology tests for Centos 9 stream due to missing dependencies preventing the build process

Output from install-deps script

Package python3-devel-3.9.5-4.el9.x86_64 is already installed.
No matching package to install: 'CUnit-devel'
Package checkpolicy-3.2-2.el9.x86_64 is already installed.
Package cmake-3.19.7-2.el9.x86_64 is already installed.
Package cryptsetup-2.3.5-4.el9.x86_64 is already installed.
No matching package to install: 'cryptsetup-devel'
No matching package to install: 'fmt-devel >= 5.2.1'
No matching package to install: 'fuse-devel'
Package gcc-c++-11.0.1-0.3.1.el9.x86_64 is already installed.
No matching package to install: 'gdbm'
No matching package to install: 'golang-github-prometheus'
No matching package to install: 'gperftools-devel >= 2.7.90'
No matching package to install: 'leveldb-devel > 1.2'
No matching package to install: 'libbabeltrace-devel'
No matching package to install: 'liboath-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: 'luarocks'
Package make-1:4.3-6.el9.x86_64 is already installed.
No matching package to install: 'nasm'
Package ncurses-devel-6.2-7.20210508.el9.x86_64 is already installed.
No matching package to install: 'ninja-build'
Package parted-3.4-3.el9.x86_64 is already installed.
Package perl-4:5.32.1-475.el9.x86_64 is already installed.
Package pkgconf-pkg-config-1.7.3-8.el9.x86_64 is already installed.
Package systemd-248-2.el9.x86_64 is already installed.
Package procps-ng-3.3.17-2.el9.x86_64 is already installed.
Package python3-3.9.5-4.el9.x86_64 is already installed.
No matching package to install: 'python3-Cython'
No matching package to install: 'python3-bcrypt'
No matching package to install: 'python3-cherrypy'
No matching package to install: 'python3-coverage'
Package python3-dateutil-1:2.8.1-5.el9.noarch is already installed.
Package python3-devel-3.9.5-4.el9.x86_64 is already installed.
No matching package to install: 'python3-jwt'
No matching package to install: 'python3-nose'
No matching package to install: 'python3-pecan'
No matching package to install: 'python3-pyOpenSSL'
Package python3-requests-2.25.1-3.el9.noarch is already installed.
No matching package to install: 'python3-routes'
Package python3-setuptools-53.0.0-2.el9.noarch is already installed.
No matching package to install: 'python3-sphinx'
No matching package to install: 'python3-virtualenv'
No matching package to install: 'python3-werkzeug'
No matching package to install: 'redhat-lsb-core'
Package redhat-rpm-config-184-1.el9.noarch is already installed.
No matching package to install: 'snappy-devel'
Package sudo-1.9.5p2-3.el9.x86_64 is already installed.
Package util-linux-2.36.2-2.el9.x86_64 is already installed.
Package which-2.21-26.el9.x86_64 is already installed.
Package xfsprogs-5.10.0-3.el9.x86_64 is already installed.
No matching package to install: 'xmlsec1-devel'
No matching package to install: 'xmlsec1-openssl-devel'
No matching package to install: 'xmlstarlet'
Not all dependencies satisfied
Error: Some packages could not be found.
$ sudo dnf install fuse-devel
Last metadata expiration check: 2:34:09 ago on Tue 08 Jun 2021 04:28:00 PM UTC.
No match for argument: fuse-devel
Error: Unable to find a match: fuse-devel

Teuthology:

Traceback (most recent call last):
  File "/home/user/teuthology/virtualenv/bin/teuthology-suite", line 33, in <module>
    sys.exit(load_entry_point('teuthology', 'console_scripts', 'teuthology-suite')())
  File "/home/user/teuthology/scripts/suite.py", line 189, in main
    return teuthology.suite.main(args)
  File "/home/user/teuthology/teuthology/suite/__init__.py", line 146, in main
    run.prepare_and_schedule()
  File "/home/user/teuthology/teuthology/suite/run.py", line 397, in prepare_and_schedule
    num_jobs = self.schedule_suite()
  File "/home/user/teuthology/teuthology/suite/run.py", line 609, in schedule_suite
    self.args.newest, job_limit)
  File "/home/user/teuthology/teuthology/suite/run.py", line 461, in collect_jobs
    self.package_versions
  File "/home/user/teuthology/teuthology/suite/util.py", line 393, in get_package_versions
    distro_version=os_version,
  File "/home/user/teuthology/teuthology/suite/util.py", line 274, in package_version_for_hash
    sha1=hash,
  File "/home/user/teuthology/teuthology/packaging.py", line 853, in __init__
    super(ShamanProject, self).__init__(project, job_config, ctx, remote)
  File "/home/user/teuthology/teuthology/packaging.py", line 462, in __init__
    self._init_from_config()
  File "/home/user/teuthology/teuthology/packaging.py", line 497, in _init_from_config
    OS.version_codename(self.os_type, self.os_version)
  File "/home/user/teuthology/teuthology/orchestra/opsys.py", line 200, in version_codename
    (version_or_codename, name))
KeyError: '9.stream not a centos version or codename'
Actions #1

Updated by Sebastian Wagner almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by Ken Dreyer over 2 years ago

Packaging the el9 dependencies is in progress, described here: https://github.com/ktdreyer/ceph-el9. We have a Copr now with some of these, and we're adding the rest.

Actions #3

Updated by Ken Dreyer over 2 years ago

Status update at https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/I3AORVPARPDNIGTZTAEGW4D3Y5WMOSZD/ - TL;DR Copr has all the dependencies to build and install on el9 now.

Actions #4

Updated by Ken Dreyer over 2 years ago

Next status update: https://lists.ceph.io/hyperkitty/list/dev@ceph.io/thread/77MHDGVA3AEMYP6KUNYW7VCBKDSVZ6LG/

Still to be done:
  • configure jenkins.ceph.com to build master (and then pacific) on CentOS Stream 9.
  • Move the Copr builds into EPEL 9 when that's available
Actions

Also available in: Atom PDF