From: Laura Flores Date: Mon, 19 Aug 2024 20:00:24 +0000 (+0000) Subject: qa/workunits/rados: enable crb and install generic package for c9 X-Git-Tag: v17.2.8~151^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F59330%2Fhead;p=ceph.git qa/workunits/rados: enable crb and install generic package for c9 This workunit was still trying to enable "codeready-builder-for-rhel-8-x86_64-rpms", which is a repo specific to centos 8 stream. After changing the repo name, I found that there is no libarchive-3.3.3 package available for centos 9 stream, so I changed it to the generic version. Fixes: https://tracker.ceph.com/issues/67562 Signed-off-by: Laura Flores --- diff --git a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh index 371452f40429..af68addbae57 100755 --- a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +++ b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh @@ -26,10 +26,10 @@ case $(distro_id) in case $(distro_id) in rhel) # RHEL needs CRB repo for snappy-devel - sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-x86_64-rpms" + sudo dnf config-manager --set-enabled crb ;; esac - install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive-3.3.3 + install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive ;; opensuse*|suse|sles) install git gcc-c++ snappy-devel zlib-devel libbz2-devel libradospp-devel