Actions
Bug #11212
closedceph-disk incorrectly marks OSD disks as using upstart under systemd
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
ceph-disk is hardcoded "ubuntu == upstart"; this is not true any longer.
Original issue: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1435464
Updated by Alfredo Deza about 9 years ago
It should be straight forward to fix, this is how ceph-deploy does it which is the same as the Ceph init scripts:
def is_systemd(conn): """ Attempt to detect if a remote system is a systemd one or not by looking into ``/proc`` just like the ceph init script does:: # detect systemd # SYSTEMD=0 grep -qs systemd /proc/1/comm && SYSTEMD=1 """ return conn.remote_module.grep( 'systemd', '/proc/1/comm' )
Updated by Alfredo Deza almost 8 years ago
- Status changed from New to Closed
These is no longer relevant as Ceph is using a tool called ceph-detect-init that is meant to address these detections
Actions