From: Boris Ranto Date: Wed, 25 Jan 2017 11:39:40 +0000 (+0100) Subject: systemd: Start OSDs after MONs X-Git-Tag: v10.2.8~102^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e11a938c5c9acd8a50efa9a154ea3bf21bcafc5;p=ceph.git 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) Conflicts: systemd/ceph-osd@.service (jewel does not have 4179aa8d) --- diff --git a/systemd/ceph-osd@.service b/systemd/ceph-osd@.service index bd5a78be84c2..ad0c5f8d216e 100644 --- a/systemd/ceph-osd@.service +++ b/systemd/ceph-osd@.service @@ -1,6 +1,6 @@ [Unit] Description=Ceph object storage daemon -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