]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: don't use api.lvm.VolumeGroups
authorRishabh Dave <ridave@redhat.com>
Tue, 31 Dec 2019 11:54:42 +0000 (17:24 +0530)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 4 Aug 2020 20:04:46 +0000 (15:04 -0500)
commit9a84cbf552c5a69e4df59194a4d3ee4f552e5b11
tree7606f04d40982b94f121a5a0a75790e99b78e639
parentba49da5c030b455d85895ada65338cc0a2707aed
ceph-volume: don't use api.lvm.VolumeGroups

Use api.lvm.get_vgs() and api.lvm.get_first_vg() instead and update
tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit dfe6b1b90384482e8ec38e3be7024971fb252968)
src/ceph-volume/ceph_volume/devices/lvm/strategies/bluestore.py
src/ceph-volume/ceph_volume/devices/lvm/strategies/filestore.py
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_bluestore.py
src/ceph-volume/ceph_volume/tests/devices/lvm/strategies/test_filestore.py