Skip to content

Comments

[DownstreamMerge] Bug 2026461: 4-4-22 merge#1010

Merged
openshift-merge-robot merged 42 commits intoopenshift:masterfrom
trozet:merge-3-24-22
Apr 6, 2022
Merged

[DownstreamMerge] Bug 2026461: 4-4-22 merge#1010
openshift-merge-robot merged 42 commits intoopenshift:masterfrom
trozet:merge-3-24-22

Conversation

@trozet
Copy link
Contributor

@trozet trozet commented Mar 24, 2022

Includes retry pod deletion
Removing completed pods

@tssurya PTAL

andreaskaris and others added 15 commits March 18, 2022 14:01
Introduce /retest-failed, /cancel, /help command.
The retest action now comments on pull requests when a rerun fails.

Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Github released the rerun-failed-jobs feature a couple of days
ago. Reverts commit 73eedd3
partially minus the go version bump and minus the useful cache for
the master image and rhe PR image. For everything else, use github's
built-in feature.

Signed-off-by: Andreas Karis <ak.karis@gmail.com>
Let's rename ovnNBLSPDel to delLSPOps since this
function no longer actually deletes anything and is
only returning the ops.

Also change the logic a bit:
1) Validate LSP first. Get the LSP from ovsdb cache.
If the LSP doesn't exist, nothing to do, return nil.

2) Get the UUID of the logical switch from logical switch manager.
If this fails we know the switch must exist, because the LSP exists.
Check OVN cache. If the switch is now gone, then we know the LSP
must also be gone, return nil.

Finally if Switch was found and LSP was validated, send delete op.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Let's retry if deleteLogicalPort fails and
ensure we clean up lsp to avoid duplicate
lsp situations. In order to do this, let's
return the errors if deletion fails instead
of silently logging errors.

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
…lure

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Idea-Credit: Timothy Rozet<trozet@redhat.com>
…ests

Test "should have ipv4 and ipv6 node podCIDRs" was removed from e2e tests in kubernetes 1.23 (kubernetes/kubernetes#105079), so no need to skip it.

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
Bug 1996128: Remove test "should have ipv4 and ipv6 node podCIDRs" from disabled tests
This pull request is to delete the logicial ports associated with a pod when a
pods runs to completion. The intent of this change is to reduce the size of OVN
databases by removing entries that are no longer needed.

Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
Co-authored-by: Tim Rozet <trozet@redhat.com>
Get on port cache was returning the actual object in the cache instead
of a copy.

Signed-off-by: Tim Rozet <trozet@redhat.com>
With the update to deleteLogicalPort with pod completed status, there
are several other places in the code that could have stale applications
of the old pod IP. This commit modifies those to also remove the pod IP
from their usage during pod update. Additionally, other places in the
code rely on the logical port cache to get the portInfo. However, this
may be removed after deleteLogicalPort. Therefore remove getting the
logical port where IPs can be retrieved via the kapi pod object itself.

Main paths affected:
 - Network Policy: updating port groups and addr sets
 - Namespace exgw: get pod ips from pod object, not port cache
 - Egress IP: update pod handling for completed pod
 - Hybrid Overlay: update pod handling for completed pod

Signed-off-by: Tim Rozet <trozet@redhat.com>
There was a spot during pod update where if the update failed, we
wouldn't add a retry entry.

Signed-off-by: Tim Rozet <trozet@redhat.com>
…cceeded

Scalability: Delete logical ports for completed pods
Signed-off-by: Flavio Fernandes <flaviof@redhat.com>
@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium 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. labels Mar 24, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 24, 2022

@trozet: This pull request references Bugzilla bug 2026461, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

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

Requesting review from QA contact:
/cc @anuragthehatter

Details

In response to this:

[DownstreamMerge] Bug 2026461: 24-3-22 merge

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 24, 2022
@tssurya
Copy link
Contributor

tssurya commented Mar 25, 2022

/lgtm

@tssurya
Copy link
Contributor

tssurya commented Mar 25, 2022

/retest

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 25, 2022
tssurya added 2 commits March 25, 2022 13:47
Fixes the rebase glitch that happened in commit
ovn-kubernetes/ovn-kubernetes@51a4b09

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
Fixes the rebase glitch that happened in
ovn-kubernetes/ovn-kubernetes@ef85604#r69333487

Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
@trozet
Copy link
Contributor Author

trozet commented Mar 25, 2022

/retest

API token can expire and we should not rely only on the token itself.
If BearerTokenFile is provided it is periodically read and takes precedence over BearerToken.

Signed-off-by: Patryk Diak <pdiak@redhat.com>
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

8 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2022

@trozet: 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-openstack-ovn 7caaef7 link false /test e2e-openstack-ovn
ci/prow/e2e-azure-ovn 7caaef7 link false /test e2e-azure-ovn
ci/prow/e2e-vsphere-ovn 7caaef7 link false /test e2e-vsphere-ovn
ci/prow/e2e-vsphere-windows 7caaef7 link false /test e2e-vsphere-windows

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-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

13 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@trozet
Copy link
Contributor Author

trozet commented Apr 6, 2022

metal jobs are failing due to metal platform problems as well as this testcase:
openshift/origin#26975

/override ci/prow/e2e-metal-ipi-ovn-dualstack
/override ci/prow/e2e-metal-ipi-ovn-ipv6

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2022

@trozet: Overrode contexts on behalf of trozet: ci/prow/e2e-metal-ipi-ovn-dualstack, ci/prow/e2e-metal-ipi-ovn-ipv6

Details

In response to this:

metal jobs are failing due to metal platform problems as well as this testcase:
openshift/origin#26975

/override ci/prow/e2e-metal-ipi-ovn-dualstack
/override ci/prow/e2e-metal-ipi-ovn-ipv6

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-merge-robot openshift-merge-robot merged commit b25215b into openshift:master Apr 6, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2022

@trozet: All pull requests linked via external trackers have merged:

Bugzilla bug 2026461 has been moved to the MODIFIED state.

Details

In response to this:

[DownstreamMerge] Bug 2026461: 4-4-22 merge

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.

deads2k added a commit to deads2k/ovn-kubernetes that referenced this pull request May 2, 2022
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/severity-medium Referenced Bugzilla bug's severity is medium 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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.