]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix a regression in `raw list` 54514/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 15 Nov 2023 15:03:10 +0000 (16:03 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 15 Nov 2023 16:58:22 +0000 (17:58 +0100)
commite67dce7120954fff9b7b936348bed0b2ac6c1155
tree2b55a89bf53570fde94065d49b602dd52a551305
parentab230683cf3a8295910b7d1daa925bba813dec12
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>
src/ceph-volume/ceph_volume/devices/raw/list.py