Project

General

Profile

Actions

Bug #5911

closed

ceph-deploy to Ubuntu targets touches sysvinit for mons and upstart for osds

Added by Mark Kirkwood almost 11 years ago. Updated almost 11 years ago.

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

0%

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

Testing ceph-deploy from git master (checked out 6 Aug ad1f3f3689e8b060a13f715e7ac3735f91e9c546) for Ubuntu 12.04 targets, after deploying I see that the mons have a 'sysvinit' startup file and the osds an 'upstart' one (see listings below).

While the system does start up ok, this seems like a situation bound to confuse at some point (earlier versions of ceph-deploy were consistently making an 'upstart' file)

$ initctl list|grep ceph
ceph-mds-all-starter stop/waiting
ceph-mds-all start/running
ceph-osd-all start/running
ceph-osd-all-starter stop/waiting
ceph-all start/running
ceph-mon-all start/running
ceph-mon-all-starter stop/waiting
ceph-mon stop/waiting
ceph-create-keys stop/waiting
ceph-osd (ceph/1) start/running, process 1512
ceph-mds stop/waiting

$ ls l /var/lib/ceph/mon/ceph-ceph1/
total 8
-rw-r--r-
1 root root 0 Aug 9 12:44 done
rw-r--r- 1 root root 77 Aug 9 12:44 keyring
drwxr-xr-x 2 root root 4096 Aug 9 12:49 store.db
rw-r--r- 1 root root 0 Aug 9 12:44 sysvinit

$ ls l /var/lib/ceph/osd/ceph-0/
total 52
-rw-r--r-
1 root root 481 Aug 9 12:45 activate.monmap
rw-r--r- 1 root root 3 Aug 9 12:45 active
rw-r--r- 1 root root 37 Aug 9 12:45 ceph_fsid
drwxr-xr-x 196 root root 8192 Aug 9 12:46 current
rw-r--r- 1 root root 37 Aug 9 12:45 fsid
lrwxrwxrwx 1 root root 58 Aug 9 12:45 journal > /dev/disk/by-partuuid/59669bd7-96f1-4b06-ab9a-a7e1ca554493
-rw-r--r-
1 root root 37 Aug 9 12:45 journal_uuid
rw------ 1 root root 56 Aug 9 12:45 keyring
rw-r--r- 1 root root 21 Aug 9 12:45 magic
rw-r--r- 1 root root 6 Aug 9 12:45 ready
rw-r--r- 1 root root 4 Aug 9 12:45 store_version
rw-r--r- 1 root root 0 Aug 9 12:49 upstart
rw-r--r- 1 root root 2 Aug 9 12:45 whoami


Files

common.py.patch (881 Bytes) common.py.patch use lsb modude to get init Mark Kirkwood, 08/09/2013 11:12 PM
debian-mon-create.py.patch (1004 Bytes) debian-mon-create.py.patch use lsb module to get init Mark Kirkwood, 08/09/2013 11:12 PM
debian-mon-create.py-1.patch (1.26 KB) debian-mon-create.py-1.patch Really handle the possibility of additional init types Mark Kirkwood, 08/09/2013 11:42 PM
mon-create-lsb.patch (2.19 KB) mon-create-lsb.patch use lsb module in __init__.py to simplify get init logic Mark Kirkwood, 08/12/2013 06:35 PM
Actions

Also available in: Atom PDF