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

🐛 Increase timeout on connection refused errors #1391

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Conversation

janiskemper
Copy link
Contributor

What this PR does / why we need it:
We have the timeout of one minute that we allow connection refused errors to come after reboot of a server.

In this commit we added the (correct) permanent error if we conclude the reboot to be "failed". However, apparently, for a long time already, we marked reboots as failed that did not actually fail.

This commit introduces a larger timeout, so that we don't mark the reboots as failed, and in turn don't mark the HetznerBareMetalHost as failed.

TODOs:

  • squash commits
  • include documentation
  • add unit tests

@syself-bot syself-bot bot added size/S Denotes a PR that changes 20-50 lines, ignoring generated files. area/code Changes made in the code directory labels Jul 23, 2024
We have the timeout of one minute that we allow connection refused
errors to come after reboot of a server.

In this commit we added the (correct) permanent error if we conclude the
reboot to be "failed". However, apparently, for a long time already, we
marked reboots as failed that did not actually fail.

This commit introduces a larger timeout, so that we don't mark the
reboots as failed, and in turn don't mark the HetznerBareMetalHost as
failed.

We also increase the timeouts to a minimum of 10 min, so that we don't
run into failed states so quickly
@batistein batistein merged commit a33c475 into main Jul 23, 2024
8 of 9 checks passed
@batistein batistein deleted the fix-timeout branch July 23, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Changes made in the code directory size/S Denotes a PR that changes 20-50 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants