From: Vallari Agrawal Date: Tue, 3 Feb 2026 15:02:17 +0000 (+0530) Subject: qa/workunits/nvmeof/basic_tests: use nvme-cli 2.13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b22d94960eb6ae5a094bc4ab50e6c59cce7972c5;p=ceph.git qa/workunits/nvmeof/basic_tests: use nvme-cli 2.13 Install nvme version 2.13 (instead of latest nvme ver 2.16). This is because nvme-cli 2.16 has a bug in 'nvme list-subsys' command on centos9. Fixes: https://tracker.ceph.com/issues/74615 Co-authored-by: barakda Signed-off-by: Vallari Agrawal --- diff --git a/qa/workunits/nvmeof/basic_tests.sh b/qa/workunits/nvmeof/basic_tests.sh index e4670b8baea..4188e6c1a69 100755 --- a/qa/workunits/nvmeof/basic_tests.sh +++ b/qa/workunits/nvmeof/basic_tests.sh @@ -2,7 +2,14 @@ sudo modprobe nvme-fabrics sudo modprobe nvme-tcp -sudo dnf reinstall nvme-cli -y +# sudo dnf reinstall nvme-cli -y + +# install nvme 2.13 (issue with latest nvme version 2.16 with centos9: https://tracker.ceph.com/issues/74615#note-5) +curl -O https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/nvme-cli-2.13-1.el9.x86_64.rpm +curl -O https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/libnvme-1.13-1.el9.x86_64.rpm +ls -l nvme-cli-2.13-1.el9.x86_64.rpm libnvme-1.13-1.el9.x86_64.rpm +sudo rpm -qp --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" nvme-cli-2.13-1.el9.x86_64.rpm # should print nvme-cli-2.13-1.el9.x86_64 +sudo dnf downgrade ./nvme-cli-2.13-1.el9.x86_64.rpm ./libnvme-1.13-1.el9.x86_64.rpm -y sudo lsmod | grep nvme nvme version