]> git.apps.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>
Tue, 16 Nov 2021 14:20:55 +0000 (15:20 +0100)
commit684aaf6c9fc8cdf90855ba80dc79730741d1d2f7
tree7ef32947a00fff6c0f1346b156e57463c54649b5
parentb0aaed0fe8cdfe99c82a70b230004934b51091ff
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