]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support partitions in inventory 52877/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 10 Aug 2023 09:01:22 +0000 (09:01 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 10 Aug 2023 09:08:52 +0000 (09:08 +0000)
commit00ba00fdfab8cb4969d46838e44cff3a03fc16ca
tree06a9b018a73a68c4edf5d8a05681f9546cc8e214
parent2422ad867dff9d526d7e8be543178c897991097f
ceph-volume: support partitions in inventory

This makes ceph-volume report partitions in inventory.
A partition is a valid device for `ceph-volume lvm prepare`
so we should report them in inventory (when using `--list-all`
parameter).

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py