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 iib_api_timeout, iib_retry_delay and iib_retry_jitter defaul… #416

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

yashvardhannanavati
Copy link
Collaborator

@yashvardhannanavati yashvardhannanavati commented Jul 29, 2022

This will ensure that IIB backs off for a reasonable time before retrying
and will also retry on timeout errors.

Refers to CLOUDDST-14454

@yashvardhannanavati
Copy link
Collaborator Author

@release-engineering/exd-guild-hello-operator PTAL

@lipoja lipoja self-requested a review July 31, 2022 11:00
lipoja
lipoja previously approved these changes Aug 1, 2022
@chandwanitulsi
Copy link
Contributor

@yashvardhannanavati PR needs a rebase

@@ -349,8 +349,8 @@ The custom configuration options for the Celery workers are listed below:
`30s` (30 seconds).
* `iib_total_attempts` - the total number of attempts to make at trying a function relating to the
container registry before erroring out. This defaults to `5`. It's also used as the max number of attempts to buildah when receiving HTTP 50X errors.
* `iib_retry_delay` - the delay in seconds between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `4`.
* `iib_retry_jitter` - the extra seconds to be added on delay between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `2`.
* `iib_retry_delay` - the delay in seconds between retry attempts. It's just used for buildah when receiving HTTP 50X errors. This defaults to `5`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we change this setting as well? It mentions buildah retries will be affected with this only

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The buildah retries happen too soon not allowing any network glitch to resolve. Hence I changed this too. Please let me know if I should revert it

Copy link
Contributor

Choose a reason for hiding this comment

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

Nope. I don't mind this change, we can definitely keep it. :)
I wasn't aware that buildah retries also needed to be optimized.

…t values

This will ensure that IIB backs off for a reasonable time before retrying
and will also retry on timeout errors.

Refers to CLOUDDST-14454
@yashvardhannanavati yashvardhannanavati merged commit 7ee0a8e into master Aug 2, 2022
@yashvardhannanavati yashvardhannanavati deleted the iib_retry_tuning branch August 2, 2022 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants