]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: adds a unit test for `lvm list /dev/sda` 23350/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 30 Jul 2018 18:52:37 +0000 (13:52 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 31 Jul 2018 13:59:55 +0000 (08:59 -0500)
commita6fa400d002619758a1ea682eb43d55635a9fb6e
tree19be72114fc6bfb65d421845f7a697dcc4fc29ce
parentacce090bee08aea9a71d7987f99f4286bc48bab1
ceph-volume: adds a unit test for `lvm list /dev/sda`

This test is to prove that the issue from
http://tracker.ceph.com/issues/24957 was fixed
by http://tracker.ceph.com/issues/24784

When running lvm list against a raw device it should handle
gracefully the situation where there are multiple PVs with the
name of the given device.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit ef10886f1e061d4273d3c0763ab0827e7e58e9d7)
src/ceph-volume/ceph_volume/tests/devices/lvm/test_listing.py