]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: improve trigger verbosity
authorLoic Dachary <ldachary@redhat.com>
Mon, 29 Feb 2016 11:18:41 +0000 (18:18 +0700)
committerLoic Dachary <ldachary@redhat.com>
Fri, 4 Mar 2016 02:13:35 +0000 (09:13 +0700)
commit0b4ab0d3295cf1c110865b72378437db1d7ed83a
treec1283794429d1538219f84869b6bc2a5c8a50d5a
parented56cef1f1491760aa8b3cd2637eb8cf9db214ad
ceph-disk: improve trigger verbosity

The ceph-disk activate errors were ignored and not displayed. Capture
stdout/stderr and display it if the exit code is non zero. Also fail
when an activate fails.

Pass the --verbose flag to activate, if given to trigger.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk/ceph_disk/main.py