]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-volume util.encryption don't push stderr to terminal when cryptsetup fails to...
authorAlfredo Deza <adeza@redhat.com>
Wed, 3 Oct 2018 12:31:20 +0000 (08:31 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 3 Oct 2018 12:31:20 +0000 (08:31 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/util/encryption.py

index 28036aee98ae483bb45d87517006b25206469a7a..8bb7d47c4903fb83e9fcbd27522b648256d70e30 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')