From: Sage Weil Date: Mon, 11 Feb 2019 22:48:23 +0000 (-0600) Subject: ceph-mon: slightly more helpful output during mkfs X-Git-Tag: v14.1.0~136^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae638bfd045eceb5edb8bc552e98cabc698ebf19;p=ceph.git ceph-mon: slightly more helpful output during mkfs Signed-off-by: Sage Weil --- diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 68828cdf650a..4f7726b7fd1a 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -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; } } }