From: Alfredo Deza Date: Wed, 3 Oct 2018 12:31:20 +0000 (-0400) Subject: ceph-volume util.encryption don't push stderr to terminal when cryptsetup fails to... X-Git-Tag: v14.0.1~125^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=40f919850fddd14659243c47860224981439906a;p=ceph-ci.git ceph-volume util.encryption don't push stderr to terminal when cryptsetup fails to find device Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/util/encryption.py b/src/ceph-volume/ceph_volume/util/encryption.py index 28036aee98a..8bb7d47c490 100644 --- a/src/ceph-volume/ceph_volume/util/encryption.py +++ b/src/ceph-volume/ceph_volume/util/encryption.py @@ -189,7 +189,8 @@ def status(device): 'status', device, ] - out, err, code = process.call(command, show_command=True) + out, err, code = process.call(command, show_command=True, verbose_on_failure=False) + metadata = {} if code != 0: logger.warning('failed to detect device mapper information')