Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: Restart Mon after 10s in case of failure #13057

Merged
merged 1 commit into from Jan 27, 2017

Conversation

wido
Copy link
Member

@wido wido commented Jan 23, 2017

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.

Signed-off-by: Wido den Hollander wido@42on.com

@wido wido added the mon label Jan 23, 2017
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: ceph#18635

Signed-off-by: Wido den Hollander <wido@42on.com>
@ghost ghost added the needs-qa label Jan 25, 2017
@liewegas liewegas merged commit 496012e into ceph:master Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants