]> git.apps.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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 23 Jun 2020 08:49:07 +0000 (10:49 +0200)
commit8ef3fee41b91269824e8d8df6fee05b199ae5628
treed08dd608b93f9b940b33fa75f7942abd056a10f0
parent09453e22f4336373067608ccd2b84ef9d90f73ff
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>
(cherry picked from commit 3f47236470e1571963850e8bed68fa2d26f05b66)
library/ceph_volume.py
tests/library/test_ceph_volume.py