]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume lvm.api use double -f flags when calling pvremove
authorAlfredo Deza <adeza@redhat.com>
Thu, 6 Sep 2018 14:55:31 +0000 (10:55 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 6 Sep 2018 20:37:36 +0000 (16:37 -0400)
commitd57f2fad861ac7cfde04c49865f62edf7bbe2ff4
tree4f6ac9da5d05c4b773542a79243aac25dc217cf9
parentd710013209381c48b446b100763cb3077ace3f44
ceph-volume lvm.api use double -f flags when calling pvremove

Fairly destructive, just like everything else when zapping a device.
This is required in the case of double UUIDs detected, something that
surfaced when testing with a loop device to create an nvme (the loop
device ends up with the same UUID as the nvme).

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit c1cbc407c095e0bc3e25a8ff1519b4909ec519cc)
src/ceph-volume/ceph_volume/api/lvm.py
src/ceph-volume/ceph_volume/tests/functional/batch/centos7/bluestore/single-type/setup.yml [new symlink]