Actions
Bug #3599
closedmkcephfs should fail out when ceph.conf has an error
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In the /etc/ceph/ceph.conf, there was a missing bracket after [mon.b , which did not get caught during mkcephfs. It errors when ceph is started.
ubuntu@burnupi46:/etc/ceph$ sudo service ceph -a start
=== mon.a ===
Starting Ceph mon.a on burnupi46...already running
=== mon.b ===
Starting Ceph mon.b on burnupi47...
unable to read magic from mon data.. did you run mkcephfs?
failed: 'ssh burnupi47 /usr/bin/ceph-mon -i b --pid-file /var/run/ceph/mon.b.pid -c /tmp/ceph.conf.22288 '
To correct the error, I had to stop, delete the contents of the directories at /var/lib/ceph, and rerun mkcephfs.
Actions