]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: drop `ceph-bluestore-tool` call in Device._parse()
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 18 Jul 2022 14:54:17 +0000 (14:54 +0000)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 5 Aug 2022 06:58:17 +0000 (08:58 +0200)
commitcaf861ccc3ad5d5bba5ca8f80eabdfe3d00de231
tree36c6af0a3632bd21e890295c0d8fce9857f93e34
parent80d8b608262324e5f0b17d5e396b2b3c9aec9cf3
ceph-volume: drop `ceph-bluestore-tool` call in Device._parse()

disk.has_bluestore_label() does the same thing without a subprocess call.

Fixes: https://tracker.ceph.com/issues/56622
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f5f3117510c287d817534c9f7c25af5f208c2f56)
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/test_inventory.py
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py