Bug #8324
closedpid files are not created
100%
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/