]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix regression in activate 48201/head
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:44:28 +0000 (22:44 +0200)
commit99a62755d3c72d4f21e5e811b4fda718d9056cba
tree5da8bcfa8bfc52ac547a035ffd8e624ce649a7a8
parent906a26aa585af19e88b8bb3417907edd79f39dd3
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>
(cherry picked from commit 8d7423c3e75afbe111c91e699ef3cb1c0beee61b)
src/ceph-volume/ceph_volume/devices/raw/list.py