Project

General

Profile

Actions

Bug #38307

closed

ceph-osd fails to bind to IPv6 interface for public_network

Added by Jesse Williamson about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

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

Description

When trying to start ceph-osd configured for IPv6, interface binding fails.

Configure in ceph.conf:
[global]
public_network = fd00:151::/64
cluster_network = fd00:10::/64

Run:
/usr/bin//ceph-osd -f --cluster ceph --id 3 --setuser ceph --setgroup ceph

...and see:

2019-02-11 14:28:36.560 7feaee1abb80 -1 unable to find any IP address in
networks 'fd00:151::/64' interfaces ''
2019-02-11 14:28:36.560 7feaee1abb80 -1 Failed to pick public address.

After patch, see:

2019-02-13 07:29:32.362 7ff020b7db80 10 -- bindv
[v2:[fd00:151::102]:0/0,v1:[fd00:151::102]:0/0]


Files

pick_address.cc-PATCH (490 Bytes) pick_address.cc-PATCH Proposed patch. Jesse Williamson, 02/13/2019 11:08 PM
Actions

Also available in: Atom PDF