]> 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>
Tue, 2 Aug 2022 09:39:18 +0000 (11:39 +0200)
commit4bf195ba91675ac3e4a2d2984640af5ea66f9b90
tree005279e2343718d9dd6d07e56d1b959d211ec416
parent6a242b1e4a9c555a2c12904e56b21fc8c40771a0
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