]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: don't use class api.lvm.Volumes
authorRishabh Dave <ridave@redhat.com>
Mon, 30 Dec 2019 06:18:08 +0000 (11:48 +0530)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 4 Aug 2020 20:03:41 +0000 (15:03 -0500)
commit7e133b440560c1ece430c9f1df234dbd7e2b4f51
treed28aa934bccf913ad189008ecad64e1ca24a5319
parentf23ff7620014d0d1324261eb383e8e25c588bdae
ceph-volume: don't use class api.lvm.Volumes

Replace code using class Volumes by methods get_lvs() and
get_first_lv(). Also, update the tests accordingly.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 2f5c10c12c37e6865ce54bb4940d3779353cba4f)
src/ceph-volume/ceph_volume/devices/lvm/activate.py
src/ceph-volume/ceph_volume/devices/lvm/zap.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_activate.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_zap.py