]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: support partitions in inventory 54709/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 10 Aug 2023 09:01:22 +0000 (09:01 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 23 Jan 2024 18:28:39 +0000 (01:28 +0700)
commit85670b4c6b75a506b4e9f11cfb0ba8ae1d2cbdb1
treea7ff6d9340f60075cdb39b41a42b1e11a3be1005
parent6cada601b9aa7ebdf48328c47dd3665cfad68a80
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)

Conflicts:
  - file: src/ceph-volume/ceph_volume/util/device.py
    comment: pacific don't have --list-all, remove from init
  - src/ceph-volume/ceph_volume/util/disk.py
    comment: manually resolve conflict in block_types[]
src/ceph-volume/ceph_volume/util/disk.py