]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix a regression in `raw list` 54522/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:41 +0000 (10:33 +0100)
commitae6ce92c0812ba06c9c623ce72df4f3fc59080b4
tree5a260fde6cf3ef0641aecc8ee131c830a19cb95f
parent7155e8e36fbbeb81765cc73048bcb9c2ada8125c
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