]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/distros: reinstall nvme-cli on centos 9 nodes 59471/head
authorAdam King <adking@redhat.com>
Thu, 22 Aug 2024 17:53:38 +0000 (13:53 -0400)
committerAdam King <adking@redhat.com>
Tue, 27 Aug 2024 21:31:23 +0000 (17:31 -0400)
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 <adking@redhat.com>
(cherry picked from commit 4e5f269c01dd94741fbddaa7f76ebe4ac155e650)

qa/distros/container-hosts/centos_9.stream.yaml
qa/distros/container-hosts/centos_9.stream_runc.yaml

index 425cb144b1d8d4d68fc6d802090480d80ccb1935..d2eafe6f0a9054c19c8345c3101ef70ccd675540 100644 (file)
@@ -9,4 +9,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
index 0f3f21d8ad4c121a0f9d9c8544b21888a04123db..d147851ec985a98d258e737fadd7ffddc66f3cc8 100644 (file)
@@ -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