]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: calculate % of device correctly in lvm batch --report
authorAndrew Schoen <aschoen@redhat.com>
Mon, 24 May 2021 17:04:00 +0000 (12:04 -0500)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Sun, 6 Jun 2021 07:14:44 +0000 (14:14 +0700)
commitc9b1c7f81e740b2f79bf260776eb026f827d5ba3
tree393b1bcd982b826ac8ad34b0af16191b0bc53497
parente48b5814dafdd4f3719d8c8a2d7f386676cd9bdd
ceph-volume: calculate % of device correctly in lvm batch --report

If using --block-db-size, the % of device calculation is incorrect
and always reads 100%.

Resolves: RHBZ#1946478
Fixes: https://tracker.ceph.com/issues/50957
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit ed5ab92dc3e67a670b33f7c36c651571682bf8e2)
src/ceph-volume/ceph_volume/devices/lvm/batch.py