Project

General

Profile

Actions

Bug #9509

closed

init script cannot stop OSDs

Added by Alexandre Marangone over 9 years ago. Updated over 9 years ago.

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.


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #9470: daemon pid file is not being created when running service cephResolvedLoïc Dachary09/15/2014

Actions
Actions #1

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.

Actions #2

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?

Actions #3

Updated by Alexandre Marangone over 9 years ago

Yep, it needs to be backported to Firefly

Actions #4

Updated by Loïc Dachary over 9 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF