Re: switch "ms bind ipv6" default to "true"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 8 Feb 2017, Daniel Swarbrick wrote:
> On 08/02/17 17:59, Sage Weil wrote:
> > On Wed, 8 Feb 2017, Wido den Hollander wrote:
> >>
> >> Isn't it possible that this causes troubles when explicitly setting 
> >> public and/or cluster network?
> > 
> > Yeah.  But I think even more importantly, it assumes that the host is 
> > using ipv6, which it might not be.  Currently the messenger *either* uses 
> > ipv4 or ipv6, but it can't do both.
> 
> Assuming that the cluster / public network has not been explicitly set,
> can't we bind in such a way that it will accept either, i.e., bind an
> IPv6 socket and setsockopt IPV6_V6ONLY = 0?
> 
> Most network daemons these days seem to be moving towards that trend. We
> would just need to check for non-IPv6 capable IP stacks (seriously...?)
> before the bind, in which case it's a moot point anyway.

It's not just the binding part; all ceph daemons advertise their address 
to the rest of the system, and that address is either v4 or v6.  Only half 
of the infrastructure to advertise multiple addrs is in place; the 
AsyncMessenger still needs to be updated so that it will bind to both and 
then also advertise both.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux