From c628cd083e48b6a9c61c25c0192b572ed76e9557 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Thu, 22 Feb 2018 11:53:41 +0100 Subject: [PATCH] systemd: Wait 10 seconds before restarting ceph-mgr 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 --- systemd/ceph-mgr@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/ceph-mgr@.service b/systemd/ceph-mgr@.service index 6614e54f6a5..8272ad09c29 100644 --- a/systemd/ceph-mgr@.service +++ b/systemd/ceph-mgr@.service @@ -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 -- 2.39.5