]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix a regression in `raw list` 54521/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 15 Nov 2023 15:03:10 +0000 (16:03 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 16 Nov 2023 09:33:20 +0000 (10:33 +0100)
commit1f4a4bd88dbaf7bb621ae3ca6989d36656ae1d4e
tree744d83b5dd00834ef36376ee1345d7849145fc87
parenta0ec90f9ce38d96f3950d30b445bcb2559eb2fdb
ceph-volume: fix a regression in `raw list`

'ceph-volume raw list' is broken for a specific use case (rook).

rook copies devices from /dev/ to /mnt for specific/internal needs.

when ceph-volume raw list is passed a device from /mnt then
ceph-volume ignores it and return an empty dict.
That prevent rook from creating OSDs properly.

https://tracker.ceph.com/issues/63545

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit e67dce7120954fff9b7b936348bed0b2ac6c1155)
src/ceph-volume/ceph_volume/devices/raw/list.py