]> 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)
committerRishabh Dave <ridave@redhat.com>
Mon, 10 Aug 2020 08:18:42 +0000 (13:48 +0530)
commitf95385597a8654b28e770fed4ba034c4164605fa
treebd93e718b683cea6ffaef211b3fc7add5835db57
parent7363cef270f887005bda7cf4dd51fb3fb186e0e6
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