From ffbf252299349511b5f8c2e0830fb8873d5e5c42 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 5 Feb 2020 02:15:17 +0100 Subject: [PATCH] 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 (cherry picked from commit 7f8371c32b3f613b0d094f6f26ffbeb19ea0d25b) --- src/ceph-volume/ceph_volume/util/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/util/device.py b/src/ceph-volume/ceph_volume/util/device.py index 0bbfcf4e8e905..7a7f00f26bc93 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 -- 2.39.5