]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: bind objecter messenger to cluster address
authorGreg Farnum <greg@inktank.com>
Tue, 10 Sep 2013 23:14:41 +0000 (16:14 -0700)
committerGreg Farnum <greg@inktank.com>
Tue, 10 Sep 2013 23:15:23 +0000 (16:15 -0700)
We don't want it binding to whatever willy-nilly, and as an OSD even
its "client" traffic should go on the cluster address.

Signed-off-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/ceph_osd.cc

index 9d27766a38bf3584bf41ddb6beeb330771417354..3d517da1f89faea334e0ee51611323d75e4b8877 100644 (file)
@@ -417,6 +417,8 @@ int main(int argc, const char **argv)
   if (r < 0)
     exit(1);
 
+  ms_objecter->bind(g_conf->public_addr);
+
   // Set up crypto, daemonize, etc.
   global_init_daemonize(g_ceph_context, 0);
   common_init_finish(g_ceph_context);