]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume util.encryption don't push stderr to terminal when cryptsetup fails to... 24827/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 3 Oct 2018 12:31:20 +0000 (08:31 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 30 Oct 2018 12:35:01 +0000 (08:35 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 40f919850fddd14659243c47860224981439906a)

src/ceph-volume/ceph_volume/util/encryption.py

index cc594a07e8304793f54d34b9043eed5aedcb9365..bb4d28cb56344e2340b3c4d5205c49b1cae45951 100644 (file)
@@ -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')