Skip to content

OCPBUGS-8506,OCPBUGS-8508,OCPBUGS-8501: [release-4.12] Fix EFW's name truncation logic & make EFW ACLs unique using extIDs#1559

Merged
openshift-merge-robot merged 4 commits intoopenshift:release-4.12from
npinaeva:ocpbugs-8501
Mar 10, 2023
Merged

OCPBUGS-8506,OCPBUGS-8508,OCPBUGS-8501: [release-4.12] Fix EFW's name truncation logic & make EFW ACLs unique using extIDs#1559
openshift-merge-robot merged 4 commits intoopenshift:release-4.12from
npinaeva:ocpbugs-8501

Conversation

@npinaeva
Copy link
Copy Markdown
Contributor

@npinaeva npinaeva commented Mar 7, 2023

backport of #1558
Conflicts:
go-controller/pkg/ovn/egressfirewall_test.go -
use hardcoded address set hash names

npinaeva and others added 4 commits March 7, 2023 16:14
when the acl name is cropped. That happens when namespace name is
longer than 43 symbols.

Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
(cherry picked from commit dafe82b)
(cherry picked from commit d74d6ea)

Conflicts:
	go-controller/pkg/ovn/egressfirewall_test.go -
use hardcoded address set hash names
This commit adds a test to showcase that
since syncEgressFirewall isn't calling libovsdbops.BuildACL
directly, we are not truncating ACL names.

Note that we really need https://github.com/ovn-org/libovsdb/issues/338
for our test server to start screaming for long names.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
(cherry picked from commit d996d0e)
(cherry picked from commit e6a85ac)
This commit ensures we truncate names as a precaution
also in CreateOrUpdateACLsOps so that our bases are
covered since not all code snippets call BuildACL
directly

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
(cherry picked from commit 7bfe50e)
(cherry picked from commit 22adda1)
In SetupMaster, we always call CreateOrUpdatePortGroupsOps
with empty ACLs and PGs for the cluster-wide port group
and cluster-wide-router-PG. This is disruptive during
upgrades since momentarily all efw ACLs and multicast ACLs
will be wiped out.

This commit changes this to first check if the PG already exists,
if then no need to do anything.
Each of those features are responsible for ensuring ACLs, Ports
are good on those PGs they own.

NOTE: This bug was an issue for multicast and started being an
issue for egf from ovn-kubernetes/ovn-kubernetes@bd29f41
Before that we didn't have ACLs on cluster wide PG.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
(cherry picked from commit 935bc55)
(cherry picked from commit 7c153b3)
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 7, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: This pull request references Jira Issue OCPBUGS-8501, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8471 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is New instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

backport of #1558

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.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Mar 7, 2023
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 7, 2023

@npinaeva: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

OCPBUGS-8501: [release-4.12] Add egress firewall external id to make name+externalIDs unique

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.

@openshift-ci openshift-ci bot requested review from JacobTanenbaum and tssurya March 7, 2023 15:22
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: This pull request references Jira Issue OCPBUGS-8501, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8471 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is New instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

backport of #1558
Conflicts:
go-controller/pkg/ovn/egressfirewall_test.go -
use hardcoded address set hash names

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 7, 2023

@npinaeva: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

OCPBUGS-8501: [release-4.12] Add egress firewall external id to make name+externalIDs unique

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.

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/retitle OCPBUGS-8506,OCPBUGS-8508,OCPBUGS-8501: [release-4.12] Fix EFW's name truncation logic & make EFW ACLs unique using extIDs

@openshift-ci openshift-ci bot changed the title OCPBUGS-8501: [release-4.12] Add egress firewall external id to make name+externalIDs unique OCPBUGS-8506,OCPBUGS-8508,OCPBUGS-8501: [release-4.12] Fix EFW's name truncation logic & make EFW ACLs unique using extIDs Mar 7, 2023
@openshift-ci-robot openshift-ci-robot added the jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. label Mar 7, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: This pull request references Jira Issue OCPBUGS-8506, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8504 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is ASSIGNED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-8508, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8505 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is ASSIGNED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

This pull request references Jira Issue OCPBUGS-8501, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8471 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is New instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

backport of #1558
Conflicts:
go-controller/pkg/ovn/egressfirewall_test.go -
use hardcoded address set hash names

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 7, 2023

@npinaeva: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

OCPBUGS-8506,OCPBUGS-8508,OCPBUGS-8501: [release-4.12] Fix EFW's name truncation logic & make EFW ACLs unique using extIDs

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.

Copy link
Copy Markdown
Contributor

@tssurya tssurya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Waiting on CI

@trozet
Copy link
Copy Markdown
Contributor

trozet commented Mar 7, 2023

/lgtm

@trozet
Copy link
Copy Markdown
Contributor

trozet commented Mar 7, 2023

/label backport-risk-assessed

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. labels Mar 7, 2023
@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 8, 2023

/test e2e-vsphere-windows

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 8, 2023

/approve

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 8, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dcbw, npinaeva, trozet, tssurya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 8, 2023
@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 8, 2023

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@dcbw: This pull request references Jira Issue OCPBUGS-8506, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8504 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is MODIFIED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-8508, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8505 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is MODIFIED instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-8501, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8471 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8471 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @anuragthehatter

Details

In response to this:

/jira refresh

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.

@openshift-ci openshift-ci bot requested a review from anuragthehatter March 8, 2023 21:03
@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 9, 2023

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@dcbw: This pull request references Jira Issue OCPBUGS-8506, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8504 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is ON_QA instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-8508, which is invalid:

  • expected dependent Jira Issue OCPBUGS-8505 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is ON_QA instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

This pull request references Jira Issue OCPBUGS-8501, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8471 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8471 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @anuragthehatter

Details

In response to this:

/jira refresh

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
Copy link
Copy Markdown
Contributor Author

npinaeva commented Mar 9, 2023

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 9, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: This pull request references Jira Issue OCPBUGS-8506, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8504 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8504 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @anuragthehatter

This pull request references Jira Issue OCPBUGS-8508, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8505 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8505 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @anuragthehatter

This pull request references Jira Issue OCPBUGS-8501, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-8471 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-8471 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @anuragthehatter

Details

In response to this:

/jira refresh

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
Copy link
Copy Markdown
Contributor Author

npinaeva commented Mar 9, 2023

/tide refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 0488502 and 2 for PR HEAD eb312de in total

@npinaeva
Copy link
Copy Markdown
Contributor Author

npinaeva commented Mar 9, 2023

/retest-required

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 9, 2023

/test e2e-aws-ovn-upgrade-local-gateway

@npinaeva
Copy link
Copy Markdown
Contributor Author

/retest-required

@abhat
Copy link
Copy Markdown
Contributor

abhat commented Mar 10, 2023

/override ci/prow/e2e-aws-ovn-local-to-shared-gateway-mode-migration
/override ci/prow/e2e-aws-ovn-shared-to-local-gateway-mode-migration
/override ci/prow/e2e-aws-ovn-upgrade

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 10, 2023

@abhat: Overrode contexts on behalf of abhat: ci/prow/e2e-aws-ovn-local-to-shared-gateway-mode-migration, ci/prow/e2e-aws-ovn-shared-to-local-gateway-mode-migration, ci/prow/e2e-aws-ovn-upgrade

Details

In response to this:

/override ci/prow/e2e-aws-ovn-local-to-shared-gateway-mode-migration
/override ci/prow/e2e-aws-ovn-shared-to-local-gateway-mode-migration
/override ci/prow/e2e-aws-ovn-upgrade

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.

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 10, 2023

/override ci/prow/e2e-aws-ovn-local-gateway
openshift/kubernetes#1503

/override ci/prow/e2e-aws-ovn-upgrade-local-gateway
infra issues with AWS during install

/override ci/prow/e2e-aws-ovn-upgrade-local-gateway
failure to pull Java images from somewhere during test

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 10, 2023

@dcbw: Overrode contexts on behalf of dcbw: ci/prow/e2e-aws-ovn-local-gateway, ci/prow/e2e-aws-ovn-upgrade-local-gateway

Details

In response to this:

/override ci/prow/e2e-aws-ovn-local-gateway
openshift/kubernetes#1503

/override ci/prow/e2e-aws-ovn-upgrade-local-gateway
infra issues with AWS during install

/override ci/prow/e2e-aws-ovn-upgrade-local-gateway
failure to pull Java images from somewhere during test

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.

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 10, 2023

/override ci/prow/e2e-gcp-ovn
This is the one that actually has the openjdk pull issues

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 10, 2023

@dcbw: Overrode contexts on behalf of dcbw: ci/prow/e2e-gcp-ovn

Details

In response to this:

/override ci/prow/e2e-gcp-ovn
This is the one that actually has the openjdk pull issues

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.

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 10, 2023

/tide refresh

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 10, 2023

@npinaeva: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-vsphere-ovn eb312de link false /test e2e-vsphere-ovn
ci/prow/e2e-ovn-hybrid-step-registry eb312de link false /test e2e-ovn-hybrid-step-registry
ci/prow/e2e-aws-ovn eb312de link true /test e2e-aws-ovn
ci/prow/e2e-gcp-ovn eb312de link true /test e2e-gcp-ovn
ci/prow/e2e-aws-ovn-upgrade-local-gateway eb312de link true /test e2e-aws-ovn-upgrade-local-gateway
ci/prow/e2e-aws-ovn-local-gateway eb312de link true /test e2e-aws-ovn-local-gateway

Full PR test history. Your PR dashboard.

Details

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.

@openshift-merge-robot openshift-merge-robot merged commit 951ab2e into openshift:release-4.12 Mar 10, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: Jira Issue OCPBUGS-8506: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-8506 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-8508: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-8508 has been moved to the MODIFIED state.

Jira Issue OCPBUGS-8501: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-8501 has been moved to the MODIFIED state.

Details

In response to this:

backport of #1558
Conflicts:
go-controller/pkg/ovn/egressfirewall_test.go -
use hardcoded address set hash names

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 npinaeva deleted the ocpbugs-8501 branch March 10, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.