]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
systemd: Start OSDs after MONs 13097/head
authorBoris Ranto <branto@redhat.com>
Wed, 25 Jan 2017 11:39:40 +0000 (12:39 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 25 Jan 2017 11:39:46 +0000 (12:39 +0100)
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>
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