]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-mon: add debug to ip selection
authorSage Weil <sage@inktank.com>
Mon, 21 Oct 2013 22:33:37 +0000 (15:33 -0700)
committerSage Weil <sage@inktank.com>
Mon, 21 Oct 2013 22:33:37 +0000 (15:33 -0700)
This will hopefully help us track down #5804.

Signed-off-by: Sage Weil <sage@inktank.com>
src/ceph_mon.cc

index 35ed56a7985b666ad189b73042b8be553ac1e0d2..2fc9e91124de518f533fba062a291e200a8ccab9 100644 (file)
@@ -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);