]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_volume: make zap function idempotent
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 19 Jun 2020 13:09:04 +0000 (15:09 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Tue, 23 Jun 2020 02:16:29 +0000 (22:16 -0400)
commit3f47236470e1571963850e8bed68fa2d26f05b66
treec047435f0b7ef6a408ed1d744763998969c84cee
parentbd22f1d1ec8c692848aee5337cd0d682a3a058b7
ceph_volume: make zap function idempotent

This commit makes the zap function idempotent, especially when using
lvm_volumes variable.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1845668
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
library/ceph_volume.py
tests/library/test_ceph_volume.py