]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-mon: slightly more helpful output during mkfs 26369/head
authorSage Weil <sage@redhat.com>
Mon, 11 Feb 2019 22:48:23 +0000 (16:48 -0600)
committerSage Weil <sage@redhat.com>
Mon, 11 Feb 2019 22:48:23 +0000 (16:48 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph_mon.cc

index 68828cdf650af18fe4de57a62c04b46232dcbc49..4f7726b7fd1ad8fdec40b8c456f56debdfd7ed7c 100644 (file)
@@ -413,6 +413,7 @@ int main(int argc, const char **argv)
 
        entity_addr_t local;
        if (have_local_addr(g_ceph_context, ls, &local)) {
+         dout(0) << " have local addr " << local << dendl;
          string name;
          local.set_type(entity_addr_t::TYPE_MSGR2);
          if (!monmap.get_addr_name(local, name)) {
@@ -432,6 +433,8 @@ int main(int argc, const char **argv)
                    << " is local, but not 'noname-' + something; "
                    << "not assuming it's me" << dendl;
          }
+       } else {
+         dout(0) << " no local addrs match monmap" << dendl;
        }
       }
     }