From: Nitzan Mordechai Date: Thu, 13 Nov 2025 14:03:58 +0000 (+0000) Subject: qa/workunits: add Rocky Linux support to librados tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=32453d25c5de73597c0169baa4264df2bc10c546;p=ceph.git 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 --- 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)