]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix regression in activate 49972/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 21 Sep 2022 20:25:04 +0000 (22:25 +0200)
committerMichal Nasiadka <mnasiadka@gmail.com>
Thu, 2 Feb 2023 12:13:33 +0000 (13:13 +0100)
commitd322bb891dbaf420dd1d1d32d4ce3e8582bd715b
treedc05d69402cf57f2a3ec00308c494f3051629ae2
parent0053576efd2db0101388bd43dd857fc2ff51e10a
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