Skip to content

OCPBUGS-8464,OCPBUGS-8222,OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023#1556

Merged
openshift-merge-robot merged 18 commits intoopenshift:masterfrom
npinaeva:merge-7-mar-23
Mar 8, 2023
Merged

OCPBUGS-8464,OCPBUGS-8222,OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023#1556
openshift-merge-robot merged 18 commits intoopenshift:masterfrom
npinaeva:merge-7-mar-23

Conversation

@npinaeva
Copy link
Copy Markdown
Contributor

@npinaeva npinaeva commented Mar 7, 2023

no conflicts
/cc @jcaamano

cathy-zhou and others added 15 commits March 1, 2023 08:41
Signed-off-by: Yun Zhou <yunz@nvidia.com>
Signed-off-by: Yun Zhou <yunz@nvidia.com>
ovn-k master to start watching every resource.
Add scale metrics for network policies, rename existing
enable-eip-scale-metrics flag to more general enable-scale-metrics, and
use it for network policy metric too.

Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
Taken from https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/types/pod_update.go
Adds the  required functions and related code to check if a pod is a static pod

Signed-off-by: Ben Pickard <bpickard@redhat.com>

Correct START and END comment

Signed-off-by: Ben Pickard <bpickard@redhat.com>
When a user creates a static pod on a running cluster, it will get stuck
in containerCreating due to this check. The uid on the pod will not
match the UID on mirror pod in the apiserver. We check the UID on the
pod in checkOrUpdatePodUID, and in the case we always exit early,
thinking that the pod was deleted and recreated, which we should not do
here. We can ignore this check for static pods

The OVN controller will not bind the ovs port if the iface-id-ver from
the node does not match what we expect in master. This introduces logic
to check if pod is static, then uses the UID in the pods metadata
instead of the UID in the interface, which will not match what the
apiserver has in the case of static pods

Signed-off-by: Ben Pickard <bpickard@redhat.com>
add e2e multihoming tests for localnet network
Add e2e test for creating static pods on cluster

Signed-off-by: Ben Pickard <bpickard@redhat.com>
Node dpu test is currently mocking podNameSpaceLister incorrectly.
podNameSpaceLister is expecting a pointer to a pod, not a real pod
object. This fix corrects this

Signed-off-by: Ben Pickard <bpickard@redhat.com>
Add performance metrics for initial sync and netpol
when the acl name is cropped. That happens when namespace name is
longer than 43 symbols.

Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
Add egress firewall external id to make name+externalIDs unique
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>
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>
@openshift-ci openshift-ci bot requested a review from jcaamano March 7, 2023 10:13
@npinaeva npinaeva changed the title [DownstreamMerge] 7 Mar 2023 OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023 Mar 7, 2023
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 7, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

  • expected the bug to target the "4.14.0" version, but it targets "4.13.0" 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:

no conflicts
/cc @jcaamano

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 7, 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 7, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@npinaeva: This pull request references Jira Issue OCPBUGS-8397, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

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.

tssurya and others added 2 commits March 7, 2023 12:56
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>
Fix syncEgressFirewall (truncate ACL names) and SetupMaster (stop recreating cluster-wide PGs)
@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/retitle OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023]

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/retitle OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023

@openshift-ci openshift-ci bot changed the title OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023 OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023] Mar 7, 2023
@openshift-ci openshift-ci bot changed the title OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023] OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023 Mar 7, 2023
@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/jira-refresh

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@tssurya: This pull request references Jira Issue OCPBUGS-8397, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @anuragthehatter

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

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.

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/retitle OCPBUGS-8464,OCPBUGS-8222,OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023

@openshift-ci openshift-ci bot changed the title OCPBUGS-8464, OCPBUGS-8222, OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023 OCPBUGS-8464,OCPBUGS-8222,OCPBUGS-8397: [DownstreamMerge] 7 Mar 2023 Mar 7, 2023
@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/jira refresh

@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@tssurya: Jira Issue OCPBUGS-8222 is in a security level that is not in the allowed security levels for this repo.
Allowed security levels for this repo are:

  • Red Hat Employee
  • default
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.

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/jira refresh

@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

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

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @anuragthehatter

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

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

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @anuragthehatter

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

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

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @anuragthehatter

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

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.

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

/cc @anuragthehatter

For verifying https://issues.redhat.com/browse/OCPBUGS-8222; Let's ensure we test fresh installs and upgrades.

@npinaeva
Copy link
Copy Markdown
Contributor Author

npinaeva commented Mar 7, 2023

/test all

@tssurya
Copy link
Copy Markdown
Contributor

tssurya commented Mar 7, 2023

LGTM.
waiting on CI.

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 7, 2023

/retest

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 7, 2023

/approve

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

openshift-ci bot commented Mar 8, 2023

@npinaeva: The following test 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 125d8e9 link false /test e2e-vsphere-ovn

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.

@dcbw
Copy link
Copy Markdown
Contributor

dcbw commented Mar 8, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 8, 2023
@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, 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-merge-robot openshift-merge-robot merged commit ed01730 into openshift:master Mar 8, 2023
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

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

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

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

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

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

Details

In response to this:

no conflicts
/cc @jcaamano

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.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants