]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix raw list for non-existent device 54429/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:09 +0000 (09:03 +0100)
commitee26074a5e7e90b4026659bf3adb1bc973595e91
tree9ffeab3338788f14786122618d1b82458bf5fb15
parent401bb755020bc0962a2a8038d626b3bc4ec4fff4
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