]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 17 Nov 2021 17:22:59 +0000 (18:22 +0100)
commit5fe2144d052f533015a1449502df43de31a172b4
tree7473e00c14a88e9c22e527fe8bbb291413915d49
parent29c61e3a22d4d50d3eb7a415d52f6439dbc4126e
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>
(cherry picked from commit cd6aa1329f70f89338757ba295e279ecfdbc2d07)
src/ceph-volume/ceph_volume/devices/lvm/batch.py
src/ceph-volume/ceph_volume/tests/conftest.py