]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: don't use api.lvm.get_lv
authorRishabh Dave <ridave@redhat.com>
Mon, 30 Dec 2019 14:56:22 +0000 (20:26 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 30 Jun 2020 08:51:12 +0000 (14:21 +0530)
commitb2254050c01d872ebc906708a3b4c8d4fa2105d7
tree8b5ebf07b104c946214e6ca038036a6199fa162a
parent5301c4959e5169b10cc92716de6222f7516770e6
ceph-volume: don't use api.lvm.get_lv

Use api.lvm.get_lvs() and api.lvm.get_first_lv() instead and update the
tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/ceph-volume/ceph_volume/devices/lvm/prepare.py
src/ceph-volume/ceph_volume/devices/lvm/zap.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_prepare.py
src/ceph-volume/ceph_volume/util/device.py