Project

General

Profile

Actions

Bug #4228

closed

mon uses pick_addresses if invoked with mkfs or without mon addr; fails if no cluster addr

Added by Dan Mick about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Joao Eduardo Luis
Category:
Monitor
Target version:
-
% Done:

0%

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

Description

The monitor uses pick_addresses(), which tries to find interfaces with addresses on both
cluster and public nets if both are defined; however, the mon only uses public, and if it doesn't
have a NIC on the cluster net, pick_addresses() will make it fail needlessly.

pick_addresses() should probably take a "public-only" flag, or perhaps a bitmask with
bits for public and cluster for future flexibility


Files

ceph.conf (5.76 KB) ceph.conf This is an example (using example reserved IPv6 addresses) configuration which should presently work, but does not. Michael Evans, 02/22/2013 10:51 AM
Actions #1

Updated by Michael Evans about 11 years ago

Here is an example ceph.conf file both for this test case and for possible inclusion in to the documentation site.

Actions #2

Updated by Ian Colle about 11 years ago

  • Assignee set to Joao Eduardo Luis
  • Priority changed from Normal to High
Actions #3

Updated by Joao Eduardo Luis almost 11 years ago

  • Assignee deleted (Joao Eduardo Luis)

Currently not working on this one, so if anyone wants to pick it up go for it. Otherwise, I'll get back to it as soon as I'm done with other things.

Actions #4

Updated by Joao Eduardo Luis almost 11 years ago

  • Status changed from New to Fix Under Review

pushed patch to wip-4228

Actions #5

Updated by Joao Eduardo Luis almost 11 years ago

  • Assignee set to Joao Eduardo Luis
Actions #6

Updated by Joao Eduardo Luis almost 11 years ago

  • Category set to Monitor
Actions #7

Updated by Sage Weil almost 11 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF