]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: allow listing devices by OSD ID
authorRishabh Dave <ridave@redhat.com>
Thu, 19 Nov 2020 13:06:38 +0000 (18:36 +0530)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 7 Jul 2022 20:21:26 +0000 (22:21 +0200)
commitac279adca57c729e9d65492c93665699a1eac5a5
tree12510294909179c041fc33dafa75a05f92713f43
parent10aa4748208c8f5722dfb9f8a116b7e1359f9542
ceph-volume: allow listing devices by OSD ID

Adds the ability to list devices by OSD IDs, i.e. "ceph-volume lvm list
3" would list all devices under OSD ID 3 (which can be up to 2 and 3
devices under filestore and bluestore OSDs respectively).

Fixes: https://tracker.ceph.com/issues/41294
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 0792a396ce61b356ad004ac3dbd96fabed739eac)
src/ceph-volume/ceph_volume/devices/lvm/listing.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_listing.py