]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
library: do not always add --yes in batch mode
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 9 Feb 2021 14:28:08 +0000 (15:28 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 12 Feb 2021 13:07:14 +0000 (14:07 +0100)
commitfe6d6ba62248853dabf9ecbd5fe702b319b8f14a
tree410be57a806e7064ccd414c12562ad98179bab98
parent4047d02ee69ff8461a308cb8680d039532dff668
library: do not always add --yes in batch mode

When asking `ceph-volume` to report only in `lvm batch` context, there's
a bug described in bz1896803 [1] when `--yes` is passed (which by the
way isn't necessary with `--report`).
This commit ensure `--yes` isn't passed to `ceph-volume` when `--report`
is used.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1896803

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