]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError 42494/head
authorJonas Zeiger <jonas.zeiger@talpidae.net>
Mon, 5 Jul 2021 12:59:57 +0000 (14:59 +0200)
committerDimitri Savineau <dsavinea@redhat.com>
Mon, 26 Jul 2021 21:02:08 +0000 (17:02 -0400)
commitd2350aa973d3d62d5dd66a7421fb5364c83e490d
tree979f5fc38e62aa2648eb7708be5d5d79d4c117bc
parentb12540881588c168bb823288e59a0d016f48cb6c
ceph-volume: lvm batch: fast_allocations(): avoid ZeroDivisionError

 * Fixes Bug #51526 ( https://tracker.ceph.com/issues/51526 )

Signed-off-by: Jonas Zeiger <jonas.zeiger@talpidae.net>
(cherry picked from commit d83d4f35863309637c178197d8a59e746678afba)
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py