From: Guillaume Abrioux Date: Wed, 5 Feb 2020 01:15:17 +0000 (+0100) Subject: ceph-volume: remove stderr in has_bluestore_label() X-Git-Tag: v15.1.1~547^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7f8371c32b3f613b0d094f6f26ffbeb19ea0d25b;p=ceph.git ceph-volume: remove stderr in has_bluestore_label() We don't want to generate this log when a call to `has_bluestore_label()` fails. Signed-off-by: Guillaume Abrioux --- diff --git a/src/ceph-volume/ceph_volume/util/device.py b/src/ceph-volume/ceph_volume/util/device.py index 0bbfcf4e8e9..7a7f00f26bc 100644 --- a/src/ceph-volume/ceph_volume/util/device.py +++ b/src/ceph-volume/ceph_volume/util/device.py @@ -321,7 +321,7 @@ class Device(object): def has_bluestore_label(self): out, err, ret = process.call([ 'ceph-bluestore-tool', 'show-label', - '--dev', self.abspath]) + '--dev', self.abspath], verbose_on_failure=False) if ret: return False return True