]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: unmount lvs correctly before zapping 23128/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:03:41 +0000 (09:03 -0500)
commitf87e53b38674808439bab3574cf3628289719569
treefafad5a9f13391bcb860eb4f8eb191a956022684
parent3ec878d1e53e1aeb47a9f619c49d9e7c0aa384d5
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