Skip to content

Retry ocs olm operator query if the response is not ok #12802

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clacroix12
Copy link
Contributor

No description provided.

@clacroix12 clacroix12 requested a review from a team July 25, 2025 19:37
@clacroix12 clacroix12 requested a review from a team as a code owner July 25, 2025 19:37
@clacroix12 clacroix12 added Needs Deployment Testing Needs Deployment and Some Tier1 Testing team/ecosystem Ecosystem team related issues/PRs labels Jul 25, 2025
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines label Jul 25, 2025
@clacroix12
Copy link
Contributor Author

Verified locally that the retry logic works as expected, but I'm going to use this in a few failed job rebuilds to verify further.

ocs-build --image --ocs-version 4.19                                                                                                                                                                                                                                                     
Retrieving OCS OLM Operator tags (limit 100, page 1)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 2)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 3)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 4)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 5)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 6)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 7)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 8)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 9)                                                                                                                                                                                                                                       
Retrieving OCS OLM Operator tags (limit 100, page 10)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 11)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 12)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 13)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 14)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 15)                                                                                                                                                                                                                                      
Fake exception to test retry, Retrying in 5 seconds...                                                                                                                                                                                                                                     
Retrieving OCS OLM Operator tags (limit 100, page 15)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 16)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 17)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 18)                                                                                                                                                                                                                                      
Fake exception to test retry, Retrying in 5 seconds...                                                                                                                                                                                                                                     
Retrieving OCS OLM Operator tags (limit 100, page 18)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 19)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 20)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 21)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 22)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 23)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 24)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 25)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 26)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 27)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 28)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 29)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 30)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 31)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 32)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 33)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 34)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 35)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 36)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 37)                                                                                                                                                                                                                                      
Retrieving OCS OLM Operator tags (limit 100, page 38)                                                                                                                                                                                                                                      
quay.io/rhceph-dev/ocs-registry:4.19.0-121.konflux

@clacroix12 clacroix12 added Verified Mark when PR was verified and log provided and removed Needs Deployment Testing Needs Deployment and Some Tier1 Testing labels Jul 25, 2025
@clacroix12
Copy link
Contributor Author

I've rebuilt several jobs that failed due to quay queries not returning an ok response with this PR and they have been able to retrieve tags with no issues.

Copy link

openshift-ci bot commented Jul 26, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: clacroix12, petr-balogh, vavuthu

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm size/M PR that changes 30-99 lines team/ecosystem Ecosystem team related issues/PRs Verified Mark when PR was verified and log provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants