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
OCPBUGS-14241: nto: pao avoid timeout when there are too many CSV #731
Conversation
Skipping CI for Draft Pull Request. |
/cc @yanirq |
fix PR description: PAO is included in NTO since 4.11 (including) |
/test e2e-gcp-pao-updating-profile |
thanks, done. |
@jlojosnegros: This pull request references Jira Issue OCPBUGS-14241, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/jira refresh |
@jlojosnegros: This pull request references Jira Issue OCPBUGS-14241, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/jira refresh |
@jlojosnegros: This pull request references Jira Issue OCPBUGS-14241, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
349da89
to
eb6aa65
Compare
/retest |
The logic looks sound to me. However this needs manual validation, because our CI will not test the proper scenario on the main branch. /lgtm |
@yanirq PTAL |
/payload-job periodic-ci-openshift-release-master-ci-4.15-upgrade-from-stable-4.14-e2e-gcp-ovn-upgrade |
@yanirq: trigger 1 job(s) for the /payload-(job|aggregate) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/891fb440-5c66-11ee-83dd-0839f5003567-0 |
/lgtm |
@jlojosnegros: This pull request references Jira Issue OCPBUGS-14241, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/jira refresh |
@jlojosnegros: This pull request references Jira Issue OCPBUGS-14241, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (liqcui@redhat.com), skipping review request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold cancel |
Sometimes NTO timesout when listing CSVs. Adding pagination should solve this problem. Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com>
5bd25e4
to
b0ea0ef
Compare
code rebased over latest master to overcome conflicts |
@jlojosnegros: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/cherry-pick release-4.14 |
@ffromani: once the present PR merges, I will cherry-pick it on top of release-4.14 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@jlojosnegros: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
@jlojosnegros: Jira Issue OCPBUGS-14241: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-14241 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@ffromani: #731 failed to apply on top of branch "release-4.14":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Adding pagination to CSVs list operation while deleting PAO OLM operator elements.
From versions >= 4.11 PAO has been integrated into NTO
For that reason PAO OLM operator elements (ClusterServiceVersion, Subscriptions .. ) should be deleted
As part of this operation CSVs are listed. This operation can take too long in some clusters due to the number of elements to be listed, and so the operation will hit a timeout and the pod will crash. This could end on a
Crashbackloop
situation.Adding pagination to the list operation should avoid this situation.