-
Notifications
You must be signed in to change notification settings - Fork 68
add retry on exception and timeout_seconds for get call #990
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
Conversation
|
The following are automatically added:
Available user actions:
|
rnetser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix ci :)
|
!verified |
|
!verified |
|
Kudos, SonarCloud Quality Gate passed!
|
|
!cherry-pick v4.12 |
* add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
|
Cherry-picked PR add retry on exception and timeout_seconds for get call into v4.12 |
* add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
…for get call (#1014) * add retry on exception and timeout_seconds for get call (#990) * add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Add TIMEOUT_1MINUTE constant Co-authored-by: Debarati Basu-Nag <dbasunag@redhat.com> Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
|
!cherry-pick v4.11 |
* add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
|
Cherry-picked PR add retry on exception and timeout_seconds for get call into v4.11 |
* add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
* add retry on exception and timeout_seconds for get call (#990) * add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Add constant TIMEOUT_1MINUTE Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
…atQE#1023) * add retry on exception and timeout_seconds for get call (RedHatQE#990) * add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Add constant TIMEOUT_1MINUTE Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
… (#1029) * add retry on exception and timeout_seconds for get call (#990) * add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> * Add constant TIMEOUT_1MINUTE Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com> Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>
* add retry on exception and timeout_seconds for get call * add retry on exception and timeout_seconds for get call * fix CI issue * fix CI error * add docstring * Update ocp_resources/resource.py Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> * undo the last changes * undo the changes * add timeout_seconds to class attribute Co-authored-by: Ruth Netser <54615090+rnetser@users.noreply.github.com> Co-authored-by: Meni Yakove <441263+myakove@users.noreply.github.com>








Short description:
rpc error should be retried as during some operations, they are common. However they recoverable.
We need to add a timeout_seconds for regular get calls, as sometimes, we can have hung call.
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug: