From 305e4f99594d4d95f32237c9f9530389a4a8101e Mon Sep 17 00:00:00 2001 From: Adam King Date: Thu, 22 Aug 2024 13:53:38 -0400 Subject: [PATCH] qa/distros: reinstall nvme-cli on centos 9 nodes To work around a potential linking issue between nvme-cli ad libnvme that prevents nvme-cli from correctly generating a hostnqn, causing nvme_fabrics: found same hostid edb4e426-766f-44c6-b127-da2a5b7446ef but different hostnqn hostnqn messages in dmesg and the inability to setup nvme loop devices Fixes: https://tracker.ceph.com/issues/67684 Signed-off-by: Adam King (cherry picked from commit 4e5f269c01dd94741fbddaa7f76ebe4ac155e650) --- qa/distros/container-hosts/centos_9.stream.yaml | 3 +++ qa/distros/container-hosts/centos_9.stream_runc.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/qa/distros/container-hosts/centos_9.stream.yaml b/qa/distros/container-hosts/centos_9.stream.yaml index 833a4c9d0db50..c8dbf541f989b 100644 --- a/qa/distros/container-hosts/centos_9.stream.yaml +++ b/qa/distros/container-hosts/centos_9.stream.yaml @@ -8,4 +8,7 @@ overrides: tasks: - pexec: all: + # in order to work around a possible nvme-cli <-> libnvme linking issue + # See https://tracker.ceph.com/issues/67684 + - sudo dnf remove nvme-cli -y - sudo dnf install nvmetcli nvme-cli -y diff --git a/qa/distros/container-hosts/centos_9.stream_runc.yaml b/qa/distros/container-hosts/centos_9.stream_runc.yaml index ed9cb9cc8a99f..0f7a715c8253b 100644 --- a/qa/distros/container-hosts/centos_9.stream_runc.yaml +++ b/qa/distros/container-hosts/centos_9.stream_runc.yaml @@ -8,6 +8,9 @@ overrides: tasks: - pexec: all: + # in order to work around a possible nvme-cli <-> libnvme linking issue + # See https://tracker.ceph.com/issues/67684 + - sudo dnf remove nvme-cli -y - sudo dnf install runc nvmetcli nvme-cli -y - sudo sed -i 's/^#runtime = "crun"/runtime = "runc"/g' /usr/share/containers/containers.conf - sudo sed -i 's/runtime = "crun"/#runtime = "crun"/g' /usr/share/containers/containers.conf -- 2.39.5