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.
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
Fixed by e2e60147ecf089a46e7a1c6836da1bc926a249ee and ea56a558cef4cebf37a923ce3e5eb8c753d94464. thanks!
Actions