Comment 3 for bug 1858519

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-osd/+/804520
Committed: https://opendev.org/openstack/charm-ceph-osd/commit/489a4ede69c72ce930a0909af5fffe2a9faa8d1a
Submitter: "Zuul (22348)"
Branch: master

commit 489a4ede69c72ce930a0909af5fffe2a9faa8d1a
Author: Nikhil Kshirsagar <email address hidden>
Date: Fri Aug 13 16:59:42 2021 +0530

    Do not zap a disk if it is used by lvm2

    If the disk being zapped is used by lvm (if it contains the
    lvm label and hasn't been pvremove'd) it's safer to simply
    bail out of zapping it than attempt teardown through a force
    pvremove, because the disk being zapped might be in fact in
    use by some LV.

    Closes-Bug: 1858519
    Change-Id: I111475c5a4584a3e367c604ab51ce2ef3789ff7f