-
Notifications
You must be signed in to change notification settings - Fork 545
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
Bug 1870453: Should not compare the digest if cannot the new update pod's imageID #1729
Bug 1870453: Should not compare the digest if cannot the new update pod's imageID #1729
Conversation
Hi @jianzhangbjz. Thanks for your PR. I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/assign @ankitathomas @njhale |
/assign @ankitathomas @njhale |
/ok-to-test |
@exdx Dan, this PR impacts your on-going polling PR. May want to see if we can consolidate the effort to avoid potential code conflict here. |
/hold |
@jianzhangbjz thanks for your contribution. we are doing some refactoring in this space, take a look at #1733 which is also implementing the same bugfix but in the newer codepath. i would like to add an e2e test to this PR, which is something we can collaborate on and could also use your review. |
@exdx Thanks for your explanation! I get it, feel free to do any operations on this PR, thank you! |
f492ef2
to
948cd34
Compare
@jianzhangbjz: The following test failed, say
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. |
/retitle Bug 1870453: Should not compare the digest if cannot the new update pod's imageID |
@jianzhangbjz: Re-titling can only be requested by trusted users, like repository collaborators. 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. |
@jianzhangbjz: This pull request references Bugzilla bug 1870453, 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. |
/bugzilla refresh |
@jianzhangbjz: This pull request references Bugzilla bug 1870453, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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 |
@exdx Could you help have a review again? Thanks! |
With the new logic in place in /hold cancel |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jianzhangbjz, kevinrizza 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 |
@jianzhangbjz: All pull requests linked via external trackers have merged: Bugzilla bug 1870453 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. |
Thanks for reviewing! |
Description of the change:
During the CatalogSource pods polling, OLM compare the digest of the update pod and the current served pods. But, OLM cannot get the imageID of the update pod once it's created. But, OLM still compare the digest, it leads to unnecessary updates operations. As follows:
Motivation for the change:
When the imageID of the update pod is empty, don't run the updates operations.
Reviewer Checklist
/docs