Project

General

Profile

Actions

Bug #8324

closed

pid files are not created

Added by Mike Dawson almost 10 years ago. Updated almost 10 years ago.

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

100%

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

Description

In Firefly (and I believe Emperor, too) PID files are not created in /var/run/ceph. This used to work in Dumpling.

ls /var/run/ceph
total 0
drwxr-xr-x 2 root root 100 May 9 19:46 .
drwxr-xr-x 22 root root 860 May 9 19:12 ..
srwxr-xr-x 1 root root 0 May 9 19:46 ceph-mon.node1.asok
srwxr-xr-x 1 root root 0 May 9 19:46 ceph-osd.0.asok
srwxr-xr-x 1 root root 0 May 9 19:46 ceph-osd.1.asok

ceph daemon mon.node1 config show | grep pid_file
"pid_file": "",

So it appears pid_file isn't properly being set. The docs [0] say it should default to /var/run/$cluster/$name.pid. Manually setting the pid_file location under [general], [mon], or [mon.node1] fail as well, even when metavariable substitution is not used. Affects OSDs, too.

[0]: https://ceph.com/docs/master/rados/configuration/general-config-ref/

Actions

Also available in: Atom PDF