]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume inventory: add option to filter unwanted devices
authorJan Fajerski <jfajerski@suse.com>
Fri, 11 Sep 2020 14:35:00 +0000 (16:35 +0200)
committerJan Fajerski <jfajerski@suse.com>
Tue, 29 Sep 2020 20:37:22 +0000 (22:37 +0200)
commit7d168ad7bdbb6d6d5231a4ae540ab03040b49a38
treeda3988e39f96841f650df8bff32b37b82d0b1ae6
parent6f1592a1146529d352184c795aae8ce12f66e554
ceph-volume inventory: add option to filter unwanted devices

Some device we never want to pass to the batch subcommand. For now this
includes devices that have a partition or are mounted on the machine.
One goal is to filter the root device, so it is not included on a batch
command and thus would contribute to its implicit sizing calculation.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/inventory/main.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_common.py
src/ceph-volume/ceph_volume/util/device.py
src/pybind/mgr/cephadm/module.py