From 08d80006d07d98031125a1d854cb4f778eaee75b Mon Sep 17 00:00:00 2001 From: Nitzan Mordechai Date: Sun, 12 Feb 2023 07:14:23 +0000 Subject: [PATCH] qa/*/test_envlibrados_for_rocksdb.sh: subscrib repo subscription-manager repos will fail with 'does not match a valid repository ID' we should use dnf config-manager --set-enabled instead Fixes: https://tracker.ceph.com/issues/58560 Signed-off-by: Nitzan Mordechai --- qa/workunits/rados/test_envlibrados_for_rocksdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh index 371452f4042..e072b829984 100755 --- a/qa/workunits/rados/test_envlibrados_for_rocksdb.sh +++ b/qa/workunits/rados/test_envlibrados_for_rocksdb.sh @@ -26,7 +26,7 @@ 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 "codeready-builder-for-rhel-8-x86_64-rpms" ;; esac install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive-3.3.3