Skip to content

Commit

Permalink
systemd: Start OSDs after MONs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
b-ranto committed Jan 25, 2017
1 parent 5ce4036 commit 7f4acf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/[email protected]
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 7f4acf4

Please sign in to comment.