-
Notifications
You must be signed in to change notification settings - Fork 192
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-41892: Single Watch on GWAPI CRD #1165
base: master
Are you sure you want to change the base?
Conversation
@Thealisyed: This pull request references Jira Issue OCPBUGS-41892, 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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@Thealisyed: This pull request references Jira Issue OCPBUGS-41892, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
/test e2e-aws-ovn-single-node |
/retest-required |
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.
(Whoops, I've had this review pending, waiting for me to submit it, for 5 days...)
Is it true that the existing watch only generates reconciliation requests when the Gateway API feature is not enabled?
In any case, please add a little more detail in the commit message. For example:
gatewayapi: Use single watch for CRDs
Replace the multiple watches for Gateway API CRDs with a single CRD watch, with
a predicate to filter CRDs based on the gatewayapiv1.GroupName. This ensures
that only relevant CRDs are watched, reducing unnecessary reconciliation
requests and log messages.
This commit fixes OCPBUGS-41892.
https://issues.redhat.com/browse/OCPBUGS-41892
/assign |
@Thealisyed please investigate the failures in the CI tests, especially e2e-aws-gatewayapi, which is the GWAPI test. I ran a retest to see if the issue with imagestreams had gone away. |
/retest |
@Thealisyed please note you will need to squash your three commits before merge. |
Process did not finish before 4h0m0s timeout /test e2e-aws-ovn-serial |
328eeeb
to
56367cc
Compare
/approve The changes look fine to me. I did have a suggestion for the commit message: #1165 (review). We generally follow the upstream conventions: https://www.kubernetes.dev/docs/guide/pull-requests/#commit-message-guidelines |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-aws-ovn-techpreview |
@Miciah Apologies for the confusion! I initially misunderstood your comment and thought you wanted a longer commit message. I now see you're suggesting adding more detail, like in the example you shared. I'll update the commit message to follow the upstream guidelines. Thanks for the clarification! |
Replace the multiple watches for Gateway API CRDs with a single CRD watch, with a predicate to filter CRDs based on the gatewayapiv1.GroupName. This ensures that only relevant CRDs are watched, reducing unnecessary reconciliation requests and log messages. This commit fixes OCPBUGS-41892. https://issues.redhat.com/browse/OCPBUGS-41892
56367cc
to
f3551d0
Compare
/retest-required |
1 similar comment
/retest-required |
/test e2e-aws-operator |
@Thealisyed - before you test again, do a little analysis on the failures, and write them up like this. Then the next time they fail, if this failure keeps happening, you'll need to figure or get help to figure out why. Two unit test failures: TestAll/serial/TestRouterCompressionOperation TestAll/serial/TestCanaryWithMTLS /test e2e-aws-operator-techpreview |
"Operator "console-operator\ + cluster-samples-operator" produces more watch requests than expected [for both] /retest |
@Thealisyed: 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-sigs/prow repository. I understand the commands that are listed here. |
@Thealisyed, in the e2e-aws-gatewayapi test logs, where the featuregate is on, I'm seeing some errors that should be investigated: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_cluster-ingress-operator/1165/pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-gatewayapi/1862083335728140288/artifacts/e2e-aws-gatewayapi/gather-extra/artifacts/pods/openshift-ingress-operator_ingress-operator-58d85999bb-l6cpv_ingress-operator.log Can you check if this happens on a cluster without your changes? If so, please open a new bug that points to the logs. If not, we need to find out what's in this PR that would cause the errors. Specifically, lots of these:
and then eventually it is able to create the servicemeshcontrolplane:
|
Hold for a check on logs |
Pre merge verified, Gateway logs does not flood the cluster-ingress-operator logs
/label qe-approved |
@Thealisyed: This pull request references Jira Issue OCPBUGS-41892, 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 openshift-eng/jira-lifecycle-plugin repository. |
/jira refresh |
@Miciah: This pull request references Jira Issue OCPBUGS-41892, 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 ([email protected]), 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 openshift-eng/jira-lifecycle-plugin repository. |
A single CRD watch was added with a predicate to filter CRDs based on the gatewayapiv1.GroupName. This ensures that only relevant CRDs are watched, reducing unnecessary logging when the Gateway API feature is not enabled.