]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: fix bug with miscalculation of required db/wal slot size for VGs with...
authorCory Snyder <csnyder@iland.com>
Fri, 24 Sep 2021 15:56:09 +0000 (11:56 -0400)
committerCory Snyder <csnyder@iland.com>
Mon, 8 Nov 2021 15:51:56 +0000 (10:51 -0500)
commitcd6aa1329f70f89338757ba295e279ecfdbc2d07
tree5c17b36b8cd7afc360c18dd6f89452d5adfbc484
parentdaf008f536d85ea4dffa08ad8e1b216909ed38ee
ceph-volume: fix bug with miscalculation of required db/wal slot size for VGs with multiple PVs

Previous logic for calculating db/wal slot sizes made the assumption that there would only be
a single PV backing each db/wal VG. This wasn't the case for OSDs deployed prior to v15.2.8,
since ceph-volume previously deployed multiple SSDs in the same VG. This fix removes the
assumption and does the correct calculation in either case.

Fixes: https://tracker.ceph.com/issues/52730
Signed-off-by: Cory Snyder <csnyder@iland.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/conftest.py