From bd2eeb71bc476447f26fb117f894ef173939ed0f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 21 Oct 2013 15:33:37 -0700 Subject: [PATCH] ceph-mon: add debug to ip selection This will hopefully help us track down #5804. Signed-off-by: Sage Weil --- src/ceph_mon.cc | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.47.3