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-4655: [release-4.11] Don't delete equivalent ACLs by predicate, since it will fail if #1444
OCPBUGS-4655: [release-4.11] Don't delete equivalent ACLs by predicate, since it will fail if #1444
Conversation
@npinaeva: No Bugzilla bug is referenced in the title of this pull 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. |
@npinaeva: This pull request references Jira Issue OCPBUGS-4655, 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. |
equivalent ACL is not deleted from port group/switch. e.g. on netpol sync, users (somehow) ended up with equivalent default deny ACLs with different names, and extra ACL wasn't deleted. Remove DeleteACLs and DeleteACLsOps functions, use DeleteACLsFromPortGroups and RemoveACLsFromLogicalSwitchesWithPredicate instead. Hack unit tests, since we don't explicitly delete ACLs anymore, they will be garbage collected by the ovsdb, but not by our unit test db. Therefore, add dereferenced ACLs to the expected db state, remove that when test server learns to garbage collect acls. Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com> (cherry picked from commit d4604ec) (cherry picked from commit e074706) Conflits: go-controller/pkg/ovn/egressfirewal_test.go: Updated to expect not garbage-collected ACLs
9c11b7d
to
eca2110
Compare
/jira refresh |
/retest-required |
/label cherry-pick-approved |
/jira refresh |
@npinaeva: This pull request references Jira Issue OCPBUGS-4655, which is valid. The bug has been moved to the POST state. 6 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 kubernetes/test-infra repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaamano, npinaeva 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-required |
@npinaeva: The following tests 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. |
@npinaeva: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-4655 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. |
Backport of #1406 (only the last commit, which is the fix)