]> 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 13:40:59 +0000 (19:10 +0530)
commit3d7d1e8de2c57f616f023a770ffe30fa346fdbeb
treeddf0c5101caee25823e8f81f3d02fe961abe51fd
parent1157e4aba63305b9a7f29423fc8339091cc72102
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)

 Conflicts:
src/ceph-volume/ceph_volume/tests/util/test_device.py
The dummy device path in tests "test_is_lvm_memeber",
"test_is_not_lvm_memeber" and "test_is_partition" are slightly
different from master.
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