]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support partitions in inventory 53286/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 10 Aug 2023 09:01:22 +0000 (09:01 +0000)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 5 Sep 2023 13:22:57 +0000 (15:22 +0200)
commit78d335b19d12d1390e70d35d5e0f59389f6b2d75
tree05c77aa18061bd20f62a6636744c729bdf509c14
parentd9ca3bd992a24ba94553bc550b2bfe0b56aa84f4
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>
(cherry picked from commit 00ba00fdfab8cb4969d46838e44cff3a03fc16ca)
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py