]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/nvme_loop: update task to work with new nvme list format 60928/head
authorAdam King <adking@redhat.com>
Tue, 3 Dec 2024 20:22:22 +0000 (15:22 -0500)
committerAdam King <adking@redhat.com>
Tue, 3 Dec 2024 23:42:52 +0000 (18:42 -0500)
commitce487613d08b0c0d73172ce6ababcb75855f6ae6
tree43ca71e1cf3b18da3d090cb981f0fa37f0932147
parent914c6de65f58d2db4bad2ebdf4dfa244d965d405
qa/tasks/nvme_loop: update task to work with new nvme list format

Specifically on some centos 9 tests, we've seen that a newer
version of some nvme related package is causing this task to fail
with "KeyError: 'DevicePath'" due to the format of the output
of the nvme list command changing. This patch adds handling for
the new format we've seen while also still supporting the old
format (necessary for the tests running on ubuntu).

Fixes: https://tracker.ceph.com/issues/69067
Signed-off-by: Adam King <adking@redhat.com>
qa/tasks/nvme_loop.py