Project

General

Profile

Actions

Bug #5161

closed

daemons should create /var/run/ceph if it doesn't already exist

Added by jianpeng ma almost 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

I wanted to add a new mon into a cluster.But when i exce "ceph-mon -i majianpeng --mkfs --monmap map --keyring key", it print the following messages:

2013-05-24 10:37:26.795665 7f446912e7c0 -1 asok(0x1440000) AdminSocketConfigObs::init: failed: >AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-mon.majianpeng.asok': (2) No >such file or directory
ceph-mon: created monfs at /var/lib/ceph/mon/mon.majianpeng for mon.majianpeng

I think the reason is there is not /var/run/ceph.
After I created the directory, then exec again.It's ok.

In document on ceph.com,there is no guide to do this.
I think we should create /var/run/ceph automaticly if there is no this director.

Actions

Also available in: Atom PDF