Project

General

Profile

Actions

Bug #3771

closed

ceph does not have startup scripts in Centos

Added by Anonymous over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
bobtail
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I did a basic ceph v0.56 installation on Centos 6.3
I have rebooted my nodes, and find that ceph is not startup up after reboot.

ceph: v0.56
centos: CentOS release 6.3 (Final)

I have checked to make sure i have initscripts and chkconfig installed:
initscripts.x86_64 9.03.31-2.el6.centos @anaconda-CentOS-201207061011.x86_64/6.3
chkconfig.x86_64 1.3.49.3-2.el6 @anaconda-CentOS-201207061011.x86_64/6.3

the only ceph startup script in Centos installation is under /etc/rc.d/init.d/ceph

the chkconfig does not have ceph listed.

  1. chkconfig
    auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    ip6tables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    iptables 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off
    netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
    network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    restorecond 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    rsyslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    udev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:off

there is no link from init.d/ceph to an rc#.d directory.
CentOS uses the /etc/rc#.d directories to determine the startup order.

also, there is no ceph files in /etc/initd for upstart to work.

Actions #1

Updated by Anonymous over 11 years ago

Gary found that the installation script was commented out 2011-10-17

commit 9baf5ef4f35c38d7fbaa70bde8f2c9383b2f5163
Author: Sage Weil <>
Date: Mon Oct 17 08:51:47 2011 -0700

ceph.spec: don't chkconfig

This was fighting with suse insserv. Still needs some cleanup.

we will need to have chkconfig run if it is a centos box....

Actions #2

Updated by Ian Colle over 11 years ago

  • Assignee set to Anonymous
Actions #3

Updated by Sage Weil over 11 years ago

  • Target version set to v0.57a
  • Backport set to bobtail
Actions #4

Updated by Anonymous about 11 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Greg Farnum about 11 years ago

  • Project changed from CephFS to Ceph
  • Target version deleted (v0.57a)

Not an FS bug! :)

Actions #6

Updated by Sage Weil almost 11 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF