]> git-server-git.apps.pok.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)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 28 Aug 2024 14:57:36 +0000 (14:57 +0000)
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)
(cherry picked from commit fb50eaa18b03dcec3b3770553447a86c746b8b9f)

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

index 53fc162dfc6a452202626626fc9c6baf16c0c58a..848563f281658700d27ed059f94bb97d04fc61ad 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 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