Project

General

Profile

Actions

Bug #12810

closed

Init script status command ignore cluster value

Added by Richard Hesse over 8 years ago. Updated about 7 years ago.

Status:
Won't Fix
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The init script status commands don't work properly when the cluster name is not ceph. For example:

root@ceph1:~ $ /etc/init.d/ceph --cluster test status osd
=== osd.1 ===
osd.1: running failed: '/usr/bin/ceph --admin-daemon /var/run/ceph/ceph-osd.1.asok version 2>/dev/null'

The asok file is there, but has a different name that includes the cluster:

root@ceph1:~ $ ls -al /var/run/ceph/*osd*asok
srwxr-xr-x 1 root root 0 Aug 27 17:40 /var/run/ceph/test-osd.1.asok

This happens in OSD and MON status. I can work around the MON part, but the OSD defect is crippling for automation.

Actions #1

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to 12
  • Priority changed from Normal to High
Actions #2

Updated by Sage Weil about 7 years ago

  • Status changed from 12 to Won't Fix

i think this has been partially fixed. if not, sysvinit is not the preferred solution. please reopen if you still need it...

Actions

Also available in: Atom PDF