]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: remove PVolumes from api/lvm.py
authorRishabh Dave <ridave@redhat.com>
Fri, 3 Jul 2020 05:15:23 +0000 (10:45 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 13 Aug 2020 14:11:49 +0000 (19:41 +0530)
commite5ae3bb16e0dd2ad90c29a4acfbde6b59eb9ee4e
treeab4019d69a2a4d971bf5de0e76cbb562d2df4da9
parent3a8ad2d05874b4b3fa75a53e266a70fb1faf8740
ceph-volume: remove PVolumes from api/lvm.py

And method get_pv() since it's based on PVolumes and get_first_pv() and
get_pvs() can be easily used instead in future. Also, update tests
accordingly.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 009e9dcebf6e13b6fb66bc0368c907d0b988d127)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/exceptions.py
src/ceph-volume/ceph_volume/tests/api/test_lvm.py
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/devices/lvm/test_listing.py
src/ceph-volume/ceph_volume/tests/util/test_device.py