]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: remove the -a flag from api.lvm.get_pvs
authorAndrew Schoen <aschoen@redhat.com>
Thu, 18 Jan 2018 17:05:32 +0000 (11:05 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Feb 2018 19:59:52 +0000 (13:59 -0600)
commit8fd6f29ee3988d3158467e9cf447e63c7d3485e5
treec37102962fa8e8c9cf9799dd4d1adcd6b2f54032
parent4d23258e19b56d04f2d6f108ad808b01bc38b831
ceph-volume: remove the -a flag from api.lvm.get_pvs

When we run `pvs -a` it returns all pvs, even ones that
have been recently deleted. Because of this pvs that have just
been zapped with `lvm zap` show up and can cause issues if a device
is zapped more than once.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 10a349742cae909d1ebf0a0b3b49c88774929f53)
src/ceph-volume/ceph_volume/api/lvm.py