]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: Fix trucated output of `mgr dump`
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 27 Mar 2020 22:24:58 +0000 (23:24 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 27 Mar 2020 23:42:34 +0000 (00:42 +0100)
commit6a6759eef06c32efe1a10190925da6bc7e5ec4b0
tree55c4c3d6b119ebb5800bf80328c125bc5b28f292
parent037a68d76ea84112d2b7d81c66bcf4b4682c79fb
cephadm: Fix trucated output of `mgr dump`

In case the process has terminated, we
have to make sure to read till EOF, otherwise
we might skip some bytes.

Fixes: https://tracker.ceph.com/issues/44642
Co-authored-by: Tim Serong <tserong@suse.com>
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
src/cephadm/cephadm