This removes the ability for multiple ceph clusters on the same hardware
but keeps the suport serface smaller without autogenerating systemd servixce
files.
See discussion here:
https://github.com/ceph/ceph/pull/4062
fix for bnc#915567
Signed-off-by: Owen Synge <osynge@suse.com>
[
'systemctl',
'enable',
- 'ceph-{cname}osd@{osd_id}'.format(osd_id=osd_id,
- cname=cname),
+ 'ceph-osd@{osd_id}'.format(osd_id=osd_id),
],
)
command_check_call(
[
'systemctl',
'start',
- 'ceph-{cname}osd@{osd_id}'.format(osd_id=osd_id,
- cname=cname),
+ 'ceph-osd@{osd_id}'.format(osd_id=osd_id),
],
)
else:
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
-Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i
[Install]
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
-Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
[Install]
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
-Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
LimitNOFILE=131072
--- /dev/null
+CLUSTER=fred