]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: filter RBD devices from the device inventory 44709/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:47 +0000 (13:40 +0100)
commit6cc633038b5dcaa9f4543f52babfc0588aea134f
tree40e793ef5c5f8cb98292071e6082a5ddda4be81d
parente8aeb68acd02437ea73fe84b3fda2fec775ee7bf
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