]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support partitions in inventory 53287/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:27:17 +0000 (15:27 +0200)
commit3fafe47f8811c15291a6e582e30a6c4fe9421d6b
treea3cc64197dfe03ffb2b3b71b15a39ed1839edba4
parent352211a3700c6b7b3f1f74ef45b52eee19d16abe
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