]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: implement lvm wrapper
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 14 Oct 2021 07:41:42 +0000 (09:41 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 Dec 2021 08:53:23 +0000 (09:53 +0100)
commit420a8476a0d6437277b2196c68893c9699f18608
tree07229b9d95e3157aac2dad6a3d3d5ee98f97858c
parent0ae1a6e0e52f6539a305221962fa197c0edff47a
ceph-volume: implement lvm wrapper

ceph-volume should run pv/vg/lv commands in the host namespace rather than
running them inside the container in order to avoid lvm metadata corruption.

Fixes: https://tracker.ceph.com/issues/52926
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4d33630deeaee51578868fb29337da802e9cb231)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/process.py
src/ceph-volume/ceph_volume/tests/api/test_lvm.py