]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/distros: reinstall nvme-cli on centos 9 nodes
authorAdam King <adking@redhat.com>
Thu, 22 Aug 2024 17:53:38 +0000 (13:53 -0400)
committerAdam King <adking@redhat.com>
Wed, 23 Oct 2024 20:55:28 +0000 (16:55 -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 833a4c9d0db50236455eaaff57b372c76b86ec2c..c8dbf541f989b0a440f00e7c3db870bec83a7407 100644 (file)
@@ -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
index ed9cb9cc8a99f181fd58437a2295c12f04f132b2..0f7a715c8253b4fdc725dffb64046e4bb4efcf62 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