]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: unmount lvs correctly before zapping 23127/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 18 Jul 2018 16:08:15 +0000 (11:08 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 19 Jul 2018 14:04:37 +0000 (09:04 -0500)
commitd604028c6d723d81ccf7351d70a86baca79fdb44
tree3d3873aba042c352a2657dfd7861ec80e5fb8958
parentbd3b97c02d495a98271287b1a7c2825d55bfd0f9
ceph-volume: unmount lvs correctly before zapping

If the lv found does not include the meatadata to construct an osd path,
then we should try to unmount it's path instead.

Fixes: http://tracker.ceph.com/issues/24796
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 5b175a5bb68264b80c00cb4f04026a4d19ca20ad)
src/ceph-volume/ceph_volume/devices/lvm/zap.py