]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
systemd: Start OSDs after MONs 13494/head
authorBoris Ranto <branto@redhat.com>
Wed, 25 Jan 2017 11:39:40 +0000 (12:39 +0100)
committerShinobu Kinjo <shinobu@redhat.com>
Fri, 17 Feb 2017 17:49:03 +0000 (02:49 +0900)
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 <branto@redhat.com>
(cherry picked from commit 7f4acf45dd0d86e7d9992a8c30e5876fb57b1914)

systemd/ceph-osd@.service

index c85d7baa324ea14ba769ed06daa443b95755ff4f..0a43ee166ba73f9e3b64b5d35aa31b5596f62547 100644 (file)
@@ -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