Bug #9509
closedinit script cannot stop OSDs
0%
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.
Updated by Alexandre Marangone over 9 years ago
Let me redo the last sentence...
One user reported the issue on CentOS 7 and I managed to reproduce it. I assume it's also an issue on RHEL7. This was reproduced on 0.80.5.
Updated by Greg Farnum over 9 years ago
- Status changed from New to Pending Backport
- Priority changed from Normal to High
See #9470. I guess the commit probably needs to be backported to firefly?
Updated by Alexandre Marangone over 9 years ago
Yep, it needs to be backported to Firefly
Updated by Loïc Dachary over 9 years ago
- Status changed from Pending Backport to Resolved