Bug #9974
closedOsd-s bind only to 1st network in "public network"
0%
Description
OSD daemons bind only to first network in ceph.conf "public network" parameter.
ceph.conf:
[global]
cluster network = 192.168.32.0/24
public network = 192.168.40.0/24,192.168.30.0/24
...
netstat -pln
tcp 0 0 192.168.32.71:6805 0.0.0.0:* LISTEN 33782/ceph-osd
tcp 0 0 192.168.40.71:6805 0.0.0.0:* LISTEN 33687/ceph-osd
If I reverse networks in ceph.conf "public network"
public network = 192.168.30.0/24,192.168.40.0/24
netstat -pln
tcp 0 0 192.168.32.71:6805 0.0.0.0:* LISTEN 33782/ceph-osd
tcp 0 0 192.168.30.71:6805 0.0.0.0:* LISTEN 33687/ceph-osd
As I undrerstand osds should listen on all ip's specified in "public network" parameter.
Ifconfig:
Bond0: 192.168.40.71
bond0.30 192.168.30.71
Bond1: 192.168.32.71
Ubuntu Trusty, Ceph 0.80.7-1trusty
Updated by Greg Farnum over 9 years ago
- Status changed from New to Won't Fix
OSDs bind and listen on only a single IP by design. Changing it would require major changes to how we handle identity and message ordering.