Project

General

Profile

Actions

Bug #9974

closed

Osd-s bind only to 1st network in "public network"

Added by elder one over 9 years ago. Updated over 9 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

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.

Actions

Also available in: Atom PDF