]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: filter RBD devices from the device inventory 44604/head
authorMichael Fritch <mfritch@suse.com>
Tue, 18 Jan 2022 22:15:45 +0000 (15:15 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 20 Jan 2022 17:38:00 +0000 (10:38 -0700)
commit47325ec3ec5ce1d53c5eae2952f631e95b7135fe
treedc0b45633f274d5a29d68b6d59f5f0b9173c2d90
parent7112b9a47f5906353716452c08d2775bbb50796b
ceph-volume: filter RBD devices from the device inventory

Avoid running `blkid` or deploying OSDs on RBD devices by ensuring they
do not appear in the `ceph-volume inventory`

Fixes: https://tracker.ceph.com/issues/53846
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/util/disk.py