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 1783030: Detect replacement cycles while adding package channels #63
Bug 1783030: Detect replacement cycles while adding package channels #63
Conversation
Hi @tmckayus. Thanks for your PR. I'm waiting for a operator-framework or openshift 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. |
I ran into this accidentally while editing CSVs :) On a local OCP instance running in a VM, this actually caused qemu to suck up near 100% CPU. This change, in a pod, should cause the pod to fail and enter a crash backoff loop with a log message which should be more clear to a user if they happen to do what I did. It might be nice to detect this in bundle validation in operator-courier as well. |
fix for #64 |
163a68b
to
165b38b
Compare
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.
/ok-to-test
Sorry for the delay. Just one small thing and then I think it's good:
165b38b
to
3eecaf2
Compare
/test unit |
3eecaf2
to
c8f3e37
Compare
rebased on master |
c8f3e37
to
19a37f5
Compare
@njhale is this good to merge now? |
@jwforres will review today. Currently, we also need to associate a BZ for this to merge, so I'll take care of that today as well. |
@tmckayus: This pull request references Bugzilla bug 1783030, 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. 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. |
/test unit |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, njhale, tmckayus 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 |
/retest |
After this merges I will manually check master, but I'm fairly certain that this patch doesn't cause any flakes on its own. |
/retest we're just hitting issues with test infra, doesn't look related to the project itself. |
@tmckayus: All pull requests linked via external trackers have merged. Bugzilla bug 1783030 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. |
/cherry-pick release-4.3 |
@njhale: new pull request created: #345 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. |
If a cycle is created via "replaces" attributes in CSVs, the appregistry-server will infinite loop in the sqlite loader and never serve. This is a simple fix to detect the cycle and fail.