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

fix: Retry containerd yum/rpm tasks up to 30s #749

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

dlipovetsky
Copy link
Collaborator

@dlipovetsky dlipovetsky commented Mar 20, 2023

What problem does this PR solve?:
We found that some network failures lasted longer than 9s.

Which issue(s) does this PR fix?:

Special notes for your reviewer:

I think exponential backoff would have been nice to use, but Ansible does not support it, despite a misleading example in the documentation ansible/ansible#75794.

Does this PR introduce a user-facing change?:

We found that some network failures lasted longer than 9s.
@github-actions github-actions bot added the fix label Mar 20, 2023
@github-actions github-actions bot added fix and removed fix labels Mar 20, 2023
Copy link
Collaborator

@faiq faiq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More retries is definitely better. Sad ansible doesn’t support an exponential back off

@dlipovetsky dlipovetsky merged commit 9dfda76 into main Mar 21, 2023
@dlipovetsky dlipovetsky deleted the dlipovetsky/containerd-rhel-increase-retries branch March 21, 2023 15:41
@dlipovetsky dlipovetsky restored the dlipovetsky/containerd-rhel-increase-retries branch March 21, 2023 17:22
@dlipovetsky dlipovetsky deleted the dlipovetsky/containerd-rhel-increase-retries branch March 21, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants