]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: lvm.Lvm.setup_metadata_devices refactor
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 9 Oct 2025 07:31:58 +0000 (09:31 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 14 Oct 2025 06:12:19 +0000 (06:12 +0000)
commit7fa9223335a58ba2c8782d7bec99c8fe29dd09df
tree28e6120270b6455f6651ce97ee0ed7923a1a881e
parent46be1de02d382b368c4276f278ed4ae0c5e88392
ceph-volume: lvm.Lvm.setup_metadata_devices refactor

This commit refactors setup_metadata_devices into smaller helper methods.
It keeps the distinction between existing logical volumes and raw devices
explicit, centralizes tag handling and path assignment to make the
control flow obvious and separates responsibilities for checking, creating,
and tagging devices.

Fixes: https://tracker.ceph.com/issues/73445
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit f6d2b20dbb7ba18dcd137990dd1637794a8f0d70)
src/ceph-volume/ceph_volume/objectstore/lvm.py