]> git-server-git.apps.pok.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:51:51 +0000 (09:51 +0100)
commit9f3cc0c42086675c77b5262c6db2546f422b933b
treef3763f2ab0111d675f71db1066d1e03ff2efea2a
parenta2615d7e87371fbbe8b6df33f970b0f1c2234c10
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