]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix raw list for non-existent device 54430/head
authorMatthew Booth <mbooth@redhat.com>
Tue, 7 Nov 2023 19:58:16 +0000 (19:58 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 9 Nov 2023 08:03:39 +0000 (09:03 +0100)
commit9dd47a5fb6354a92c6d5691f81aa1e4f83f7d7b4
treefc9f75d741a5b439a07a8adfd184d913b0c2a57a
parent9b9ae24d83283f1be7192596ba82b5170743a621
ceph-volume: fix raw list for non-existent device

ceph-volume should not crash when given a device which doesn't exist.

Fixes: https://tracker.ceph.com/issues/63391
Signed-off-by: Matthew Booth <mbooth@redhat.com>
(cherry picked from commit e009b1a319c834a504947423ae1dd55387809235)
(cherry picked from commit 0e17f8b5aebb51ee69ce0689dabe2a9111055716)
src/ceph-volume/ceph_volume/devices/raw/list.py