Project

General

Profile

Actions

Bug #1143

closed

mon addr without port breaks a new setup

Added by Bernard Grymonpon almost 13 years ago. Updated almost 13 years ago.

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

0%

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

Description

When you create a new cephFS with a config that doesn't specify a port on the mon addr line, it creates an unusable ceph cluster.

[mon.0]
host = littleboy
mon addr = 10.254.254.100

See http://pastie.org/2021685 for a failing config.

The monitor defaults to port 6800, listens correctly on that port, but the monmap has entries with ":0" at the end. Somehow, this doesn't work out, as the monitor doesn't receive connections from osd/...

Suggested fix: either let mkcephfs complain that a port should be specified, record the chosen default everywhere instead of "0", or let the default be applied everywhere so the connections work out correctly.

Actions #1

Updated by Sage Weil almost 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil
  • Target version set to v0.30
Actions

Also available in: Atom PDF