]> git.apps.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, 26 Jul 2022 14:24:02 +0000 (16:24 +0200)
commitf5f3117510c287d817534c9f7c25af5f208c2f56
treeedc08db2ab5033cc4c5626ed0b6e1b2175503ce7
parent882d7c0d125bc53823216084ce3091546b4e557e
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>
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