From 8c2f590338dec75dabfb1e9ae0d2c516c91b2636 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Wed, 25 Jan 2017 12:39:40 +0100 Subject: [PATCH] systemd: Start OSDs after MONs Currently, we start/stop OSDs and MONs simultaneously. This may cause problems especially when we are shutting down the system. Once the mon goes down it causes a re-election and the MONs can miss the message from the OSD that is going down. Resolves: http://tracker.ceph.com/issues/18516 Signed-off-by: Boris Ranto (cherry picked from commit 7f4acf45dd0d86e7d9992a8c30e5876fb57b1914) --- systemd/ceph-osd@.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index c85d7baa324ea..0a43ee166ba73 100644 --- a/systemd/ceph-osd@.service +++ b/systemd/ceph-osd@.service @@ -1,6 +1,6 @@ [Unit] Description=Ceph object storage daemon osd.%i -After=network-online.target local-fs.target time-sync.target +After=network-online.target local-fs.target time-sync.target ceph-mon.target Wants=network-online.target local-fs.target time-sync.target PartOf=ceph-osd.target