From: Greg Farnum Date: Tue, 10 Sep 2013 23:14:41 +0000 (-0700) Subject: osd: bind objecter messenger to cluster address X-Git-Tag: v0.71~134 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=558d9fc956204b7a18001b148e171b893cb63d85;p=ceph.git osd: bind objecter messenger to cluster address 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 Reviewed-by: Sage Weil --- diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index 9d27766a38b..3d517da1f89 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -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);