Project

General

Profile

Actions

Feature #14348

closed

systemd: support multiple clusters

Added by Artemy Kapitula over 8 years ago. Updated about 3 years ago.

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

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

systemd unit files has a hardcoded "ceph" cluster name.

It makes new releases completely unusable on modern Linux systems who are systemd-based (Fedora, CentOS, RedHat).

The suggested solution is to create a wrapper to parse a one-word daemon identifier and pass it to daemons after splitting to cluster/id parts:

ceph-custom-daemon osd clustername.1 => ceph-osd --cluster clustername --id 1
ceph-custom-daemon mon clustername.monid => ceph-mon --cluster clustername --id monid


Files

ceph-9.2.0-osd-prestart.diff (790 Bytes) ceph-9.2.0-osd-prestart.diff /usr/libexec/ceph/ceph-osd-prestart.sh fix Artemy Kapitula, 01/12/2016 09:10 PM
ceph-9.2.0-systemd.diff (6.19 KB) ceph-9.2.0-systemd.diff main patch part Artemy Kapitula, 01/12/2016 09:10 PM
Actions

Also available in: Atom PDF