Skip to content

Commit

Permalink
systemd: Wait 10 seconds before restarting ceph-mgr
Browse files Browse the repository at this point in the history
We do this for the MON and OSD as well, wait for a few
seconds before we try to attempt a restart.

On boot in IPv6 networks it might take a few seconds longer
before a IP-address is usable and this does not allow the mgr
to start right away.

Fixes: http://tracker.ceph.com/issues/23083

Signed-off-by: Wido den Hollander <[email protected]>
  • Loading branch information
wido committed Feb 22, 2018
1 parent d7dfdc8 commit c628cd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mgr -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=10
StartLimitInterval=30min
StartLimitBurst=3

Expand Down

0 comments on commit c628cd0

Please sign in to comment.