Re: OSD rebind connects to ports of other OSDs

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

 



On Tue, Dec 20, 2016 at 05:48:33PM +0100, Willem Jan Withagen wrote:

> First round of binds:
> 2016-12-12 23:57:37.615409 7f36c2be6940  1 -- 0.0.0.0:6800/13799
> _finish_bind bind my_inst.addr is 0.0.0.0:6800/13799
> 2016-12-12 23:57:37.615739 7f36c2be6940  1 -- 0.0.0.0:6801/13799
> _finish_bind bind my_inst.addr is 0.0.0.0:6801/13799
> 2016-12-12 23:57:37.616090 7f36c2be6940  1 -- 0.0.0.0:6802/13799
> _finish_bind bind my_inst.addr is 0.0.0.0:6802/13799
> 2016-12-12 23:57:37.616452 7f36c2be6940  1 -- 0.0.0.0:6803/13799
> _finish_bind bind my_inst.addr is 0.0.0.0:6803/13799
> 
> So that is to INADDR_ANY
> 
> rebinds:
> 2016-12-12 23:57:50.094446 7f36b5ac6700  1 -- 127.0.0.1:6812/1013799
> _finish_bind bind my_inst.addr is 127.0.0.1:6812/1013799
> 2016-12-12 23:57:50.094956 7f36b5ac6700  1 -- 127.0.0.1:6813/1013799
> _finish_bind bind my_inst.addr is 127.0.0.1:6813/1013799
> 2016-12-12 23:57:50.095477 7f36b5ac6700  1 -- 127.0.0.1:6814/1013799
> _finish_bind bind my_inst.addr is 127.0.0.1:6814/1013799
> 
> so that is on the hostname as specified in the config.
> 
> So your suggestion would be to not bind on INADDR_ANY but on the config
> hostname with the initial bind as well??

I am not familiar with rebind logic here, so it is difficult for me to
make suggestions. But I would expect that bind and rebind addresses
should be the same. Not sure it should be hostname though. In your
case for example, before rebind the osd was listening on all
interfaces, and after rebind it was listening only on loopback,
i.e. it was accessible only from the local host.

-- 
Mykola Golub
--
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