]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ods: enhance logging for osd network error 12458/head
authorliuchang0812 <liuchang0812@gmail.com>
Tue, 13 Dec 2016 08:06:14 +0000 (16:06 +0800)
committerliuchang0812 <liuchang0812@gmail.com>
Sat, 17 Dec 2016 04:07:36 +0000 (12:07 +0800)
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
src/osd/OSD.cc

index eb8f5a753ec41366700201a434819a15ec920429..7127d965c510e50a1b4269103882be01d30afe73 100644 (file)
@@ -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();