]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: fix regression in activate
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)
commit8d7423c3e75afbe111c91e699ef3cb1c0beee61b
treeba3c1c0e05f32cfae7d13b36ec1ab5547d3fb0f1
parent2c09efbab641c0845a1b8801f0eb804312dcf360
ceph-volume: fix regression in activate

bea9f4b643c introduced a regression that makes the activate process
take a very long time to complete.
`_get_bluestore_info()` which calls `ceph-bluestore-tool` binary via
subprocess is called in an exponential way while this is not needed.

Fixes: https://tracker.ceph.com/issues/57627
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/ceph-volume/ceph_volume/devices/raw/list.py