]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
purge: remove dm-crypt devices 1249/head
authorSébastien Han <seb@redhat.com>
Thu, 19 Jan 2017 14:28:44 +0000 (15:28 +0100)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 25 Jan 2017 22:24:20 +0000 (16:24 -0600)
commit8f17b6d2a6cbd2cab3be7b623b0a4ee6f1070e09
treeb426f2bb36c415254eac5c1c17da1987b3e24329
parent3b665390bdd4638c0141c83b57005f19b34b90a0
purge: remove dm-crypt devices

When running encrypted OSDs, an encrypted device mapper is used (because
created by the crypsetup tool). So before attempting to remove all the
partitions on a device we must delete all the encrypted device mappers,
then we can delete all the partitions.

Signed-off-by: Sébastien Han <seb@redhat.com>
 Please enter the commit message for your changes. Lines starting

(cherry picked from commit 73ca1a7a00ae2b8147fb80b7177f54d738439128)

Resolves: backport#1235
infrastructure-playbooks/purge-cluster.yml