summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2016-07-01 13:55:58 +0200
committerRuben Kerkhof <ruben@rubenkerkhof.com>2016-07-01 14:02:36 +0200
commit4179aa8d447501f722f28be3abc387688a917018 (patch)
tree9f9804368770436eb779a3d42fb5c4149b5abc83 /systemd
parentMerge pull request #10065 from dillaman/wip-16558 (diff)
downloadceph-4179aa8d447501f722f28be3abc387688a917018.tar.xz
ceph-4179aa8d447501f722f28be3abc387688a917018.zip
systemd: add osd id to service description
So, instead of logging this: Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. Jul 01 13:51:04 localhost systemd[1]: Failed to start Ceph object storage daemon. We see this, which is a lot more useful: Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.27. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.32. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.29. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.31. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.23. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.24. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.25. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.30. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.28. Jul 01 13:59:32 localhost systemd[1]: Failed to start Ceph object storage daemon osd.22.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/ceph-osd@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service
index 592b324a8f1..4ee9f26d59b 100644
--- a/systemd/ceph-osd@.service
+++ b/systemd/ceph-osd@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=Ceph object storage daemon
+Description=Ceph object storage daemon osd.%i
After=network-online.target local-fs.target time-sync.target
Wants=network-online.target local-fs.target time-sync.target
PartOf=ceph-osd.target