]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: filter RBD devices from the device inventory 44708/head
authorMichael Fritch <mfritch@suse.com>
Tue, 18 Jan 2022 22:15:45 +0000 (15:15 -0700)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Jan 2022 12:40:31 +0000 (13:40 +0100)
commitf3694a94de254f67024bb15567204a4ae221f995
treebccfa8804f7bdf774e39f6f2828895d7b5fc594b
parent946399a61c1163771b21319703870140d2debd2d
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>
(cherry picked from commit 47325ec3ec5ce1d53c5eae2952f631e95b7135fe)
src/ceph-volume/ceph_volume/tests/util/test_disk.py
src/ceph-volume/ceph_volume/util/disk.py