]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs
authorCory Snyder <csnyder@1111systems.com>
Mon, 27 Feb 2023 09:45:47 +0000 (04:45 -0500)
committerGuillaume Abrioux <gabrioux@ibm.com>
Wed, 5 Apr 2023 16:01:11 +0000 (18:01 +0200)
commit08cdae79146012bb1f5efc4f3d3d6ceb6e70a1f2
treed503b4b2fda75efdbadb8f5851341743dfd1cb0c
parentf606277c2d9bc6533716f317d2031cdf5d955138
ceph-volume: add test case to reproduce bug in get_physical_fast_allocs

Adds a test case to reproduce a bug with get_physical_fast_allocs for
clusters that have multiple fast device PVs in a single VG (deployed
prior to v15.2.8). Also fixes other test cases for this function
to more accurately represent reality.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 02592cb0a5970f861d25a521579c30639d10b007)
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_batch.py