]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
msg: do not enable client-side binding by default
authorJason Dillaman <dillaman@redhat.com>
Wed, 31 May 2017 18:18:15 +0000 (14:18 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 31 May 2017 18:18:15 +0000 (14:18 -0400)
This breaks the usage of Ceph clients connecting to MONs and
OSDs behind a NAT since the client will incorrectly attempt to
bind to the gateway's IP address.

Fixes: http://tracker.ceph.com/issues/20049
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/config_opts.h

index 476caad93d7f7fa901be6320e22c7be7dea50e66..bbb07281ded0dd716f91993339049e731f1bbb2a 100644 (file)
@@ -211,7 +211,7 @@ OPTION(ms_bind_retry_delay, OPT_INT, 5) // Delay between attemps to bind
 OPTION(ms_bind_retry_count, OPT_INT, 6) // If binding fails, how many times do we retry to bind
 OPTION(ms_bind_retry_delay, OPT_INT, 6) // Delay between attemps to bind
 #endif
-OPTION(ms_bind_before_connect, OPT_BOOL, true)
+OPTION(ms_bind_before_connect, OPT_BOOL, false)
 OPTION(ms_rwthread_stack_bytes, OPT_U64, 1024 << 10)
 OPTION(ms_tcp_read_timeout, OPT_U64, 900)
 OPTION(ms_pq_max_tokens_per_priority, OPT_U64, 16777216)