]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
systemd: Restart Mon after 10s in case of failure 13185/head
authorWido den Hollander <wido@42on.com>
Mon, 23 Jan 2017 07:18:27 +0000 (08:18 +0100)
committerNathan Cutler <ncutler@suse.com>
Sun, 29 Jan 2017 15:49:23 +0000 (16:49 +0100)
commit16b2fd00ecf7d7fcc7590f0ca030ff33a32f2196
tree097e8a28dda3692d28e2642c067c6af495a9dea6
parentce8edcfed6cd908779efd229202eab1232d16f1c
systemd: Restart Mon after 10s in case of failure

In some situations the IP address the Monitor wants to bind to
might not be available yet.

This might for example be a IPv6 Address which is still performing
DAD or waiting for a Router Advertisement to be send by the Router(s).

Have systemd wait for 10s before starting the Mon and increase the amount
of times it does so to 5.

This allows the system to bring up IP Addresses in the mean time while
systemd waits with restarting the Mon.

Fixes: #18635
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit e73eb8cc1e0d45af1f0b7852c551f2ddfb82a520)
systemd/ceph-mon@.service