From 32453d25c5de73597c0169baa4264df2bc10c546 Mon Sep 17 00:00:00 2001 From: Nitzan Mordechai Date: Thu, 13 Nov 2025 14:03:58 +0000 Subject: [PATCH] qa/workunits: add Rocky Linux support to librados tests Add Rocky Linux to the list of supported RPM-based distributions in test_librados_build.sh and version_number_sanity.sh. Rocky Linux uses the same package names and commands as CentOS/RHEL, so it can use the existing RPM codepath. Without this change, the tests fail on Rocky Linux systems with "unknown distro" errors. Fixes: https://tracker.ceph.com/issues/73839 Signed-off-by: Nitzan Mordechai --- qa/workunits/rados/test_librados_build.sh | 2 +- qa/workunits/rados/version_number_sanity.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/rados/test_librados_build.sh b/qa/workunits/rados/test_librados_build.sh index 14e33251568a..d516d0ba588b 100755 --- a/qa/workunits/rados/test_librados_build.sh +++ b/qa/workunits/rados/test_librados_build.sh @@ -69,7 +69,7 @@ function run_binaries () { pushd $DESTDIR case $(distro_id) in - centos|fedora|rhel|opensuse*|suse|sles) + centos|fedora|rhel|rocky|opensuse*|suse|sles) install gcc-c++ make libradospp-devel librados-devel;; ubuntu) install gcc-11 g++-11 make libradospp-dev librados-dev diff --git a/qa/workunits/rados/version_number_sanity.sh b/qa/workunits/rados/version_number_sanity.sh index e7eb9be649c5..cbe625e869f4 100755 --- a/qa/workunits/rados/version_number_sanity.sh +++ b/qa/workunits/rados/version_number_sanity.sh @@ -10,7 +10,7 @@ debian|ubuntu) dpkg-query --show ceph-common PKG_NAME_AND_VERSION=$(dpkg-query --show ceph-common) ;; -centos|fedora|rhel|opensuse*|suse|sles) +centos|fedora|rhel|rocky|opensuse*|suse|sles) RPMDEB='RPM' rpm -q ceph PKG_NAME_AND_VERSION=$(rpm -q ceph) -- 2.47.3