From: Sage Weil Date: Mon, 21 Oct 2013 22:33:37 +0000 (-0700) Subject: ceph-mon: add debug to ip selection X-Git-Tag: v0.72-rc1~27 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bd2eeb71bc476447f26fb117f894ef173939ed0f;p=ceph.git ceph-mon: add debug to ip selection This will hopefully help us track down #5804. Signed-off-by: Sage Weil --- diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 35ed56a7985b..2fc9e91124de 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -448,6 +448,8 @@ int main(int argc, const char **argv) ipaddr = g_conf->public_addr; if (ipaddr.get_port() == 0) ipaddr.set_port(CEPH_MON_PORT); + dout(0) << "using public_addr " << g_conf->public_addr << " -> " + << ipaddr << dendl; } else { MonMap tmpmap; int err = tmpmap.build_initial(g_ceph_context, cerr);