]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
systemd: Wait 10 seconds before restarting ceph-mgr 20533/head
authorWido den Hollander <wido@42on.com>
Thu, 22 Feb 2018 10:53:41 +0000 (11:53 +0100)
committerWido den Hollander <wido@42on.com>
Thu, 22 Feb 2018 10:53:41 +0000 (11:53 +0100)
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 <wido@42on.com>
systemd/ceph-mgr@.service

index 6614e54f6a5e61255e512c552bb3f69a867015bd..8272ad09c298aa87b3b182568df09dbc9cbf3408 100644 (file)
@@ -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