Actions
Bug #9509
closedinit script cannot stop OSDs
Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Support
Tags:
Backport:
Firefly, Dumpling
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Running a service ceph stop osd
will not stop OSDs.
It seems the problem is that the OSDs are launched with the "-f" option that does not generate a PID file even though the process is launched with --pid-file <file>.
The stop function of the init script does: stop_daemon $name ceph-$type $pid_file
To confirm that this is the issue, I started an OSD without -f and the init script did stop it.
One user as reported the issue on CentOS 7 and I managed to reproduce it. I assume it's also an issue on RHEL7. This affecting.
Actions