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 1789920: Fix bad opgroup annotations #1267
Bug 1789920: Fix bad opgroup annotations #1267
Conversation
annotations on copied csvs will get overwritten to the wrong thing
csvs. these annotations are used to calculate gc graphs and overwriting them causes copied csvs to be left behind if they land in a target ns that has another operatorgroup in it.
that indicate the current namespace is the operatorgroupnamespace are not gc'd properly. this is the result of a previous bug where the namespace annotations could be incorrectly set on copied csvs. the next commit will fix this test and cause it to pass.
@ecordell: This pull request references Bugzilla bug 1789920, 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. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ecordell, njhale 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 |
1 similar comment
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
5 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@ecordell: All pull requests linked via external trackers have merged. Bugzilla bug 1789920 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 |
@ecordell: new pull request created: #1272 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. |
Description of the change:
This has two tests and two fixes:
Motivation for the change:
Copied CSVs had their operatorgroup annotations overwritten if they landed in namespaces that had their own operatorgroups. The GC loop looks at this annotation to find the "parent" real csv, so for ownnamespace operatorgroups, GC would find that same copied CSV, see it present, and not GC it.
This fixes the underlying issue and adds cleanup for any CSVs that have these bad annotations.
Reviewer Checklist
/docs