Project

General

Profile

Actions

Bug #6043

closed

upstart does not reflect running ceph-osd daemons (ubuntu 13.04 only)

Added by Zoltan Arnold Nagy over 10 years ago. Updated almost 10 years ago.

Status:
Won't Fix
Priority:
High
Category:
-
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

Workaround

Using restart instead of reload restarts the daemons instead of sending them a signal that gracefully reopens the log.

perl -pi -e 's/reload/restart/' /etc/logrotate.d/ceph

Original description

ubuntu 13.04, ceph from ceph.com repository. (0.67.1-1raring)

according to documentation [[http://ceph.com/docs/master/rados/operations/add-or-rm-osds/]], this should work.

root@zc2store:~# ps faux | grep ceph-osd
root     21656  0.0  0.0   9436   960 pts/2    S+   12:52   0:00          \_ grep --color=auto ceph-osd
root     21475  0.0  0.0   4440   628 ?        Ss   12:47   0:00 /bin/sh -e -c /usr/bin/ceph-osd --cluster="${cluster:-ceph}" -i "$id" -f /bin/sh
root     21476  0.3  0.0 438156 24556 ?        Sl   12:47   0:00  \_ /usr/bin/ceph-osd --cluster=ceph -i 0 -f
root@zc2store:~# /etc/init.d/ceph stop osd.0
/etc/init.d/ceph: osd.0 not found (/etc/ceph/ceph.conf defines , /var/lib/ceph defines )
root@zc2store:~# mount | grep ceph
/dev/sdb1 on /var/lib/ceph/osd/ceph-0 type xfs (rw,noatime)
root@zc2store:~# 

Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #7188: Admin socket files are lost on log rotation calling initctl reload (ubuntu 13.04 only)Won't FixLoïc Dachary01/20/2014

Actions
Actions

Also available in: Atom PDF