From: liuchang0812 Date: Tue, 13 Dec 2016 08:06:14 +0000 (+0800) Subject: ods: enhance logging for osd network error X-Git-Tag: v11.1.1~29^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7ceadba31dca3203a652d12af3e56ce6b9358175;p=ceph.git ods: enhance logging for osd network error Signed-off-by: liuchang0812 --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index eb8f5a753ec4..7127d965c510 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -7134,21 +7134,24 @@ void OSD::_committed_osd_maps(epoch_t first, epoch_t last, MOSDMap *m) if (r != 0) { do_shutdown = true; // FIXME: do_restart? network_error = true; - dout(0) << __func__ << " marked down: rebind failed" << dendl; + dout(0) << __func__ << " marked down:" + << " rebind cluster_messenger failed" << dendl; } r = hb_back_server_messenger->rebind(avoid_ports); if (r != 0) { do_shutdown = true; // FIXME: do_restart? network_error = true; - dout(0) << __func__ << " marked down: rebind failed" << dendl; + dout(0) << __func__ << " marked down:" + << " rebind hb_back_server_messenger failed" << dendl; } r = hb_front_server_messenger->rebind(avoid_ports); if (r != 0) { do_shutdown = true; // FIXME: do_restart? network_error = true; - dout(0) << __func__ << " marked down: rebind failed" << dendl; + dout(0) << __func__ << " marked down:" + << " rebind hb_front_server_messenger failed" << dendl; } hbclient_messenger->mark_down_all();