Project

General

Profile

Actions

Support #11923

closed

MDS init script starts multiple instances when MDS is referenced in ceph.conf

Added by Brian Andrus almost 9 years ago. Updated almost 9 years ago.

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

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

MDS component init script does not seem to be able to properly differentiate between auto-detected instances and instances stated explicitly in the ceph.conf.

If an MDS is defined in ceph.conf, it is seemingly started twice.

root      4042  0.0  0.0 115212  1472 ?        Ss   13:46   0:00 /usr/bin/bash -c ulimit -n 32768; /usr/bin/ceph-mds -i <NAME> --pid-file /var/run/ceph/mds.<NAME>.pid -c /etc/ceph/ceph.conf --cluster ceph -f
root      4047  0.0  0.0 159016  6928 ?        Sl   13:46   0:00 /usr/bin/ceph-mds -i <NAME> --pid-file /var/run/ceph/mds.<NAME>.pid -c /etc/ceph/ceph.conf --cluster ceph -f

If the statement is removed from ceph.conf, the daemon starts as expected (with only one process).

As with OSD and MON daemons, the init script should not start more than one process, even if the MDS is explicitly stated in ceph.conf (for convenient stop/start and other administrative purposes).


Files

ceph.conf (1.8 KB) ceph.conf ceph.conf Vimal A.R, 07/02/2015 11:16 AM
Actions

Also available in: Atom PDF