]> 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 07:50:01 +0000 (09:50 +0200)
commite4f972004b6aa55521b97d90d0e551717b581365
treec4da0166087bc44f72d0d471e6c90715fe9ffa62
parent5428a41fcfefb425c1ffb9fd67a4b17b74e32b6c
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