Project

General

Profile

Bug #1143

mon addr without port breaks a new setup

Added by Bernard Grymonpon over 8 years ago. Updated over 8 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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.

History

#1 Updated by Sage Weil over 8 years ago

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

Also available in: Atom PDF