Actions
Bug #1143
closedmon addr without port breaks a new setup
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