]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Fix trucated output of `mgr dump` 34258/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 27 Mar 2020 22:24:58 +0000 (23:24 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Sat, 28 Mar 2020 00:21:05 +0000 (01:21 +0100)
commit10e892c2a2897097aad60db1c32a62251d4eca36
tree583c3908e9354910a79edde89f29aab980ff503b
parentd8449c70e85e47faea9759e2b33dac0823621714
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>
(cherry picked from commit 6a6759eef06c32efe1a10190925da6bc7e5ec4b0)
src/cephadm/cephadm